ORIGINAL QUESTION:
We have servers which we want to wipe and sell due to an environmentally friendly scheme, recycling, reducing carbon footprint etc. The servers have a raid configuration.
After doing some research, I am thinking of doing the following:
- Use a Linux Live CD to boot into server
- Use a strong password
date +%s | sha256sum | base64 | head -c 32 ; echo
and do a full disk encryption - Wipe the raid configuration using
dd if=/dev/zero of =/dev/cciss/c0d0 bs=1M
,dd if=/dev/random of =/dev/cciss/c0d0 bs=1M
,dd if=/dev/zero of =/dev/cciss/c0d0 bs=1M
- Wipe the HPA using
hdparm -N /dev/cciss/c0d0
, hdparm -N p[value goes here] /dev/cciss/c0d0 - Wipe the DCO using
hdparm --dco-identify /dev/cciss/c0d0
,hdparm --dco-restore /dev/cciss/c0d0
,hdparm --yes-i-know-what-i-am-doing --dco-restore /dev/cciss/c0d0
- Bad sectors?
sudo badblocks -n /dev/cciss/c0d0
Too little, okay, overkill?
The servers have sensitive data which must never be viewed by anyone.
Also, do I need to consider anything else, like wiping the RAM or any other possible area on the server where residue may be left?
UPDATE 1:
All disks are magnetic 2.5" scsi disks.
date +%s | sha256sum | base64 | head -c 32 ; echo
is not a strong password.base64 < /dev/urandom | head -c 32; echo
is a strong password.dd if=/dev/random
- LOL. Hope you're not in a hurry.