recent lvm.conf change in ubuntu/lucid breaks FAI setup-storage
Waldemar Brodkorb
fai at waldemar-brodkorb.de
Wed Mar 3 08:16:30 CET 2010
Hi Michael,
Michael Tautschnig wrote,
> > 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.
Where can I find the sources to the experimental binary debs? I
haven't seen any branch in the subversion repository nor a deb-src
line works for me. I just want to do some changes on top of the
experimental stuff. (squashfs images as config space)
bye
Waldemar
More information about the linux-fai-devel
mailing list