Solved: [linux-lvm] LVM2 on a USB-disk/ same VG name

Axel Braun axel.braun at gmx.de
Tue Mar 14 07:44:28 UTC 2006


Hallo Heinz,

** Reply to message from Heinz Mauelshagen <mauelshagen at redhat.com> on Thu, 9
Mar 2006 14:31:01 +0100

> On Thu, Mar 09, 2006 at 01:55:36PM +0100, Axel Braun wrote:
> > Hello Heinz,
> > 
> > > vgrename the active one and adjust /etc/fstab appropriately.
> > > 'vgscan;vgchange -ay' should gain you access to the USB one then.
> > 
> > After deactivation I could change the name, but after the reboot the
> > dm-mapper was still looking for the old volume group 'system'. I tried to
> > boot the rescue system, maybe the inittab needed a refresh - but that did
> > not work.
> 
> Did you change /etc/fstab ?

The missing element was: Change settings for bootloader (/boot/grub/menu.lst)

The way it worked for me:
- change settings in /etc/fstab and /boot/grub/menu.lst
- boot the rescue system from CD (otherwise the volume groups are still active)
- do a vgrename / vgsan
- reboot

Cheers
Axel

-- 
Dr.-Ing. Axel K. Braun
Mobile: +49.173.7003.154
VoIP/Skype: axxite
 
To lead the people, walk behind them.
(Lao Tse)




More information about the linux-lvm mailing list