[linux-lvm] disk recovery - mounting external USB lvm2 volume

Brian McCullough bdmc at bdmcc-us.com
Tue Jul 17 03:12:15 UTC 2007


On Mon, Jul 16, 2007 at 09:28:01PM -0500, Allan Wolfe wrote:
> Thanks Brian.  This is starting to make sense.  The Fedora 7 and the old FC6
> both are named the defaults.  Here is the result from the vgchange:
> 
> $ sudo vgchange -a y
>  2 logical volume(s) in volume group "VolGroup00" now active
>  2 logical volume(s) in volume group "VolGroup00" now active
> 
> Digging around in the man pages, it looks to me as though I will need to
> rename the active/current volume using vgrename command, change the
> /etc/fstab to the new name and then follow on with mounting the old volume
> using the old default volume.
> 
> Am I on the right track?  Thanks for your help.

Yes, you are.  However, I recommend that you plan every step carefully,
so that you don't wind up with an unbootable system.  Make sure that you
have renamed the "local" LVM volumes, the fstab entries and anything
that might depend on those names. ( some things can break, but you had
better make sure that you can boot -- by the way, what do the entries in
grub.conf refer to? )



Brian





More information about the linux-lvm mailing list