Insufficient suitable allocatable extents, even though they do exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lvm2
I have a vg with 238464 free PEs. Yet, any attempt to extend it returns the above error message.
# lvm version
LVM version: 2.02.54(1) (2009-10-26)
Library version: 1.02.39 (2009-10-26)
Driver version: 4.17.0
# vgdisplay data_vg
--- Volume group ---
VG Name data_vg
System ID
Format lvm2
Metadata Areas 12
Metadata Sequence No 6
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 12
Act PV 12
VG Size 5.46 TiB
PE Size 8.00 MiB
Total PE 715392
Alloc PE / Size 476928 / 3.64 TiB
Free PE / Size 238464 / 1.82 TiB
VG UUID NPgp1H-
root@haggis:~# lvextend -v -l+100%FREE data_vg/data_lv
Finding volume group data_vg
Using stripesize of last segment 8.00 MiB
Archiving volume group "data_vg" metadata (seqno 6).
Extending logical volume data_lv to 5.46 TiB
Insufficient suitable allocatable extents for logical volume data_lv: 238464 more required
root@haggis:~# lvextend -v -l+50%FREE data_vg/data_lv
Finding volume group data_vg
Using stripesize of last segment 8.00 MiB
Archiving volume group "data_vg" metadata (seqno 6).
Extending logical volume data_lv to 4.55 TiB
Insufficient suitable allocatable extents for logical volume data_lv: 119232 more required
root@haggis:~# lvextend -v -l+10%FREE data_vg/data_lv
Finding volume group data_vg
Using stripesize of last segment 8.00 MiB
Rounding size (500774 extents) down to stripe boundary size for segment (500768 extents)
Archiving volume group "data_vg" metadata (seqno 6).
Extending logical volume data_lv to 3.82 TiB
Insufficient suitable allocatable extents for logical volume data_lv: 23840 more required
Status changed to 'Confirmed' because the bug affects multiple users.