February 10, 200917 yr Is there an easy way to add a secure hard drive eraser to unraid? I've looked at shred but it's not included and I can't find a package for it. Any suggestions besides using a boot disk? Thanks Erik
February 10, 200917 yr There is a script that Joe L. has created here. If you do not assign the drive you can run this script on the drive and it will write 0's to the drive, as many times as you like. I have used it on a three pass cycle to burn in new disks and it should be more then enough to secure erase a HD.
February 11, 200917 yr Author I've used that but I wasn't sure if just writing zero's would be enough.
February 11, 200917 yr I've used that but I wasn't sure if just writing zero's would be enough. Do enough passes on the HD and you will be fine. I'm not sure how secure you want it but i would say 3-5 would be pretty good.
February 11, 200917 yr I read recently that the ability to recover data that had been overwritten even once was highly overrated.
February 11, 200917 yr I believe this is a definitive thread on this subject, especially see BubbaQ's statements here.
February 12, 200917 yr Author Thanks for the links and info. With that I searched google and found the following. DO NOT USE IF YOU DON'T KNOW WHAT DRIVE YOU'RE DEALING WITH. THE FOLLOWING WILL DELETE ALL YOUR DATA. You can replace the 2 with the number of passes you want to accomplish. I think even just one pass would be a good deterrent. Also the sdX X=your sata drive assignment. If you have IDE drives they'd be hdX. AGAIN DON'T USE UNLESS POSITIVE ABOUT THE DRIVE YOU ARE ABOUT TO ERASE for (( i = 0;i<2;i++ )); do dd if=/dev/urandom of=/dev/sdX && dd if=/dev/zero of=/dev/sdX done One last disclaimer use at your own risk. The for loop will wipe your drive!!!
February 12, 200917 yr Thanks for the links and info. With that I searched google and found the following. DO NOT USE IF YOU DON'T KNOW WHAT DRIVE YOU'RE DEALING WITH. THE FOLLOWING WILL DELETE ALL YOUR DATA. You can replace the 2 with the number of passes you want to accomplish. I think even just one pass would be a good deterrent. Also the sdX X=your sata drive assignment. If you have IDE drives they'd be hdX. AGAIN DON'T USE UNLESS POSITIVE ABOUT THE DRIVE YOU ARE ABOUT TO ERASE for (( i = 0;i<2;i++ )); do dd if=/dev/urandom of=/dev/sdX && dd if=/dev/zero of=/dev/sdX done One last disclaimer use at your own risk. The for loop will wipe your drive!!! Good job finding this. I am not exactly sure how Joe L.'s preclear script works but i assume it does something very similar to this. The one things Joe's script does is make sure that you do not clear a disk that is assigned in your array. This in and of itself would lead me to use it instead of the above code.
February 12, 200917 yr Author Good job finding this. I am not exactly sure how Joe L.'s preclear script works but i assume it does something very similar to this. The one things Joe's script does is make sure that you do not clear a disk that is assigned in your array. This in and of itself would lead me to use it instead of the above code. True but I'm not sure if Joe's script will write to the mbr or not and it only does zero's which some say is fine others say you should do a random pattern as well. This will do both.
Archived
This topic is now archived and is closed to further replies.