Neither 'pvs' nor 'pvdisplay' reflect the current size of an expanded whole disk

Solution Unverified - Updated -

Issue

  • After using the dd command to migrate data to another disk(such as /dev/sdb), how to extend the PV to use the whole device space.
  • For example:
    • The old disk has 10G, and the new one has 20G. After run dd command, the pv size which is on the is still 10G.

Environment

  • Red Hat Enterprise Linux 5
  • Physical Volume ( LVM )

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.