LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Raid disk problem : Attempt to read block from filesystem resulted in short read (https://www.linuxquestions.org/questions/linux-general-1/raid-disk-problem-attempt-to-read-block-from-filesystem-resulted-in-short-read-562434/)

ElmPie 06-17-2007 09:35 AM

Raid disk problem : Attempt to read block from filesystem resulted in short read
 
I have a Debian server with kernel 2.4.27-1-386 installed.

Once in a wile I get mails from mdadm monitoring telling me that :

A Fail event had been detected on md device /dev/md0.
It could be related to component device /dev/hdb1

When I remove the disk from the array and add it again the problems seem to be gone for a while. But now I want to get to the bottom of this.

I removed the disk from the array :
mdadm /dev/md0 -r /dev/hdb1

And checked the disk :
fsck /dev/hdb1
/dev/hdb1: recovering journal
/dev/hdb1: Attempt to read block from filesystem resulted in short read while reading block 8005
JBD: Failed to read block at offset 7483
fsck.ext2: Input/output error while recovering ext3 journal of /dev/hdb1

I'm not sure what I should do next. Can anyone point me in a direction?

Thanks!

rtspitz 06-17-2007 02:50 PM

make a backup.

if suggest to run badblocks on the failed ext3 disk.

ElmPie 06-18-2007 04:57 PM

Quote:

Originally Posted by rtspitz
make a backup.

if suggest to run badblocks on the failed ext3 disk.

Thanks for the reply!

I did run badblocks and then tried to :

fsck -t ext2 -l badblocks /dev/hdb1
But then I got a whole bunch of :
Bad block 2766258 out of range; ignored.
Bad block 2766259 out of range; ignored.
Bad block 2767756 out of range; ignored.
Bad block 2767757 out of range; ignored.
Bad block 2767758 out of range; ignored.
....

What is interesting is this :

dmesg | grep hdb
hdb: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hdb: read_intr: error=0x40 { UncorrectableError }, LBAsect=1835966, sector=1835903
end_request: I/O error, dev 03:41 (hdb), sector 1835903
hdb: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hdb: read_intr: error=0x40 { UncorrectableError }, LBAsect=3148990, sector=3148927
end_request: I/O error, dev 03:41 (hdb), sector 3148927
hdb: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hdb: read_intr: error=0x40 { UncorrectableError }, LBAsect=3932571, sector=3932508
end_request: I/O error, dev 03:41 (hdb), sector 3932508

I guess the disk really isn't looking good at all but is there anything I can still try?

Thanks!

Quakeboy02 06-18-2007 05:03 PM

Quote:

I guess the disk really isn't looking good at all but is there anything I can still try?
Your system is giving you fair warning that a drive is failing. It's probably a good idea to replace it while you still can.

ElmPie 06-18-2007 05:14 PM

Quote:

Originally Posted by Quakeboy02
Your system is giving you fair warning that a drive is failing. It's probably a good idea to replace it while you still can.


Yes I'm going to do that but I was wondering how disk errors can be handled in Debian. I want to give that a try first.


Thanks.

yusufu 08-26-2008 05:21 AM

Msa 1000
 
I have an HP MSA 1000. I had one of the hard disk crash and after replacing it, I still can't get the data out of it.
I ran dmesg | grep sda and this is what I got:


Buffer I/O error on device sda, logical block 0
Buffer I/O error on device sda, logical block 1
Buffer I/O error on device sda, logical block 2
Buffer I/O error on device sda, logical block 3
Buffer I/O error on device sda, logical block 4
Buffer I/O error on device sda, logical block 5
Buffer I/O error on device sda, logical block 6
Buffer I/O error on device sda, logical block 7
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 1
Buffer I/O error on device sda, logical block 1
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 0
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 0
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 1
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 2
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 3
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 4
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 5
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 6
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 7
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 8
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 9
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 10
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 11
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 12
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 13
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 14
sda: Current: sense key: Hardware Error
end_request: I/O error, dev sda, sector 15


What do I do?


All times are GMT -5. The time now is 09:56 AM.