Re: ext2 filesystem corruption?!?!?? (fwd)

Troy Morrison (
Fri, 4 Apr 1997 12:53:14 -0800 (PST)

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.