Public bug reported:

It will create a default LV named lvol0,
when executing 'lvcreate -T -L <lv_size> --poolmetadatasize <pool_metadata_size 
>' 
and the sum of lv_size and pool_metadata_size larger than vg_size.

I think it no use to create a LV named lvol0 when insufficient error
occurred.

=====================================================================================
$vgs
VG       #PV #LV #SN Attr   VSize VFree
test-vg1   1   0   0 wz--n- 5.00g 5.00g

$lvcreate -T -L 4864m --poolmetadatasize 1024 test-vg1/shy-test-pool1
Volume group "test-vg1" has insufficient free space (1023 extents): 1216 
required.

$lvs -a
LV    VG       Attr       LSize Pool Origin Data%  Meta%  Move Log Cpy%Sync 
Convert
lvol0 test-vg1 -wi------- 1.00g

** Affects: lvm2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1871317

Title:
  When vg insufficient lv:lvol0 will crearte by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1871317/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to