Performed fdisk change on the wrong disk with LVM and need to undo the changes

Solution Verified - Updated -

Issue

  • Ran fdisk on the wrong device and created a partition, where previously there was no partitions.
  • The device in question was part of a logical volume.
  • The command vgs now produces an error.

Environment

  • Red Hat Enterprise Linux 6

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