Reverting Partitioned Disk /dev/sdX to a Raw State

Solution Verified - Updated -

Issue

  • The disk /dev/sdf, originally intended to be left as a raw unpartitioned disk, was mistakenly partitioned and mounted on /docker. The current requirement is to undo this setup and return the disk to an unpartitioned, unmounted (raw) state.

Environment

  • Red Hat Enterprise Linux 7 / 8 / 9

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