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


Groups > linux.debian.maint.boot > #71227 > unrolled thread

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

Started byHolger Wansing <hwansing@mailbox.org>
First post2023-07-28 11:00 +0200
Last post2023-07-29 19:50 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.maint.boot


Contents

  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
    Bug#1042437: marked as done (partman-auto-lvm: using binary units  for size of volume group does not work correctly) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-07-29 19:50 +0200

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

FromHolger Wansing <hwansing@mailbox.org>
Date2023-07-28 11:00 +0200
SubjectBug#1042437: partman-auto-lvm: using binary units for size of volume group does not work correctly
Message-ID<GWruh-3kGG-17@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#71229

FromPascal Hambourg <pascal@plouf.fr.eu.org>
Date2023-07-28 12:00 +0200
Message-ID<GWsql-3lfx-9@gated-at.bofh.it>
In reply to#71227
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.

[toc] | [prev] | [next] | [standalone]


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

FromHolger Wansing <hwansing@mailbox.org>
Date2023-07-29 19:50 +0200
SubjectRe: Bug#1042437: partman-auto-lvm: using binary units for size of volume group does not work correctly
Message-ID<GWWeJ-3DMI-5@gated-at.bofh.it>
In reply to#71229
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

[toc] | [prev] | [next] | [standalone]


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

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2023-07-29 19:50 +0200
SubjectBug#1042437: marked as done (partman-auto-lvm: using binary units for size of volume group does not work correctly)
Message-ID<GWWeJ-3DMI-3@gated-at.bofh.it>
In reply to#71227

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.boot


csiph-web