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, 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