Author: Mark Johnson Date: To: lug, Hampshire LUG Discussion List Subject: Re: [Hampshire] LVM problems
On Friday 01 Oct 2010 18:09:28 Vic wrote: > The only real difficulty I've had here is if you have multiple VGs; the
> init script mentions the main VG by name, so additional ones aren't made
> active there, and nor is the main one if you change its name. I usually
> hand-modify the initrd to cope with this - but that's not a maintainable
> situation. zcat and cpio are your friends :-)
I went for the hand-modification in the end. I modified /etc/init.d/mountall.sh
to call vgscan and vgchange before it tries to mount anything. It's not
pretty, but it certainly works like a charm!