[linux-lvm] Insufficient suitable allocatable extents for logical volume

Ron Johnson ron.l.johnson at cox.net
Sun Apr 24 16:09:27 UTC 2011


Why does this happen?  I think it has something to do with the fact that 
I set the lv to striped.

TIA,
Ron

# lvm version
   LVM version:     2.02.54(1) (2009-10-26)
   Library version: 1.02.39 (2009-10-26)
   Driver version:  4.17.0

(Yes, I know it's old.  Blame Ubuntu)

# 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


# 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


# 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

# 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

-- 
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749




More information about the linux-lvm mailing list