[linux-lvm] Re: Mounting a Partition Image of LM partition?

Rich Graves rgraves at carleton.edu
Sun Jun 29 03:28:45 UTC 2008


Michael D. Setzer II wrote:
> with info. I have a compressed disk image of the 250G drive, and also have 
> a compressed partition image of the partitions with the LVM partition. I
> was able to copy this partition to my home machine taking about 11 hours,
> and was able to uncompress the lzop image. I was then able to use losetup 
> /dev/loop0 to load the image, and pvscan then shows it, but it has the
> same name  as the regular LVM volumne on the machine. 

Well, that's relatively easy to fix. Pick a unique name for your home
system's volume group; change fstab and grub.conf; mkinitrd; boot from a
rescue CD; vgrename; cross your fingers; reboot. Then you ought to be able
to finish the job you started.

...and don't accept the default VolumeGroup00 name again.
-- 
Rich Graves http://claimid.com/rcgraves
Carleton.edu Sr UNIX and Security Admin
CMC135: 507-646-7079 Cell: 952-292-6529




More information about the linux-lvm mailing list