02fun-u2 <[EMAIL PROTECTED]>, on Thu Oct 09, 2003 [10:52:10 AM] said:
> 
> log errors below
> 
> 
> WARNING:  Kernel Errors Present
>    input class="type=text size=8 name=word4 value=: error=0x04 { DriveStat...:  
> 2Time(s)
>    DriveReady SeekComplete Error }...:  2Time(s)
> 
> from what i can find on goggle it seems to be some kind of hard drive error it could 
> be an unsupported command or sign of a bad hdd. maybe bad sectors?
> is there a Linux equivalent to scan disk or anything?
> 

        Hi;

        Your error messages are not complete; if they were
quoted in full, someone might be able to tell you more of
what they mean. (also, when they happen could be useful.)
        e2fsck has been mentioned; it will check and attempt to
correct errors in an ext2 or ext3 filesystem's metadata. (the
stuff about the files; the structure of the filesystem - not the
data in the files) If you use the -c option, it will also scan
all the blocks on the filesystem, and map bad blocks out. This
could be a useful test, however, on a modern disk, if you
actually start seeing bad sectors, your disk could be going to
fail *very* soon.
        (only run fsck on unmounted, or mounted read-only
partitions. Other filesystems have thier own version of
fsck. eg. fsck.reiserfs, or reiserfsck)
        A filesystem agnostic method of testing all the sectors
on a hardisk (by reading them) might be:
"dd if=/dev/hdX of=/dev/null bs=512 conv=noerror"
        One great resource, if you suspect there is a problem
with your disk, is the smartmontools package. Most modern disks
have "Self-Monitoring, Analysis and Reporting Technology" (SMART)
system built in. Using 'smartctl' you can examine data and logs,
run tests, etc. concerning the health of your drive.

Goodluck;

Paul
[EMAIL PROTECTED]

Reply via email to