1836644 Members
1787 Online
110102 Solutions
New Discussion

vgactivate

 
khilari
Regular Advisor

vgactivate

hi guys, i wanted to know that should the volume group be active before i do a vgsync on it, in disk failure scenerios.
thanks
4 REPLIES 4
Torsten.
Acclaimed Contributor

Re: vgactivate

You cannot sync an inactive VG.

See also

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Aussan
Respected Contributor

Re: vgactivate

Hi Khilari
i'm assuming the question is should the vg be active before the vgsync

once you replace the disk and do a vgcfgrestore
you should activate the vg by doing vgchange -a y vg##
if it's a boot disk
then do the mkboot and lvlnboot then vgsync

if not a boot disk, then do the vgsync

hope this helps


regards

Aussan
The tongue weighs practically nothing, but so few people can hold it
Tim Nelson
Honored Contributor

Re: vgactivate

My interpritation of the vgchange man page is that activation of an inactive VG automatically kicks off a vgsync. Executing a vgchange on an already active VG does not auto sync.

The -s option disables the auto sync of any mirrored volumes.

If I read this right then your question is a mute point.

Tim Nelson
Honored Contributor

Re: vgactivate

One more place I found some info. man vgsync

third paragraph last sentence.

The synchronization process can be time consuming, depending on the
hardware characteristics and the amount of data. Unless disabled, the
mirrors within a volume group are synchronized automatically when the
volume group is activated by the vgchange -a y command.