Operating System - HP-UX
1752276 Members
5132 Online
108786 Solutions
New Discussion юеВ

Re: Getting SCSI Read error

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

Getting SCSI Read error

Hi All,

I am getting follwoing error in /var/adm/dmessage

SCSI: Read error -- dev: b 31 0x050000, errno: 126, resid: 2048,
blkno: 8, sectno: 16, offset: 8192, bcount: 2048.


How to identify that which disk is giving the above error ?

How to solve the issue?
6 REPLIES 6
Steven E. Protter
Exalted Contributor
Solution

Re: Getting SCSI Read error

Shalom,

Few good things to do here.

if the disk is offline:

ioscan

Look for NO_HW messages.

Better though is this thread, which tells you how to identify the disk.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=956715

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Suraj K Sankari
Honored Contributor

Re: Getting SCSI Read error

Hi,

check for 0x050000 in this output

$ ll /dev/dsk | grep 0x050000

you will find the disk

then do "ioscan", "diskinfo" and "dd" for disk is ok or not

Suraj
Suraj K Sankari
Honored Contributor

Re: Getting SCSI Read error

Hi Senthil,
One more things find the pdf for When Good Disks Go Bad and how to check.

Suraj
senthil_kumar_1
Super Advisor

Re: Getting SCSI Read error

Hi All,

I have executed following commands.

1)#ll /dev/dsk | grep 0x050000
brw-r----- 1 bin sys 31 0x050000 Apr 15 2008 c5t0d0

2)#ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
==================================================================================
disk 1 10/0/15/1.5.0 sdisk CLAIMED DEVICE COMPAQ BD036635C5
/dev/dsk/c3t5d0 /dev/rdsk/c3t5d0
disk 0 10/0/15/1.6.0 sdisk CLAIMED DEVICE FUJITSU MAJ3364MC
/dev/dsk/c3t6d0 /dev/rdsk/c3t6d0
disk 2 10/6/3/0.1.25.0.0.0.0 sdisk NO_HW DEVICE DGC C4700WDR5
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0



3)#diskinfo /dev/rdsk/c5t0d0
diskinfo: can't SIOC_INQUIRY /dev/rdsk/c5t0d0: No such device or address


My Questions:

1)Could you please tell me the cause for the issue?

2)How to solve?
Suraj K Sankari
Honored Contributor

Re: Getting SCSI Read error

Hi,
ioscan -fnC disk output

>>disk 2 10/6/3/0.1.25.0.0.0.0 sdisk NO_HW DEVICE DGC C4700WDR5
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d

My Questions:
1)Could you please tell me the cause for the issue?
ioscan is showing NO_HW that means your disk is bad,

2)How to solve?
you need to replace the disk

Suraj
senthil_kumar_1
Super Advisor

Re: Getting SCSI Read error

Hi All,

I think NO_HW means "No disk / Not found".

So I believe the disk may be detached from this.

My Questions:

1)Is disk attached or not?

2)How to find whether it is local or LUN?

3)How to find the behind this, that why it is showing NO_HW?