1833718 Members
2240 Online
110063 Solutions
New Discussion

pvlinks - pvchange

 
SOLVED
Go to solution
Garry Taylor_3
Occasional Advisor

pvlinks - pvchange

After I set my pvlinks "pvchange -t 180 /dev/rdsk/cXtYdZ" and later down the line after a reboot or shutdown will the time value revert back to the default?
Can any one tell me what the default time is? pvdisplay just shows default.
5 REPLIES 5
Donny Jekels
Respected Contributor

Re: pvlinks - pvchange

not sure what the default time is but if you wan to make it permanent consider using vgchange to make the permanent
"Vision, is the art of seeing the invisible"
Jeff Schussele
Honored Contributor
Solution

Re: pvlinks - pvchange

Hi Garry,

I believe the default value is normally 30 seconds. But if someone runs pvchange -t 0 then the default will be the value supplied by the device - which can vary.
Also remember that lvchange can set an I/O timeout as well & if it's shorter then it will trigger the I/O error.
If lvchange -t 0 is run then it will wait "forever" - i.e. never timeout.
And yes, once set they stay until overriden with the next lv/pvchange -t command.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Torsten.
Acclaimed Contributor

Re: pvlinks - pvchange

Hi Garry,

what OS you are using?

BTW, remove the **r** (rdsk) from the command

pvchange -t 180 /dev/dsk/cXtYdZ

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
baiju_3
Esteemed Contributor

Re: pvlinks - pvchange

Hi Garry,

pvchnage value will not chage from the set value after reboot.

We used to set to 180 seconds for the clarrion devices as recommended by EMC.


Default time I am not sure , guess it is 60


Thanks.
BL.
Good things Just Got better (Plz,not stolen from advertisement -:) )
Garry Taylor_3
Occasional Advisor

Re: pvlinks - pvchange

Thanks to all, Receiving a lot of AVT's and I had to ensure the timeout value was set to 180 (STK/SUN) disk array. I wasnt sure about the change of value being pernament on a reboot.