erikatcuse Posted February 10, 2009 Share Posted February 10, 2009 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 Link to comment
prostuff1 Posted February 10, 2009 Share Posted February 10, 2009 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. Link to comment
erikatcuse Posted February 11, 2009 Author Share Posted February 11, 2009 I've used that but I wasn't sure if just writing zero's would be enough. Link to comment
prostuff1 Posted February 11, 2009 Share Posted February 11, 2009 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. Link to comment
SSD Posted February 11, 2009 Share Posted February 11, 2009 I read recently that the ability to recover data that had been overwritten even once was highly overrated. Link to comment
RobJ Posted February 11, 2009 Share Posted February 11, 2009 I believe this is a definitive thread on this subject, especially see BubbaQ's statements here. Link to comment
erikatcuse Posted February 12, 2009 Author Share Posted February 12, 2009 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!!! Link to comment
prostuff1 Posted February 12, 2009 Share Posted February 12, 2009 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. Link to comment
erikatcuse Posted February 12, 2009 Author Share Posted February 12, 2009 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. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.