1846637 Members
2122 Online
110256 Solutions
New Discussion

SCSI error

 
Gregory Thomas
Frequent Advisor

SCSI error

Is there a way to determine which SCSI card/device, etc is getting the following error?
SCSI: Read error -- dev: b 31 0x006000, errno: 126, resid: 2048

Thanks....Jim
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: SCSI error

It's /dev/dsk/c0t6d0.

lsdev will identify the major device (blk device 31) and the minor device is easy. Now you can do an ioscan -fn and look for /dev/dsk/c0t6d0 (or /dev/rdsk/c0t6d0) and match that to the hardware path.

cXt6d0 is a popular choice for boot drives so this might be bad unless you are mirrored.
If it ain't broke, I can fix that.
Zeev Schultz
Honored Contributor

Re: SCSI error

Yep
ioscan -fnCext_bus (look for Instance 0)
-0x006000 (first 2 zeroes are for ext_bus instance 0,next 2 - are for scsi target=6 and lun=0) -> c0t6d0,most probably your system disk (as scsi id=6 is the next highest priority after id=7 which is a scsi adapter).

Run dd if=/dev/rdsk/c0t6d0 of=/dev/null bs=1024k for full drive read test.

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Gregory Thomas
Frequent Advisor

Re: SCSI error

Thanks guys.
Yep, it's the internal root disk.
Fortunately it's mirrored.
Steven E. Protter
Exalted Contributor

Re: SCSI error

Is there an lbolt?

If so, you will soon need to replace it. I've only gotten those to go away when I triggered them by swapping a hot swappable drive while the system was running.

Since you are mirrored if the drive itself is hot swappable, you don't have a very hard install.

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