No need to break the mirror (if you break the mirror, there will be no assignment anymore which PP is a copy of which, so what shall it sync?!), just run it.
The number of stale PPs should go to zero after some time. You can also check the number of stale PPs with just "lsvg rootvg".
The easiest way for syncing a stale AIX LVM mirror is
You could consider the varyonvg command as a very basic repairvg. Varyonvg will call syncvg among other things. This will run in the background so you might see a lresynclv process in the processlist. If the lv stays stale after this finished pls post the output of
(The drawback of varyonvg might be that it syncs one PP per time. Using syncvg makes sense when syncing large mirrors as you can tell it (-P) to sync more PPs per time hence being faster. When it comes to Terrabytes this does make a difference.)
[...]Before I type varyonvg ihslv. I need to ask something, there is no problem to run this command. because this box its a production server.[...]
The information about your vg/lv is looking good. There is no risk in running a varyonvg against an already active volume group. Indeed varyonvg is meant to be used like this as it repairs some vg problems.
I currently migrate a VG from one storage to another one with mirrorvg.
Does anyone know, if a syncvg copy the whole stale pps, regardless if the overlying fs is nearly empty? Or will only the used space copied?
Regards (2 Replies)