Operating System - HP-UX
1753534 Members
5533 Online
108795 Solutions
New Discussion

Stale extents on both sides of vg00 mirror

 
SOLVED
Go to solution
luissma
Advisor

Stale extents on both sides of vg00 mirror

Hi all,

 

(HP-UX 11.11) I've found that my vg00 has crossed stale extents on both sides of the mirror:

 

LV Name                     /dev/vg00/lvol1


LV Name                     /dev/vg00/lvol2


LV Name                     /dev/vg00/lvol3
LV Status                   available/stale
   00000 /dev/dsk/c1t2d0    00422 current  /dev/dsk/c2t2d0    00422 stale
   00001 /dev/dsk/c1t2d0    00423 stale    /dev/dsk/c2t2d0    00423 current
   00002 /dev/dsk/c1t2d0    00424 current  /dev/dsk/c2t2d0    00424 stale
   00003 /dev/dsk/c1t2d0    00425 current  /dev/dsk/c2t2d0    00425 stale
   00004 /dev/dsk/c1t2d0    00426 current  /dev/dsk/c2t2d0    00426 stale
   00007 /dev/dsk/c1t2d0    00429 current  /dev/dsk/c2t2d0    00429 stale
   00010 /dev/dsk/c1t2d0    00432 current  /dev/dsk/c2t2d0    00432 stale
   00034 /dev/dsk/c1t2d0    00456 current  /dev/dsk/c2t2d0    00456 stale

 

LV Name                     /dev/vg00/lvol4
LV Status                   available/stale
   00000 /dev/dsk/c1t2d0    00486 current  /dev/dsk/c2t2d0    00486 stale


LV Name                     /dev/vg00/lvol5
LV Status                   available/stale
   00000 /dev/dsk/c1t2d0    00550 stale    /dev/dsk/c2t2d0    00550 current
   00120 /dev/dsk/c1t2d0    00670 current  /dev/dsk/c2t2d0    00670 stale
   00298 /dev/dsk/c1t2d0    00848 current  /dev/dsk/c2t2d0    00848 stale


LV Name                     /dev/vg00/lvol6
LV Status                   available/stale
   00000 /dev/dsk/c1t2d0    00886 stale    /dev/dsk/c2t2d0    00886 current
   00316 /dev/dsk/c1t2d0    01202 current  /dev/dsk/c2t2d0    01202 stale
   00317 /dev/dsk/c1t2d0    01203 current  /dev/dsk/c2t2d0    01203 stale
   00416 /dev/dsk/c1t2d0    01302 current  /dev/dsk/c2t2d0    01302 stale
   00491 /dev/dsk/c1t2d0    01377 current  /dev/dsk/c2t2d0    01377 stale
   00492 /dev/dsk/c1t2d0    01378 current  /dev/dsk/c2t2d0    01378 stale
   00497 /dev/dsk/c1t2d0    01383 stale    /dev/dsk/c2t2d0    01383 current


LV Name                     /dev/vg00/lvol7


Is there an easy way of cross-synchronizing these stale extents?

 

 

Many thanks in advance!

2 REPLIES 2
Patrick Wallek
Honored Contributor
Solution

Re: Stale extents on both sides of vg00 mirror

The first thing I would try is to run a 'vgsync vg00' and let it try to sync all LV's.

 

If that doesn't get things properly sync'ed then you may have to recover from an Ignite/UX backup.

luissma
Advisor

Re: Stale extents on both sides of vg00 mirror

Yes, I knew I could try to "vgsync" or "lvsync" volumes but, as per the information I received from somebody else, "lvsync" works only in one direction in a way that running it on my cross-stale volumes could harm filesystems.

 

I any case, this is what happened lately:

 

There was one non-mirrored volume on vg00 so I thought that before all I could try to mirror it. I did my volmume mirroring and leave and, today, I found that, misteriously, for each lvol, there where stale extents on only one of the sides of the mirror:

 

LV Name                     /dev/vg00/lvol1
LV Name                     /dev/vg00/lvol2
LV Name                     /dev/vg00/lvol3
LV Status                   available/stale
   00001 /dev/dsk/c1t2d0    00423 stale    /dev/dsk/c2t2d0    00423 current
LV Name                     /dev/vg00/lvol4
LV Name                     /dev/vg00/lvol5
LV Status                   available/stale
   00000 /dev/dsk/c1t2d0    00550 stale    /dev/dsk/c2t2d0    00550 current
LV Name                     /dev/vg00/lvol6
LV Status                   available/stale
   00000 /dev/dsk/c1t2d0    00886 stale    /dev/dsk/c2t2d0    00886 current
   00497 /dev/dsk/c1t2d0    01383 stale    /dev/dsk/c2t2d0    01383 current
LV Name                     /dev/vg00/lvol7

This makes the situation much easier!!!

 

Ok, let's try one "lvsync", then:

 

#lvsync /dev/vg00/lvol6
lvsync: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
lvsync: Couldn't resynchronize logical volume "/dev/vg00/lvol6".

 

It seems that there is a hardware problem on, at least, one of my disks.

 

Taking into account that one of the sides is ok I'll try to hot-swap the faulty hard disk drive and synchronize afterwards.

 

Thanks!