fsck checks the filesystem not the hard drive. In case of a bad block or
any other hardware error, the result of using fsck is to have the kernel
fill the screen with error messages of the same type the guy already
have. I do not think there is a low level (ie hardware) test software
for Linux. I am not a disk expert but I guess such a utility would be
highly disk manufacturer dependant but may be some basic sanity checks
could be done by a relatively generic utility.

Claude

On Fri, 19 Mar 1999, Ray Olszewski wrote:

> fsck ( = FileSystem ChecK) is what you want. Assuming your filesystem is
> ext2, the actual app will be either e2fsck or fsck.ext2 (varies by
> distribution and version). Normally, you want to fsck only unmounted
> filesystems, and I don't offhand recall how to deal with the root filesystem
> in this regard (other than the obvious option of booting with a rescue disk
> and running e2fsck from it on the now-unmounted root filesystem).
> 
> And yes, it's probably a bad block on the hard drive. 
> 
> At 07:35 PM 3/19/99 -0500, Mandy wrote:
> >Hi All,
> >
> >I just had something strange happen to me..........I tried to do a find for
> >something and the first time i did it, it found some things, but nothing i
> >wanted........but at the end of the screen it said:
> >
> >DIRECTORY SREAD (sector 0x20) FAILED
> >
> >Well, I did the same find over again and it filled the ENTIRE screen with
> >this! What is going on????  Do I have a bad hard drive sector?? How can I find
> >out??  is there a scandisk for Linux or something?  I am running RH5.2, with
> >KDE(not version 1.1) on a PII 233 mhz, 32 MB RAM, if that helps any.
> 
> ------------------------------------"Never tell me the odds!"---
> Ray Olszewski                                        -- Han Solo
> 762 Garland Drive
> Palo Alto, CA  94303-3603
> 650.328.4219 voice                                    [EMAIL PROTECTED]        
> ----------------------------------------------------------------
> 

Reply via email to