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

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



Your message dated Sat, 29 Jul 2023 19:43:13 +0200
with message-id <[🔎] 20230729194313.ce308926f051cc388129e8e5@mailbox.org>
and subject line Re: Bug#1042437: partman-auto-lvm: using binary units for size of volume group does not work correctly
has caused the Debian Bug report #1042437,
regarding partman-auto-lvm: using binary units for size of volume group does not work correctly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1042437: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042437
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: partman-auto-lvm
Severity: normal


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.

Using the manual way of configuring (so not guided partitioning, but manual),
it works correctly.


Holger



-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

--- End Message ---
--- Begin Message ---
Hi,

Pascal Hambourg <pascal@plouf.fr.eu.org> wrote (Fri, 28 Jul 2023 11:49:35 +0200):
> > 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.

Yes, I use that dialog.

> 2) How do you see the VG size ?

It is displayed in the next dialog (partition overview screen).

> 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.

I wasn't aware of that concept, that the value I enter gets divided into
several volume groups (here: root and swap).
But that of course makes sense. 
(I don't use LVM usually, so no experience with it; I just did a test 
regarding to bug#684128 "src:debian-installer: allow use of binary units in
disk partitioner").


Sorry for the noise, my fault.
Closing this bug


Holger


-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

--- End Message ---

Reply to: