[CentOS] erasing a disk

Mon Sep 14 20:30:33 UTC 2020
Gordon Messmer <gordon.messmer at gmail.com>

On 9/14/20 1:14 PM, david wrote:
> I've tried erasing the first megabyte of the disk, but there are ZFS 
> or LVM structures that get in the way.  So, does anyone have an 
> efficient way to erase structures from a disk such that it can be reused? 


Use "wipefs -a" on any partition (or raw disk) before reusing it.