Changes

From SME Server
Jump to navigationJump to search
319 bytes added ,  02:27, 25 January 2012
Correcting the SME7 to SME8 procedure to show how to use SME 8 CD for VG name change.
Line 131: Line 131:       −
It would appear that you cannot rename the VolumeGroup on a SME 7 installation with the SME 8 CD
+
With SME 8 being based on CentOS 5, assembling the RAID in rescue mode must be specified using the disk's UUID. If you have the SME 7 CD it will be easier to rename the Volume Group using it per the instructions below. Otherwise use the SME 8 procedure.
    
{{Note box|Before you start,  It might be worth fscking the disk/s to ensure that there are no errors.}}
 
{{Note box|Before you start,  It might be worth fscking the disk/s to ensure that there are no errors.}}
Line 137: Line 137:  
# Make sure you have a very good backup
 
# Make sure you have a very good backup
 
# signal-event pre-backup on the old installation
 
# signal-event pre-backup on the old installation
# Boot with a SME7 CD and only one of your original disks (in the case of a RAID1 arrangement)
+
# Boot with a SME7 CD or SME 8 CD and only one of your original disks (in the case of a RAID1 arrangement)
 
# As per instructions in "Boot from SME Server 7.1 (or newer) install CD" above :
 
# As per instructions in "Boot from SME Server 7.1 (or newer) install CD" above :
   Line 144: Line 144:  
Note: don't start the network and skip mounting the filesystem.
 
Note: don't start the network and skip mounting the filesystem.
    +
If using SME 7 CD
 
  mdadm -AR /dev/md5 /dev/hdx2
 
  mdadm -AR /dev/md5 /dev/hdx2
 +
 +
If using SME 8 CD
 +
mdadm --examine /dev/sda# | grep 'UUID'
 +
mdadm -AR --uuid '''the:uuid:value:from:above''' /dev/md5
 +
 +
Next Steps
 
  lvm vgscan
 
  lvm vgscan
 
  lvm vgs -v
 
  lvm vgs -v
Line 150: Line 157:  
  lvm vgrename orig_vg_name new_vg_name
 
  lvm vgrename orig_vg_name new_vg_name
 
  exit
 
  exit
 +
    
Now remove the CD and reboot into SME 8 :
 
Now remove the CD and reboot into SME 8 :
147

edits

Navigation menu