[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#411943: partman-lvm: size of new LVs must be given in multiple of 1024 instead of 1000



On Sun, Jul 20, 2008 at 01:13:22PM +0200, Frans Pop wrote:
> On Sunday 20 July 2008, Jérémy Bobbio wrote:
> > The attached patch should fix the issue.  Details in its header.
> 
> Doesn't this introduce an inconsistency between what is input and what is 
> displayed in the "Current LVM configuration" dialog?

No.  The units showed in the "Current LVM configuration" dialog are
retrieved by using the "--units M" flag of lvm tools.  The capital 'M'
here specify that the unit should be in S.I. units, same as the rest of
partman.

> I'm not sure that we should be fixing such minor issues at this point. 
> Especially when it's so easy to get things subtly wrong or introduce new 
> inconsistencies.

It's not exactly minor, IMHO: while creating a new Logical Volume, you
have to recalculate every other numbers by hand as all other components
of partman uses S.I units instead of binary units.

Cheers,
-- 
Jérémy Bobbio                        .''`. 
lunar@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature


Reply to: