Line 79: |
Line 79: |
| Additional tips from http://forums.contribs.org/index.php?topic=39892.0 | | Additional tips from http://forums.contribs.org/index.php?topic=39892.0 |
| which refers to http://forums.contribs.org/index.php?topic=37686.0 | | which refers to http://forums.contribs.org/index.php?topic=37686.0 |
− |
| |
− | The original disk will not mount due to volume group name conflicts with the existing drive(s).
| |
− | Follow this procedure to rename the volume group on the original disk:
| |
− |
| |
− | Boot from SME Server 7.1 (or newer) install CD
| |
− |
| |
− | press F5
| |
− |
| |
− | 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
| |
− |
| |
− | 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
| |
− |
| |
− | Follow the steps listed above to use CopyFromDisk to restore the data.
| |
− |
| |
| | | |
| To understand more of the background of LVM and RAID data recovery, read this: | | To understand more of the background of LVM and RAID data recovery, read this: |
| | | |
| http://www.linuxjournal.com/article/8874 | | http://www.linuxjournal.com/article/8874 |
− |
| |
| | | |
| === Moving from SME 7.x to SME 8 === | | === Moving from SME 7.x to SME 8 === |