Line 115: |
Line 115: |
| | | |
| http://www.linuxjournal.com/article/8874 | | http://www.linuxjournal.com/article/8874 |
| + | |
| + | |
| + | === Moving from SME 7.x to SME 8 === |
| + | |
| + | {{Note box|Please note this information has not been thoroughly tested but may serve to assist - it worked for me but YMMV.}} |
| + | |
| + | |
| + | See this thread: |
| + | |
| + | http://forums.contribs.org/index.php/topic,46531.0.html |
| + | |
| + | and this Bug : |
| + | |
| + | http://bugs.contribs.org/show_bug.cgi?id=6195 |
| + | |
| + | |
| + | It would appear that you cannot rename the VolumeGroup on a SME 7 installation with the SME 8 CD |
| + | |
| + | {{Note box|Before you start, It might be worth fscking the disk/s to ensure that there are no errors.}} |
| + | |
| + | # Make sure you have a very good backup |
| + | # 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) |
| + | # As per instructions in "Boot from SME Server 7.1 (or newer) install CD" above : |
| + | |
| + | Type "sme rescue" at the command prompt and hit enter |
| + | |
| + | Note: don't start the network and skip mounting the filesystem. |
| + | |
| + | mdadm -AR /dev/md5 /dev/hdx2 |
| + | lvm vgscan |
| + | lvm vgs -v |
| + | lvm vgchange -a n |
| + | lvm vgrename orig_vg_name new_vg_name |
| + | exit |
| + | |
| + | Now remove the CD and reboot into SME 8 : |
| + | |
| + | mdadm -AR /dev/md5 /dev/hdx2 |
| + | vgscan |
| + | vgchange -a y new_vg_name |
| + | mkdir /mnt/tmp |
| + | mount /dev/new_vg_name/root /mnt/tmp |
| + | |
| + | {{Note box|In some rare cases your VolumeGroup name listed in the last line might be different, more information can be found in [[[[bugzilla: 3883]]]].}} |
| + | |
| + | You should now be able to view all your old data under /mnt/tmp |
| + | |
| + | |
| + | db configuration setprop backup Program CopyFromDisk status enabled |
| + | signal-event pre-restore |
| + | signal-event restore-tape /mnt/old (note: this step may take a long time depending on how much data is being restored |
| + | signal-event post-upgrade |
| + | signal-event reboot |
| + | |
| + | Shutdown and remove old drive and reboot |
| + | |
| + | All the usual warnings apply. Remember that any old contribs & templates will have to be reinstalled (assuming that they will work with V8) |
| | | |
| ---- | | ---- |
| [[Category:Howto]] | | [[Category:Howto]] |
| [[Category:Administration:Storage]] | | [[Category:Administration:Storage]] |