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

Bug#739855: partman-lvm: Irreproducible metadata size



st <st@e-head.net> (2014-02-25):
> Wouter Verhelst wrote:
> 
> >> The problem seems to be that partman-lvm created PVs with only
> >>195584 units-used-by-pvck allocated for metadata. However, there
> >>is no way to create PVs with less than 1047552 units-used-by-pvck
> >>with the standard pvcreate.
> >
> >Not true, as partman-lvm uses the standard pvcreate. The exact call is in
> >[partman-lvm]/lib/lvm-base.sh
> 
> grep pvcreate lib/lvm-base.sh
>         log-output -t partman-lvm pvcreate -ff -y "$pv"
> 
> root@hulk:~# pvcreate -ff -y /dev/sdb1
>   Writing physical volume data to disk "/dev/sdb1"
>   Physical volume "/dev/sdb1" successfully created
> root@hulk:~# pvck /dev/sdb1
>   Found label on /dev/sdb1, sector 1, type=LVM2 001
>   Found text metadata area: offset=4096, size=1047552
>                                          ^^^^^^^^^^^^
> True or not, it happens, and is highly reproducible.

I'm getting this inside d-i, built against udebs from unstable:

~ # pvck /dev/sda5
  Found label on /dev/sda5, sector 1, type=LVM2 001
  Found text metadata area: offset=4096, size=1044480

(i.e.: I'm not able to reproduce here; but I've got no 3TB things)

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: