LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /dev/sda: read failed after 0 of 4096 at 0: Input/output error (https://www.linuxquestions.org/questions/linux-newbie-8/dev-sda-read-failed-after-0-of-4096-at-0-input-output-error-632669/)

Danesh 04-03-2008 06:16 AM

/dev/sda: read failed after 0 of 4096 at 0: Input/output error
 
I have installed RHEL AS 4 update 5 on a HP DL740 server and presented 1024MB from the SAN (EVA3000) to the server.

The server has two Qlogic HBA cards installed with

# less /proc/scsi/qla2xxx/0
QLogic PCI to Fibre Channel Host Adapter for QLA2340:
Firmware version 3.03.19 IPX, Driver version 8.01.07.25
BIOS version 1.45

I am seeing a lot of device I/O errors for sda. See below.

How do I fix these errors?


[root@megaclite osinst]# pvscan
/dev/sda: read failed after 0 of 4096 at 0: Input/output error
/dev/sda: read failed after 0 of 4096 at 1099511562240: Input/output error
/dev/sda: read failed after 0 of 4096 at 0: Input/output error
/dev/sdd: read failed after 0 of 4096 at 0: Input/output error
/dev/sdd: read failed after 0 of 4096 at 1099511562240: Input/output error
/dev/sdd: read failed after 0 of 4096 at 0: Input/output error
PV /dev/cciss/c0d0p2 VG vg_os lvm2 [67.72 GB / 29.72 GB free]
Total: 1 [67.72 GB] / in use: 1 [67.72 GB] / in no VG: 0 [0 ]
[root@megaclite osinst]#



cat: /dev/sda: Input/output error
[root@megaclite osinst]#
[root@megaclite osinst]# tail /var/log/messages
Apr 3 12:10:13 megaclite kernel: Buffer I/O error on device sda, logical block 9
Apr 3 12:10:13 megaclite kernel: Buffer I/O error on device sda, logical block 10
Apr 3 12:10:13 megaclite kernel: Buffer I/O error on device sda, logical block 11
Apr 3 12:10:13 megaclite kernel: Buffer I/O error on device sda, logical block 12
Apr 3 12:10:13 megaclite kernel: Buffer I/O error on device sda, logical block 13
Apr 3 12:10:13 megaclite kernel: Buffer I/O error on device sda, logical block 14
Apr 3 12:10:13 megaclite kernel: Buffer I/O error on device sda, logical block 15
Apr 3 12:10:13 megaclite kernel: Device sda not ready.
Apr 3 12:10:13 megaclite kernel: end_request: I/O error, dev sda, sector 0
Apr 3 12:10:13 megaclite kernel: Buffer I/O error on device sda, logical block 0

lugoteehalt 04-03-2008 06:59 AM

I get a lot of trouble with this sort of thing with a USB flash drive and a USB dvd-writer. Both are treated as scsi by the kernel. The problems seem to be the USB hub and the fact that the dvd thing needs twice the RAM that the computer has.

Does that inform the problem - probably not?:)


All times are GMT -5. The time now is 03:29 PM.