setup-storage & preserve_lazy on LVM

Mathieu Alorent malorent at echo.fr
Tue Mar 29 13:48:39 CEST 2011


Hi,

[...]

Le mardi 29 mars 2011 à 10:54 +0100, Michael Tautschnig a écrit :
> I've found this one:
> 
> https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/133905
> 
> It seems that Ubuntu devs are pretty fond of their extra changes,
> making volume
> groups start as volumes appear via some udev magic. It's a
> Ubuntu-specific
> change as outlined in
> 
> https://launchpad.net/ubuntu/+source/lvm2/+changelog
> 
> I have no idea why they insist in doing that. After all, Debian people
> seem to
> get away fine without such nasty auto-run-volume-group stuff. If you
> need a
> quick fix, I'd suggest going for a Debian NFSROOT :-) Well, no, it's
> even
> easier:
> 
> cd $NFSROOT ; rm lib/udev/rules.d/85-lvm2.rules

Very good point!

I've tried to dpkg-divert 85-lvm2.rules and now all work as expected !!!

> 
> I'm seriously considering a simple diversion of that file while
> setup-storage is
> running. I don't think brute-force repeated vgchange calls would be a
> viable
> solution. 

Sounds good, it will prevent some other unwanted behaviour in the
future.

Thanks a lot!

Best Regards
Mât
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5063 bytes
Desc: not available
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20110329/f3741c28/attachment.bin>


More information about the linux-fai mailing list