1832932 Members
2951 Online
110048 Solutions
New Discussion

Re: Read error in syslog

 
John Jayaseelan
Super Advisor

Read error in syslog

Hi,

I am getting the following read error in the syslog.

vmunix: SCSI: Read error -- dev: b 31 0x03d000, errno:126, resid: 2048

Could anyone please tell How to identify LV and PV associated with this and recover from the error.

Thanks

 

P.S. This thread has been moved from Disk to HP-UX > LVM and VxVM. -HP Forum Moderator

4 REPLIES 4
Michael Steele_2
Honored Contributor

Re: Read error in syslog

1) To id the PV:

dev 0x03d000 equates to c3t13d0.

2) To id the logical volume:

pvdisplay -v /dev/dsk/c3t13d0 | more

3) To test for disk failure:

3a) dd if=/dev/dsk/c3t13d0 of=/dev/null count=1000000

3b) Do you get a prompt back?

4) What O/S? For 11.11 this patch is recommended:

PHKL_26743

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x981736e69499d611abdb0090277a778c,00.html
Support Fatherhood - Stop Family Law
John Jayaseelan
Super Advisor

Re: Read error in syslog

Hi Michael,

I wonder how the translation to 'c3t13d0'was done from 0x03d000, is it hex to decimal.

pvdisplay -v /dev/dsk/c3t13d0 | more
dd if=/dev/dsk/c3t13d0 of=/dev/null count=1000000

The above statements took long time without any output so that I stopped the session.

The OS is B.11.00 A 9000/810.

Is there any other ways to recover the disk or LV on the disk. I think some of LV are mirrored onto other disk.

Thanks

Eugeny Brychkov
Honored Contributor

Re: Read error in syslog

John,
dd command is correct one to discover read errors. Try in this way
dd if=/dev/dsk/c3t13d0 of=/dev/null bs=4096k
this will read all the disk by 4MB blocks. If it will come up with 'I/O error' then backup disk and call for replacement, if not - check syslog to see if there're read errors logged (if yes, but dd did not come up with 'I/O error' this means that error was recovered with retries)
Eugeny
John Jayaseelan
Super Advisor

Re: Read error in syslog

Hi all,

The disk is replaced. Thanks for your help.

Thanks