Operating System - HP-UX
1754014 Members
6788 Online
108811 Solutions
New Discussion юеВ

Break mirrror with stale extents??

 
Bill Hassell
Honored Contributor

Re: Break mirrror with stale extents??

> I dont have Mirro/UX installed, because its not there, when I do swlist | grep -i mirror.

Use this command:

swlist -l fileset |grep -i mirror

Mirror/UX is not a standalone product but an add-on to LVM. You should see this:

LVM.LVM-MIRROR-RUN B.11.23 LVM Mirror

> --- Logical extents ---
> LE PV1 PE1 Status 1 PV2 PE2 Status 2
> 00000 /dev/dsk/c4t0d1 62502 current /dev/dsk/c24t0d1 17068 current
...
> 01489 /dev/dsk/c4t0d2 00000 stale /dev/dsk/c24t0d1 18557 current

For vg05, this volume has been mirrored. Otherwise, you would not see PV2 and PE2.

> how to find the pv_key, please can you clarify:

The man page for lvdisplay is helpful. Use -k as in:

lvdisplay -vk /dev/vg05/lvol4


Bill Hassell, sysadmin
Michael Steele_2
Honored Contributor

Re: Break mirrror with stale extents??

I think you should probably be looking as SAM. I don't know if Mirror/UX updates SAM, I would think so, but SAM does have its own command set, is point and click menu driven with the tab key, and should offer some insight into your answers to questions that are more obvious and less confusing.
Support Fatherhood - Stop Family Law
NDO
Super Advisor

Re: Break mirrror with stale extents??

Hi

Bill:
mcelrate[281]/ #swlist -l fileset |grep -i mirror
mcelrate[282]/ #

So defenitely LVM mirroring is not there. So the system was reinstalled as I was told, and in the first setup LVM mirror was installed, perhaps thats the reason we have seen some LVs mirrored.


Fernando