1845934 Members
3785 Online
110250 Solutions
New Discussion

PV Timeout Value

 
Regina Mitchell
Frequent Advisor

PV Timeout Value

I have OS 11.i and need to know how to set PV Timeout value to 90. Any suggestions?
4 REPLIES 4
Kenan Erdey
Honored Contributor

Re: PV Timeout Value

hi;

you can use pvchange -t 90 /dev/dsk/cxtxdx
Computers have lots of memory but no imagination
Ganesan R
Honored Contributor

Re: PV Timeout Value

Hi,

Do you mean IO timeout for PV. if so use,

#pvchange -t 90
Ex: #pvchange -t 90 /dev/dsk/c0t2d0
Best wishes,

Ganesh.
Chauhan Amit
Respected Contributor

Re: PV Timeout Value

#man pvchange

-t IO_timeout Set IO_timeout for the physical volume to the number of seconds indicated. An IO_timeout value of zero (0) causes the system to use the default value supplied by the device driver associated with the physical device.IO_timeout is used by the device driver to determine how long to wait for disk transactions to complete before concluding that an IO request can not be completed (and the device is offline or unavailable).

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

pvchange -t 90 /dev/dsk/c2t0d2

-Amit
If you are not a part of solution , then you are a part of problem
rariasn
Honored Contributor

Re: PV Timeout Value

Hi Regina,

# man pvchange

Sample "pvchange timeout":

- Verify actual configuration,

#pvdisplay /dev/dsk/c4t3d7
--- Physical volumes ---
PV Name /dev/dsk/c4t3d7
VG Name /dev/vgname
PV Status available
Allocatable yes
VGDA 2
Cur LV 1
PE Size (Mbytes) 4
Total PE 2156
Free PE 0
Allocated PE 2156
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On

- change configuration,

# pvchange -t 90 /dev/dsk/c4t3d7
Physical volume "/dev/dsk/c4t3d7" has been successfully changed.
Volume Group configuration for /dev/vgname has been saved in /etc/lvmconf/
vgname.conf

-Verify change,

#pvdisplay /dev/dsk/c4t3d7
--- Physical volumes ---
PV Name /dev/dsk/c4t3d7
VG Name /dev/vgname
PV Status available
Allocatable yes
VGDA 2
Cur LV 1
PE Size (Mbytes) 4
Total PE 2156
Free PE 0
Allocated PE 2156
Stale PE 0
IO Timeout (Seconds) 90
Autoswitch On

- change to defauult configuration,

#pvchange -t 0 /dev/dsk/c4t3d7
Physical volume "/dev/dsk/c4t3d7" has been successfully changed.
Volume Group configuration for /dev/vgname has been saved in /etc/lvmconf/
vgname.conf

#pvdisplay /dev/dsk/c4t3d7
--- Physical volumes ---
PV Name /dev/dsk/c4t3d7
VG Name /dev/vgname
PV Status available
Allocatable yes
VGDA 2
Cur LV 1
PE Size (Mbytes) 4
Total PE 2156
Free PE 0
Allocated PE 2156
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On



rgs,

ran