On Fri, Apr 13, 2007 at 06:51:29PM +0200, Wojtek.Pilorz wrote: > On Fri, 13 Apr 2007, Mark Hull-Richter wrote: > > > Capstone (so to speak): > > > > I booted from the Seagate CD and ran both the quick and full diagnostics on > > the disk. It failed them both. > > > > Now I'm wondering what's the best way to destroy all the data on the drive > > so I can return it without my stuff, unreliable or not, on it. > > > > I suppose a dd from /dev/zero to the whole disk might work - am I right? > > I'm not sure what block size or how many - it's a 400Gb drive.... > > > > Thanks. > > > > Mark Hull-Richter, Linux Kernel Engineer > > Or even better badblocks -w > > I would add -v and -p some_number > See man page. > > Some of your data can be left in reallocated sectors. I'd guess that several passes with data from /dev/random might be a good thing. -- ---- Fred Smith -- fredex@xxxxxxxxxxxxxxxxxxxxxx ----------------------------- "And he will be called Wonderful Counselor, Mighty God, Everlasting Father, Prince of Peace. Of the increase of his government there will be no end. He will reign on David's throne and over his kingdom, establishing and upholding it with justice and righteousness from that time on and forever." ------------------------------- Isaiah 9:7 (niv) ------------------------------
Attachment:
pgpXUr9oVUVkx.pgp
Description: PGP signature
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos