Operating System - HP-UX
1833882 Members
2150 Online
110063 Solutions
New Discussion

Stale Partitions, Mirrored VG, shared MC/ServiceGuard VG

 

Stale Partitions, Mirrored VG, shared MC/ServiceGuard VG

HP-UX 10.20, K460, using MC/ServiceGuard

I have stale partitions on one of my shared (ServiceGuard) vg's, which is not allowing me to switch clusters at the present time.

A #dd if...... command reveals no problem with either drive.
How could I clean up these stale partitions? I have done it on AIX machines, but never on Hp-UX.

Andy
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: Stale Partitions, Mirrored VG, shared MC/ServiceGuard VG

Hi Andreas:

Try this:

# /sbin/vgsync /dev/vgXX

...JRF...

Sanjay_6
Honored Contributor

Re: Stale Partitions, Mirrored VG, shared MC/ServiceGuard VG

I think

/usrr/sbin/vgsync /dev/vg_name

should solve this. You should run this from the node on which the vg is active at that moment.

Hope this helps

Thanks

Re: Stale Partitions, Mirrored VG, shared MC/ServiceGuard VG

Tried the vgsync /dev/vghome as suggested,
getting: Couldn't re-sync stale partitions of the logical volume: I/O error
Carsten Krege
Honored Contributor

Re: Stale Partitions, Mirrored VG, shared MC/ServiceGuard VG

Two things to try:

1) dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=64k

on BOTH disk that appears to be healthy, ie. also on the other side of the mirror that doesn't have the stale extents.

2) # vgchange -a e vgXX

to update the kernel, followed by

# vgsync vgXX

If you get an I/O error with any of these commands, open a h/w call with your support.

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG