[Bug 1871317] [NEW] When vg insufficient lv:lvol0 will crearte by default
HYSong
1871317 at bugs.launchpad.net
Tue Apr 7 08:01:09 UTC 2020
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
Foundations Bugs, 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
More information about the foundations-bugs
mailing list