[CentOS] Looking for a good disk exerciser

Sat Apr 14 00:34:04 UTC 2007
fredex <fredex at fcshome.stoneham.ma.us>

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 at fcshome.stoneham.ma.us -----------------------------
  "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) ------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070413/3597876f/attachment-0005.sig>