pvresize fails with cannot resize to extents as later ones are allocated message.

Solution Verified - Updated -

Issue

  • We are trying to shrink an existing volume group and use that space to add new VG.

    pvresize command throw below errors :

$ pvresize --setphysicalvolumesize 239.24G /dev/sda3
  /dev/sda3: cannot resize to 1913 extents as later ones are allocated.
  0 physical volume(s) resized / 1 physical volume(s) not resized

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • Logical Volume Manager (LVM) 2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.