Reverting Partitioned Disk /dev/sdX to a Raw State
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.