tr9sh Asked: 2019-03-06 02:12:29 +0800 CST2019-03-06 02:12:29 +0800 CST 2019-03-06 02:12:29 +0800 CST How to wipe a RAID 5? 772 I want to wipe all data from a raid5 but continue using it afterwards. A single pass of overwriting would be enough. How can I do this? Would this wipe only the data, or also the raid superblock? dd if=/dev/zero of=/dev/md0p1 raid raid5 1 Answers Voted ppetraki 2019-03-19T06:52:50+08:002019-03-19T06:52:50+08:00 That would wipe it all. This might be a little faster: dd if=/dev/zero of=/dev/[DESTROY ME] bs=1M If you want to zap it with randomly generated data please see, https://superuser.com/questions/792427/creating-a-large-file-of-random-bytes-quickly
That would wipe it all. This might be a little faster:
If you want to zap it with randomly generated data please see, https://superuser.com/questions/792427/creating-a-large-file-of-random-bytes-quickly