1837086 Members
2149 Online
110112 Solutions
New Discussion

SCSI Timeout value

 
SOLVED
Go to solution
smitha_1_1
Occasional Contributor

SCSI Timeout value

Hello,
Can someone please let me know how to change the scsi timeout value on my system? HPUX 11iv2, B 11.23. I am not using a PVvolume, so i can't use pvchange -t. I havea utopath installed.
Tired looking thru sam, scsictl....

thanks
smitha
6 REPLIES 6
mavrick
Regular Advisor

Re: SCSI Timeout value

Hi,

The PV volume has this facility. That is
you are doing on application(LVM level).
Now it is SCSI timeout change generally not advicable, i think your disk generating some
media problems that is why this error comming.

Sure the disk can be replaced

thanks....
spex
Honored Contributor
Solution

Re: SCSI Timeout value

Hello smitha,

I suggest reviewing the Secure Path documentation.

http://h18006.www1.hp.com/products/sanworks/secure-path/index.html

autopath set -l -b policy | -t pathname | -r -o
[option] | -a -o [option] | -a -p

For example, set the timeout on c12t0d1 to 30 seconds:
# autopath set -t /dev/dsk/c12t0d1 30

PCS
smitha_1_1
Occasional Contributor

Re: SCSI Timeout value

Spex,

Thank you very much, I did go through the doc and looked at the -t option for autopath, but for some reason yesetrday I though it was for more like autopath retires on that path.
Not sure what Iw as thiking yesterday.

Thanks for the info, I read through the man page and now I understand that we can change the lun scsi io timeout value via autopath command.

So if I use pv volume, I can change via pv command, autopath, via autopath command, but if one does't use either an they use a raw disk, then is there a way to change the timeout value?


Thanks!

Smitha
whiz_kid
Regular Advisor

Re: SCSI Timeout value

am not too sure what xactly your trying to do but there is a "-t" parameter in "lvchange" which will help you to set the IO timeout value for a complete IO operation.

my 5 cents...
smitha_1_1
Occasional Contributor

Re: SCSI Timeout value

Thanks,

Since I am not using a LVM, I cant use lvchange option.
I am trying to find out if there is a way to change the IO timeout if I am using a raw disk?

Thanks
smitha
whiz_kid
Regular Advisor

Re: SCSI Timeout value

logically i dont think its viable as raw device bypasses all sorts of buffering u do from filesystem or OS.