1834584 Members
3597 Online
110069 Solutions
New Discussion

Re: SCSI Device Died

 
SOLVED
Go to solution
Stephanie L Davenport
Frequent Advisor

SCSI Device Died

I currently have a SCSI drive that has died in one of my systems. As far as I can tell from the documentation from my predecessor, the drive is not being used for anything. I have done a vgdisplay –v and looked for the device but, don’t see it. Is there any other way to verify that the disk is not being used?

Here is the info:

Mar 28 15:35:46 hpbest vmunix: SCSI: First party detected bus hang -- lbolt: 774
58477, bus: 2
Mar 28 15:35:46 hpbest vmunix: lbp->state: 1040
Mar 28 15:35:46 hpbest vmunix: lbp->offset: 6e8
Mar 28 15:35:46 hpbest vmunix: lbp->uPhysScript: 480000
Mar 28 15:35:46 hpbest vmunix: From most recent interrupt:
Mar 28 15:35:46 hpbest vmunix: ISTAT: 00, SIST0: 00, SIST1: 00, DSTAT:
00, DSPS: 00000000
Mar 28 15:35:46 hpbest vmunix: NCR chip register access history (most recent la
st): 9 accesses
Mar 28 15:35:46 hpbest vmunix: 20101139, RESPID0<-80
Mar 28 15:35:46 hpbest vmunix: 1, RESPID1<-00
Mar 28 15:35:46 hpbest vmunix: 1, SCID<-47
Mar 28 15:35:46 hpbest vmunix: 1, DIEN<-7f
Mar 28 15:35:46 hpbest vmunix: 1, SIEN0<-8f
Mar 28 15:35:46 hpbest vmunix: 1, SIEN1<-ff
Mar 28 15:35:46 hpbest vmunix: 2, DSP<-004806e8
Mar 28 15:35:46 hpbest vmunix: 141, ISTAT<-20
Mar 28 15:35:46 hpbest vmunix: 10335931, ISTAT: 28
Mar 28 15:35:46 hpbest vmunix: lsp: 0
Mar 28 15:35:46 hpbest vmunix: lbp->owner: 3c23500
Mar 28 15:35:46 hpbest vmunix: bp->b_dev: cb026002
Etc…


target 9 10/8.6 tgt NO_HW DEVICE
disk 6 10/8.6.0 sdisk NO_HW DEVICE SEAGATE ST39175LC


Thanks for your help,

Steph
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: SCSI Device Died

Shalom Steph,

If its really dead, its too late to verify nothing was on it.

If you have some old printed or electronic outputs from vgdisplay -v or pvdisplay -v then you will have proof after the fact that it probably was not used.

At this point you need to replace the hardware or get it out of the system.

You might get lucky and boot the system and then be able to run one of the two aforementioned reports to see if there was anything on the disk.

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
Rick Garland
Honored Contributor
Solution

Re: SCSI Device Died

Look in the lvmtab and see if it is defined for anything. Will need to use the strings command to view the contents.

# strings /etc/lvmtab

Stephanie L Davenport
Frequent Advisor

Re: SCSI Device Died

Thank you so much for your help. The device is dead but, since this machine is ancient and has several different devices hooked up to it (3 tape drives, a jamaica box and an autoraid), I wasn't sure where the problem exactly was.

By looking in the lvmtab file, I can see that it is not being used for anything. And, since this machine is being decommisioned in 3 months, I won't worry about replacing it.

Thanks again!!!!

Steph
Stephanie L Davenport
Frequent Advisor

Re: SCSI Device Died

Thanks!!!!!!!
DCE
Honored Contributor

Re: SCSI Device Died



You can do a strings on /etc/lvmtab to see if the disk is assigned to volume group.

You could also check for any stale mirrors.

I assume none of your DB's are doing anything strange like writing directly to disk.............
A. Clay Stephenson
Acclaimed Contributor

Re: SCSI Device Died

All anyone can say is if if is not in /etc/lvmtab is that it is PROBABLY not being used (well, I if you see NO_HW it is definitely not being used but you know what I mean). The disk could be in use by VxVM, it could be used as a whole disk (i.e with a filesystem on it but not under the control of LVM or VxVM); it could be used as additional swapspace (you can check /etc/fstab for these) OR it could simply be used by an application as raw disk. By far, the most difficult of these to rule out is raw disk and the only way to do that is to know your system.

However, if it ain't under LVM (or VxVM) then as a general rule, it ain't being used.
If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: SCSI Device Died

That was a fast close.

You appear to be a new poster.

So:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140137

Please read the link above and consider point assignment if any answers helped.

You can re-open the thread and give points to A.Clay, as his answers are in general better than mine.

Good Luck.

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
Stephanie L Davenport
Frequent Advisor

Re: SCSI Device Died

Thanks Again!!!!