Commands such as 'lvextend' fail with 'Insufficient free space' errors, despite the VG containing enough free space for the operation.

Solution Verified - Updated -

Issue

  • When creating or extending an LV, the operation fails with Insufficient free space errors, even though the VG and its PVs report a VFree value that should be large enough for the operation:
# pvs
  PV        VG       Fmt   Attr  PSize    PFree
  /dev/sdX  VG_NAME  lvm2  u--    4.00t  512.00g

# vgs
  VG           #PV #LV #SN Attr   VSize    VFree
  VG_NAME        1   1   0 wz--n-    4.00t  512.00g

# lvextend -L +500G /dev/VG_NAME/LV_NAME -r
  Insufficient free space: 128000 extents needed, but only 0 available

Environment

  • Red Hat Enterprise Linux
  • LVM2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content