lkml.org 
[lkml]   [1997]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ext2 filesystem corruption?!?!?? (fwd)
On Fri, 4 Apr 1997, Dave Wreski wrote:

| On Fri, 4 Apr 1997, Doug Ledford wrote:
| > A simple shell script like this will run four simultaneous badblocks programs
| > on the drive. A person can then check the files in the /tmp directory to see
| > if any were returned as bad. With modern IDE or SCSI drives, all of these
| > files should have a zero length unless one of two things is true. One, you
| > have a drive developing too many bad sectors to be mapped out (which is cause
|
| [deleted]
|
| A return of 0 proves its neither hardware or ext2, but a failure does not
| indicate anything.

I think a return of 0 proves that the hardware/driver/cabling/etc works
okay. badblocks doesn't go through the ext2fs filesystem, though, so it
doesn't prove that the filesystem driver is bug-free. If you get errors,
on the other hand, it can't be from ext2fs, so it must be one of the
hardware/driver/cabling/etc things involved.

Troy



\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.082 / U:0.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site