[ale] Disk testing app wanted

Mills John M-NPHW64 Jmills at motorola.com
Wed Aug 19 14:01:03 EDT 2009


OK - I'll give those various suggestions a shot.

Thanks to all who replied.

 - Mills

-----Original Message-----
From: rs at ale.spam.futz.org [mailto:rs at ale.spam.futz.org]
Sent: Wed 8/19/2009 1:19 PM
To: Atlanta Linux Enthusiasts - Yes! We run Linux!
Cc: Mills John M-NPHW64
Subject: Re: [ale] Disk testing app wanted
 
>Is there a simple read/write test or script I can turn loose on a suspect SATA drive and let it run? There's no data on the disk I care to preserve.

Whenever I get a new disk, I do the following:

- smartctl -t short /dev/sdX  (~ 2 minutes)
- smartctl -t long /dev/sdX   (1TB drive, ~ 240 minutes)
- mke2fs -c -c /dev/sdX1      (1TB drive, 24+ hours)

If all those pass, then I re-partition the drive like I want and put it into
service.  I'm actually on that 3rd step for 2 1TB drives that arrived
yesterday. And yes, I've had new drives fail these tests. Sometimes the 3rd
test will fix a drive failing a selftest, as writing to a bad sector causes it
to be remapped...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20090819/cc595cf4/attachment.html 


More information about the Ale mailing list