System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to import a VG to another server in different VG name.

 
senthil_kumar_1
Super Advisor

Is it possible to import a VG to another server in different VG name.

Hi All,

 

 

Is it possible to import a VG to another server in different VG name rather than original....

 

If yes, Please give me detailed steps.

2 REPLIES
Patrick Wallek
Honored Contributor

Re: Is it possible to import a VG to another server in different VG name.

Absolutely.

 

On machine A:

 

vgexport -m vg01.map -v  -s vg01

Copy vg01.map to machine B

 

On machine B:

 

mkdir /dev/vgnew

mknod /dev/vgnew/group c 64

vgimport -m vg01.map -v -s vgnew

Ismail Azad
Esteemed Contributor

Re: Is it possible to import a VG to another server in different VG name.

Hi senthil,

 

What patrick has mentioned is  the standard conventional method. Notice the -s option which means that you do not have to specify the device files of the P.V. Just liked to add a typo error in Patrick's post... You should also be adding a minor number to the mknod command.

Read, read and read... Then read again until you read "between the lines".....