Operating System - HP-UX
1833776 Members
2422 Online
110063 Solutions
New Discussion

Can too many stale PV extents crash system?

 
SOLVED
Go to solution
Byron Myers
Trusted Contributor

Can too many stale PV extents crash system?

Just wondering... L2000, failed mirrored root disk. Will replace disk in two days. Is there any type of LVM limit on the number of stale extents allowed on a PV? The stale extend count is currently 303 on this particular PV which has been failed for 3 days, so I am assuming I am not going to hit some kind of limit. But what if I let this bad disk sit here forever - I assume I will eventually hit some type of limit on stale extents. The answer to this question is particulary to me because we have some disks that are hit very hard, and if we loose one of those mirrored disks I would like to know how long we have before terrible LVM things start happening if we hit a PV limit on stale extents.
If you can focus your eyes far and straight enough ahead of yourself, you can see the back of your head.
6 REPLIES 6
Stefan Farrelly
Honored Contributor

Re: Can too many stale PV extents crash system?

No, theres no limit ive ever heard of. They can remain stale forever until you fix them or remove them. Ive had stales for many many weeks and they wont cause a crash (as long as your patches are uptodate)

Im from Palmerston North, New Zealand, but somehow ended up in London...
James R. Ferguson
Acclaimed Contributor

Re: Can too many stale PV extents crash system?

Hi:

I don't know of any limit or trigger-point for the crash you fear, but why wait to replace the failed disk(?). I'd want to fix it and remirror before the *other* copy started to fail [Murphy's Law].

Regards!

...JRF...
Patrick Wallek
Honored Contributor
Solution

Re: Can too many stale PV extents crash system?

No, there's no limit on the number of stale extents. You can have an entire disk go bad and thus have ALL extents on a disk as stale.

This is the whole purpose of mirroring. If there were some limit on the number of stale extents, why bother mirroring.

I, too, have had an LV running with a bad disk for several weeks. If your patches are up to date you shouldn't have a problem.
Chris Wilshaw
Honored Contributor

Re: Can too many stale PV extents crash system?

Certainly no limit that I'm aware of, but you have to consider the fact that the longer the disk goes unreplaced, the more time there is for the working disk to develop a fault, which may not in itself cause a crash, but will definitely be a problem.
Sridhar Bhaskarla
Honored Contributor

Re: Can too many stale PV extents crash system?

Hi Byron,

Only time I had problem with a failed disk causing problem to the system was that an unmirrored secondary swap was defined on the mirror disk by the previous administrator.

You may want to check if you had such a configuration.

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

Re: Can too many stale PV extents crash system?

Thanks for the replies. Patrick's comment about LVM allowing all extents in a failed PV to go stale moved my thinking in the right direction. We always schedule down time when replacing mirrored disks even though we can do this online. These systems are offsite, and I am counting on HW support to correctly identify the correct failed disk. HW support is very good, but its a balancing act on replacing now or waiting a few days. Another Murphy-ism is that the good disk could get replaced.
If you can focus your eyes far and straight enough ahead of yourself, you can see the back of your head.