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


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

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

Path csiph.com!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod
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 Fri, 28 Jul 2023 12:00:01 +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>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Fri Jul 28 09:57:09 2023
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.96
Reply-To Pascal Hambourg <pascal@plouf.fr.eu.org>, 1042437@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Install System Team <debian-boot@lists.debian.org>
X-Debian-Pr-Message followup 1042437
X-Debian-Pr-Package partman-auto-lvm
X-Debian-Pr-Source partman-auto-lvm
MIME-Version 1.0
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0
Content-Language en-US
Organization Plouf !
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Greylist delayed 303 seconds by postgrey-1.36 at buxtehude; Fri, 28 Jul 2023 09:55:01 UTC
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1783208
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 19
Sender robomod@news.nic.it
X-Original-Date Fri, 28 Jul 2023 11:49:35 +0200
X-Original-Message-ID <4cf363dc-6b55-b397-0c26-069c7598775e@plouf.fr.eu.org>
X-Original-References <20230728104839.8778edf25bece8de24de1b48@mailbox.org> <20230728104839.8778edf25bece8de24de1b48@mailbox.org>
Xref csiph.com linux.debian.bugs.dist:1156327 linux.debian.maint.boot:71229

Cross-posted to 2 groups.

Show key headers only | 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.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