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 Touch seeded packages, which is subscribed to lvm2 in Ubuntu. https://bugs.launchpad.net/bugs/1871317 Title: When vg insufficient lv:lvol0 will crearte by default Status in lvm2 package in Ubuntu: New Bug description: 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1871317/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp