Operating System - HP-UX
1825094 Members
5156 Online
109679 Solutions
New Discussion юеВ

LVM PV timeput vs LV timeout

 
SOLVED
Go to solution
Ed Sampson
Frequent Advisor

LVM PV timeput vs LV timeout

Whats the relationship between pv timeout and lv timeout? If I set the PV timeout do I need to set the LV timeout, or are they the same thing?
6 REPLIES 6
harry d brown jr
Honored Contributor

Re: LVM PV timeput vs LV timeout

Why would you want to modify the default behaviour of the pv and lv timeouts?

a pv is a physical volume (Usually a disk, or a pseudo disk - as on an emc or diskarray).

a lv is a slice of a pv, or sometimes the whole thing.


live free or die
harry
Live Free or Die
Sanjay_6
Honored Contributor
Roger Baptiste
Honored Contributor
Solution

Re: LVM PV timeput vs LV timeout

<>

By theory, yes. they are
different. LV timeout is
at the LV level and specifies how long a request to the LV should wait for response, before it times out. The default LV timeout value is "'Forever"" and I have *NEVER* seen it modified anywhere . Why? Because it does not matter. What matters is the PV timeout value. The pV timeout is at the PV layer and it specifies how long a request to the PV should wait before it times-out. PVtimeout overrides LV timeout, so LV timeout is largely irrelevant and should remain unchanged from its default value.

Regarding the timeout concept, it is to allow delays in response from the disks. For instance, while using EMC disks,we increase the PV timeout to 180 seconds. Otherwise, it may
consider a valid delay as disk unaccessible errors.

Bottomline: Timeout refers to PV timeout.

-raj
Take it easy.
Ed Sampson
Frequent Advisor

Re: LVM PV timeput vs LV timeout

We are hooked to an EMC disk array. EMC is getting ready to do an online code upgrade to the EMC box, and ask us to check that the OS timeout value be set to 120. We already have are PV's set to 180 per earlier recommendations. Do we need to set the LV timeout? should it be the same or smaller than the PV timeout?
Ed Sampson
Frequent Advisor

Re: LVM PV timeput vs LV timeout

Thanks Raj, We will let LV timeout default.