Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1156327

Bug#1042437: partman-auto-lvm: using binary units for size of volume group does not work correctly

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.boot
Subject Bug#1042437: partman-auto-lvm: using binary units for size of volume group does not work correctly
Date 2023-07-28 12:00 +0200
Message-ID <GWsql-3lfx-9@gated-at.bofh.it> (permalink)
References <GWruh-3kGG-17@gated-at.bofh.it> <GWruh-3kGG-17@gated-at.bofh.it>
Organization Plouf !

Cross-posted to 2 groups.

Show all headers | View raw


Hello Holger,

On 28/07/2023 at 10:48, Holger Wansing wrote:
> 
> With a bookworm 12.0 netinst image:
> when choosing guided partitioning -> set up LVM, it is now allowed to use
> binary units for volume group size (MiB, GiB, ...), but the size is wrongly
> calculated.
> For example, if I choose a volume group of 12 GiB, I get one with 11,9 GB, but
> it should be roughly 12,9 GB.

1) How do you choose the VG size ? AFAICS, the only possible choice is 
to restrict the VG use to a given size or percentage.

2) How do you see the VG size ?

I tested guided LVM with all in one partition and restrict the VG used 
size to 12 GiB and I get a root LV of 11.9 GB and a swap LV of 1 GB, so 
a total use of 12.9 GB as expected. vgs shows 12 GiB used.

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1042437: partman-auto-lvm: using binary units for size of volume group does not work correctly Holger Wansing <hwansing@mailbox.org> - 2023-07-28 11:00 +0200
  Bug#1042437: partman-auto-lvm: using binary units for size of volume group does not work correctly Pascal Hambourg <pascal@plouf.fr.eu.org> - 2023-07-28 12:00 +0200
    Re: Bug#1042437: partman-auto-lvm: using binary units for size of  volume group does not work correctly Holger Wansing <hwansing@mailbox.org> - 2023-07-29 19:50 +0200

csiph-web