Operating System - HP-UX
1829101 Members
2631 Online
109986 Solutions
New Discussion

Re: SCSI Read error in dmesg

 
CCIL
Frequent Advisor

SCSI Read error in dmesg

I have HP - N class server with two virtual partitions. in one of the Virtual partitions, the output of dmesg shows "SCSI: Read error -- dev: c 188 0x031000, errno: 22, resid: 7,
blkno: 32, sectno: 2292, offset: 32768, bcount: 7."

syslog also shows crtical event code 199

Amit Vichare
4 REPLIES 4
Alexander M. Ermes
Honored Contributor

Re: SCSI Read error in dmesg

Hi there.
Check your syslog files.
/var/adm/syslog/syslog.log
If you find that error in this file during the last 24 hours, you should check your scsi connections / cables and devices.
Sorry, but i cannot read your attachment,
so i have to guess.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Jochen Heuer
Respected Contributor

Re: SCSI Read error in dmesg

Hello!

You have a read error trying to access the raw disk with minor number 0x031000. Run

$ ll /dev/rdsk | grep "0x0310000"

to find out which disk. Then you can try to read from the whole disk:

$ dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=1024k

If this aborts with an i/o error your disk is probably broken.

Jochen
Well, yeah ... I suppose there's no point in getting greedy, is there?
Armin Feller
Honored Contributor

Re: SCSI Read error in dmesg

Hi,

if the 'dd' run fine and you can not find any read-error.

# dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=1k

Then please check if there are any timeouts set.

# lvdisplay -v /dev/vgXY/lvolX | grep -i time
# pvdisplay -v /dev/dsk/cXtYdZ | grep -i time

Remember on each disk which contains filesystems you should NEVER set the timeout other then default (30sec).

Then check if SCSI, LVM, FILESYSTEM (vxfs) patches are installed.

Hope that helps.

Regards,
Armin
T G Manikandan
Honored Contributor

Re: SCSI Read error in dmesg

Just do a ls -l in /dev/dsk

It should give you the correct disk device

Just do a dd on that disk

ALso do a diskinfo on that disk and check whether the disk gives out the proper information.

REvert