recent lvm.conf change in ubuntu/lucid breaks FAI setup-storage

Michael Tautschnig mt at debian.org
Tue Mar 2 23:35:56 CET 2010


> Hi FAI Developers,
> 
> recently Ubuntu changed the default lvm.conf file, they now use
> following:
> -----
>     # Since version 2.02.54, the tools distinguish between powers of
>     # 1024 bytes (e.g. KiB, MiB, GiB) and powers of 1000 bytes (e.g.
>     # KB, MB, GB).
>     # If you have scripts that depend on the old behaviour, set this to 0
>     # temporarily until you update them.
>     si_unit_consistency = 1
> -----
> 
> This breaks setup-storage. Attached patch fixed it for me.
> But I think it will be semantical incorrect if someone uses new
> lvm-tools with si_unit_consistency equal 0.
> 
> Any idea for a better fix?
> 

[...]

This has already been fixed in the experimental builds, see also

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568794

The patch does more or less what you proposed to change; I just tried to make it
slightly easier later on to also distinguish GiB/GB once also parted and all the
other tools go for correct units handling.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20100302/a0681eb9/attachment.bin 


More information about the linux-fai-devel mailing list