Re: [CentOS] erasing a disk

2020-09-14 Thread david
At 01:34 PM 9/14/2020, you wrote: what if you just dd the first 1GB of the disk and the last GB of the disk (the last because of RAID signatures of some controllers that write to the end of the disk) Look at this article and modify accordingly

Re: [CentOS] erasing a disk

2020-09-14 Thread John Pierce
I've never run into a system yet where using dd to write zeros on the first few megabytes didn't completely wipe the disk as far as the OS and existing file systems are concerned.. dd if=/dev/zero of=/dev/sde bs=65536 count=1024 ___ CentOS mailing list

Re: [CentOS] erasing a disk

2020-09-14 Thread david
At 02:36 PM 9/14/2020, you wrote: On 2020-09-14 16:52, Robert Heller wrote: At Mon, 14 Sep 2020 13:14:44 -0700 CentOS mailing list wrote: Folks I've encountered situations where I want to reuse a hard-drive. I do If it is a Seagate, don't bother. They have the highest failure rate in

Re: [CentOS] erasing a disk

2020-09-14 Thread mailist
On 2020-09-14 16:52, Robert Heller wrote: At Mon, 14 Sep 2020 13:14:44 -0700 CentOS mailing list wrote: Folks I've encountered situations where I want to reuse a hard-drive. I do If it is a Seagate, don't bother. They have the highest failure rate in the industry. Look at the SMART

Re: [CentOS] erasing a disk

2020-09-14 Thread Robert Heller
At Mon, 14 Sep 2020 13:14:44 -0700 CentOS mailing list wrote: > > Folks > > I've encountered situations where I want to reuse a hard-drive. I do > not want to preserve anything on the drive, and I'm not concerned > about 'securely erasing' old content. I just want to be able to > define

Re: [CentOS] erasing a disk

2020-09-14 Thread Erick Perez - Quadrian Enterprises
what if you just dd the first 1GB of the disk and the last GB of the disk (the last because of RAID signatures of some controllers that write to the end of the disk) Look at this article and modify accordingly

Re: [CentOS] erasing a disk

2020-09-14 Thread Jon Pruente
On Mon, Sep 14, 2020 at 3:18 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? > GPT for sure has backup metadata on

Re: [CentOS] erasing a disk

2020-09-14 Thread Gordon Messmer
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)

[CentOS] erasing a disk

2020-09-14 Thread david
Folks I've encountered situations where I want to reuse a hard-drive. I do not want to preserve anything on the drive, and I'm not concerned about 'securely erasing' old content. I just want to be able to define it as an Physical Volume (in a logical volume set), or make it a ZFS disk, or