Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I purchased a server about 6 months ago and it's been a huge learning experience. I'm now going to sell it - I've sold the sites that I was hosting on it. I'd like to sell it with formatted hard drives... what's the best way to do that? Is there anything else I need to do to it? I'm not storing any crazy personal information or anything on it.

It was running Ubuntu Server

share|improve this question

4 Answers 4

up vote 16 down vote accepted

What you might not think is crazy personal information still might be useful for somebody else. I'd recommend downloading a copy of DBAN and running it over the drives on the server to make sure everything is really gone.

share|improve this answer
    
I have advocated DBAN for years, great tool. Depending on the newness of the controller drivers can be an issue, so just be aware of that. –  Scott Pack Jan 27 '11 at 14:30
1  
If you have trouble with DBAN, a Linux live CD with shred(1) works wonders for the paranoid. (paranoid == dd is not enough) –  MikeyB Jan 27 '11 at 14:45
    
I can't remember the RAID configuration I used on the server... how will raid effect this software? –  Webnet Jan 27 '11 at 15:00
    
Do I just burn DBAN to a CD and then boot to it? –  Webnet Jan 27 '11 at 15:04
1  
@Webnet: Yup, burn it to a CD and start 'er up. –  Matt Hanson Jan 28 '11 at 7:38

Hunt around for 'Ultimate Boot CD'. You can burn an ISO of theirs to A CD, boot from it and select form one a a few tools that will do a multi-pass wipe of the drives.

Otherwise, blow the dust out of it and perhaps install a fresh copy of the OS, so it's more attractive as a purchase. It helps to demonstrate that it boots. :)

share|improve this answer

Unless you are selling the server as a black-box-providing-service, I would suggest that most people who get the server will be formatting the disks and installing their own OS as the first thing that they do.

I also endorse the DBAN as the way to go.

share|improve this answer

Badblocks in write mode would be my choice. Available on every live cd/usb distro.

badblocks -svw /dev/sdX
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.