Used Drives, Cannot remove old RAID

Flashoveride

Cadet
Joined
Nov 4, 2022
Messages
1
I am having an issue involving used hard drives when attempting to create a new pool. These drives were used in a data center and have older partitions/RAID configurations. To get them to a clean state where TrueNAS can create a new ZFS pool, I am having difficulty removing some of the older hardware RAID partitions. I have cleaned the rest of the drives using parted, but there are lingering issues with 4 of the 12 drives.

1667597645463.png


I cannot figure out a way to remove the "raid0" portion to make the drives usable. There are a ton of different things I have found online, but some of them (such as dmraid) are not available, and I am unsure if "dd" will fix the issue.

Hardware:
CPU: Intel 12700K
Motherboard: Gigabyte Z690 AORUS MASTER EATX
RAM: Corsair Vengeance 128GB (4 x 32GB) DDR5 5200
NVMe Boot: Western Digital 250GB SN770 NVMe
NVMe Storage: Western Digital 2TB SN350 NVMe x 3
HBA: LSI 9201-16i
HDD: HGST 12TB SATA 7200RPM x 12
PS: Corsair RM1000x
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
You can use 'dd' to wipe the entire drive with zero's or any pattern you desire, or even use badblock and write one pattern pass. That should take care of it. But normally all you need to do is wipe the first few thousand sectors and the last few thousand sectors of the drive to wipe the raid information.
 
Top