1834612 Members
3725 Online
110069 Solutions
New Discussion

Re: vgextend ...

 
Arunkumar.B
Trusted Contributor

vgextend ...

Hi All,

In My RAC Cluster (2*Superdome&EVA 4k). Two path device file got changed after a reboot of the server.Now i need to change the information in /etc/lvmtab.

I am writing my steps if i am wrong somewhere pls correct me

1)Halt the RAC Cluster (pkg & Node)
2)vgchange -c n -S n vg01
3)vgchange -a y vg01
4)vgreduce -f (This will remove my old missing links)
5)vgextend /dev/vg01 /dev/dsk/cxtydz /dev/dsk/cxtydz
6)vgchange -a n vg01
7)vgchange -c y -S y vg01
8)Then start the cluster (PKG & NODE)

or

Is there any other way to do it ???

Cheers
Arunkumar.B
Necessity breaks iron
4 REPLIES 4
Darrel Louis
Honored Contributor

Re: vgextend ...

Hi,

The procedure looks oke.
Another option:
Do you have a backup of the original VG conf(/etc/lvmconf).
See man vgcfgrestore and vgimport.

Have you checked what the root cause of the device change is?

Darrel
Victor Fridyev
Honored Contributor

Re: vgextend ...

Hi,

I'm not sure that vgreduce/vgextend will store the data. I'd prefer to vgexport/vgimport procedure:
vgchange -a n vg01
vgexport vg01
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport /dev/vg01 /dev/dsk/ ........
vgchange -c y -S y vg01


HTH
Entities are not to be multiplied beyond necessity - RTFM
Calandrello
Trusted Contributor

Re: vgextend ...

you executed vgreduce. talked back the VG in all nodes?

Abracos
Arunkumar.B
Trusted Contributor

Re: vgextend ...

Hi All,


The Problem resolved by using

vgscan -av

Thanks for ur replies


Arunkumar.B
Necessity breaks iron