[mdlug] Hard drive issue I/O error

Raymond McLaughlin driveray at ameritech.net
Fri Sep 14 14:24:57 EDT 2007


Mathew Enders wrote:
> On Fri, 2007-09-14 at 12:20 -0400, Bob Dion wrote:
>> I would back the drive up, unmount it and run fschk.
>> If you get more io errors with fschk I would say the drive is toast.
>>
>> You may also want to concider installing smartctl & smartd on this
>> system.
>>
> I unmounted the 2 partitions on the drive and then attempted to fsck
> them and here is the error I get.  If I reboot all is well until some

By "all is well" you mean you can read and write all the files on the drive?

> future point when the rsync happens again

> ARDVARC:~# fsck /staffbak

fsck works better on unmouted filesystems. If at all possible umount it
and run fsck on the block device containing the filesystem:
    ARDVARC:~# fsck /dev/hdg1
or what ever.

If I understood your original post this is your "backup drive". Does all
the data it is to backup still "live" elsewhere? If so it might be
quicker to just put in a new drive, partition, mkfs, and rsync; then
you're good to go. If this backup drive has archives as well as current
data you still might do the above first and worry about recovering your
archives later.

I hope this helps.
Ray


> fsck 1.40-WIP (14-Nov-2006)
> e2fsck 1.40-WIP (14-Nov-2006)
> fsck.ext3: Attempt to read block from filesystem resulted in short read
> while trying to open /dev/hdg1
> Could this be a zero-length partition?
> ARDVARC:~# fsck /stdntbak
> fsck 1.40-WIP (14-Nov-2006)
> e2fsck 1.40-WIP (14-Nov-2006)
> fsck.ext3: Attempt to read block from filesystem resulted in short read
> while trying to open /dev/hdg2
> Could this be a zero-length partition?
> ARDVARC:~#      
> 
> Then when attemptinf to remount them I get this error
> 
> ARDVARC:~# mount /staffbak
> mount: wrong fs type, bad option, bad superblock on /dev/hdg1,
>        missing codepage or other error
>        In some cases useful info is found in syslog - try
>        dmesg | tail  or so
> 
> ARDVARC:~# mount /stdntbak
> mount: wrong fs type, bad option, bad superblock on /dev/hdg2,
>        missing codepage or other error
>        In some cases useful info is found in syslog - try
>        dmesg | tail  or so
> 
> ARDVARC:~#     
> 
> Here is the end of dmesg
> 
> end_request: I/O error, dev hdg, sector 65
> EXT3-fs: unable to read superblock
> end_request: I/O error, dev hdg, sector 65
> EXT3-fs: unable to read superblock
> end_request: I/O error, dev hdg, sector 488343872
> EXT3-fs: unable to read superblock
> ARDVARC:~#    



More information about the mdlug mailing list