Operating System - HP-UX
1754368 Members
4346 Online
108813 Solutions
New Discussion юеВ

Re: Numerical value of pv IO Timeout?

 
Romaric Guilloud
Regular Advisor

Numerical value of pv IO Timeout?

Hello,
How to know what is the numerical value of pv timeout when it is set to "default"?:
#pvdisplay -v /dev/dsk/c4t0d0 |grep -i timeout
IO Timeout (Seconds) default

Them man page says "the default value is supplied by the device driver associated with the physical device", so how to gather the value supplied by the device as it can differ from one device to another?
Thanks in advance for your help.
R. Guilloud.

"And remember: There are no stupid questions; there are only stupid people." (To Homer Simpson, in "The Simpsons".)
4 REPLIES 4
Sridhar Bhaskarla
Honored Contributor

Re: Numerical value of pv IO Timeout?

Hi Romaric,

For 'sdisk and disc3' drivers which are most commonly used, the default timeout is 30 seconds. The appropriate value is 180 seconds. You can change it using the command 'pvchange -t 180 /dev/dsk/cxtydz'.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
KCS_1
Respected Contributor

Re: Numerical value of pv IO Timeout?

Hi,

From the man page of pvchange, the value of physical disk driver timeout is "0" .

Set the IO_timeout value for a physical volume to 60 seconds:

# pvchange -t 60 /dev/dsk/c2t0d2

Set the IO_timeout value for a physical volume to zero (0) to use the driver default:

# pvchange -t 0 /dev/dsk/c2t0d2




Regards.






Easy going at all.
Romaric Guilloud
Regular Advisor

Re: Numerical value of pv IO Timeout?

OK, but what is the command to retrieve the value associated to the driver itself?
"And remember: There are no stupid questions; there are only stupid people." (To Homer Simpson, in "The Simpsons".)
Sridhar Bhaskarla
Honored Contributor

Re: Numerical value of pv IO Timeout?

There isn't any command to retrieve that value. It's driver specific and probably if you look the files under /usr/conf directory, you may find it.

The PV timeout value of 30 is commonly known.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try