Insufficient suitable allocatable extents, even though they do exist

Bug #769930 reported by Ron Johnson
16
This bug affects 3 people
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-6kkG-c4wL-KNyT-AVoh-Frlb-4nvfiT

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lvm2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Tamas Papp (tompos) wrote :

The same here with iscsi drives.
Works fine with the switch '-i1' at least with '--test'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.