Remove existing filesystem, RAID, or partition signatures.
Section: Partitions and Labels
Erase old signatures
bash
bash
sudo wipefs -a /dev/sdbExplanation
Remove existing filesystem, RAID, or partition signatures.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Partitions and Labels
List filesystem or RAID signatures
See what signatures exist before repurposing a disk.
List partition tables
Show disks, sector sizes, partition tables, and partitions.
Edit a disk with fdisk
Interactive MBR/GPT partitioning for a specific disk.
Print partition layout with parted
Display partition table details using parted.