On 11/10/05, Kyek, Andreas, VF-DE <A.Kyek@vodafone.com> wrote:
Yu Safin wrote:
I have a problem doing a restore of an LVM. I have an LVM with one Logical Volume and three disks (physical) mounted on /original. I did a backup of the three disks (dd) and now I need to restore but instead of restoring to the original LVM mount point (/original), I want to restore to a new mount point (/backup).
??? a dd Backup/Restore works on _physical_ devices (HDs, partitions, etc). It does not work on logical stuff like "mountpoints". OK, I understand this.
Just Restore your three disks with dd which is what I did but to different 3 disk. However, I don't want to restore to the /original mount point, I am trying to keep my existing /original and restore to a new /restore location (on the new 3 disks). Then try to rescan your volume group. If your LV can be found, mount it whereever you want. For some reason when I go through the pvcreate, vgcreate, lvcreate, lvdisplay everything is fine. Then I do a "mkdir /restore" and when I follow it with the mount, it complains that I have to do a "mke2fs -j /---new---LVM". But if I do that, then the mount works but the data from my original LVM is not there. I have done a few restores trying to figure out how to get around this problem. My restores take about 3 hours.
Andreas
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org