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


Groups > linux.debian.maint.boot > #71238

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

From Holger Wansing <hwansing@mailbox.org>
Newsgroups linux.debian.maint.boot, linux.debian.bugs.dist
Subject Re: Bug#1042437: partman-auto-lvm: using binary units for size of volume group does not work correctly
Date 2023-07-29 19:50 +0200
Message-ID <GWWeJ-3DMI-5@gated-at.bofh.it> (permalink)
References <GWruh-3kGG-17@gated-at.bofh.it> <GWsql-3lfx-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to linux.debian.maint.boot | 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
  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

csiph-web