Syncvg


 
Thread Tools Search this Thread
Operating Systems AIX Syncvg
# 1  
Old 12-06-2013
Syncvg

Hello,

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  
Old 12-06-2013
OK,

What I suggest is you run the syncvg -l <lvname>, it will change the state of LV from stale to Sync. Then you do mirrorvg rootvg hdiskX.

I presume syncvg will do on whole. As you are mirroring the VG.
# 3  
Old 12-06-2013
When you add the LV copy and synchronise them, the image of the PP is copied irrespective of what it contains or doesn't. I'm afraid you will just have to wait.
It doesn't matter if you use mirrorvg or mklvcopy. It has to copy everything. Use:-
Code:
lsvg yourvg | grep STALE

... to see how you are getting on. This may get locked out if you are running mirrorvg in the default auto-sync mode. You can ease this by running mirrorvg with the -s (lower case S) flag. This will create the LV copies and then you can synchronise them with syncvg -v yourvg

Make sure when you remove the LV copy, that you specify the hdisk to remove the copy from, else it may well just pick the newly created one.


Caution

Do not interrupt these processes else the ODM and the VG disk information may get out of step leaving you unable to complete the sync. There is a way out, but it's a bit messy.




I hope that this helps,
Robin
Liverpool/Blackburn
UK
This User Gave Thanks to rbatte1 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. AIX

syncvg

Hello I have a box with aix 5.3 if I type lsvg -l rootvg all my filesystems are sync except one rootvg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT hd5 boot 1 2 2 closed/syncd N/A hd6 paging 32 64 ... (16 Replies)
Discussion started by: lo-lp-kl
16 Replies
Login or Register to Ask a Question