Completely format server for selling on ebay
I have a ProLiant server that has Windows Server 2003 on it, on a hardware RAID 5 setup. The machine is taking up a lot of space. I want to completely wipe the drives of all data, operating system, etc., and sell the machine.
How would you recommend wiping the server?
Either sell the server without disks or initialize the RAID array from the BIOS-based HP/Compaq RAID utility...
By that, I mean, delete the existing array, reorder the disks, and reinitialize the array as something like RAID 0 or RAID 5. That should be good enough for what you're doing.
The server has a RAID controller, and some of the recommended tools like DBaN will not recognize the Smart Array RAID configuration easily or without modification (see here and here).
The disks should be unbound from the RAID and individually wiped. Anything else requires confidence in the RAID controller's pattern of writing, and they're often "too smart".
You will definitely want to do something to actively erase the drives before selling them. Simply deleting the logical volumes isn't sufficient. There are troubleshooting scenarios in the HP documentation which indicate that you can sometimes recover from an accidentally-deleted logical volume by re-creating it using the exact same configuration parameters. If nothing had modified the data on the platter yet, then the data from the old volume could be readable. It's unlikely that the purchaser of your system would set up a volume that happened to have the exact same configuration as yours, but it's still a real possibility that isn't worth risking (IMO).
If you bought the Smart Array Advanced Pack for your system (and if it's a G5 or newer), you will have access to a feature called "HP Drive Erase" that's designed for this very scenario. The controller will erase your drives by overwriting the data with random data patterns and with zeroes (you can select how many passes to make) and will optionally delete your volumes once it completes. This is probably the easiest way to go, although it's not necessarily the fastest.
If your particular drive model supports it, you can use the "Secure Erase" ATA command to instruct your disks to erase themselves (similar method via DOS instead of Linux). This is my favorite method because it is extremely thorough and relatively fast (it can be near-instantaneous on some SSDs). The downside is that there are still some older drives out there that don't support this command. If you go this route, delete your logical volumes before starting the erase operation.