Operating System - HP-UX
1836466 Members
1930 Online
110101 Solutions
New Discussion

transfer vg´s to system A from system B

 
Flavio Lacks
Frequent Advisor

transfer vg´s to system A from system B

I need transfer the vg´s to system A from system B, with vgexport an vgimport don´t resolv
2 REPLIES 2
Pete Randall
Outstanding Contributor

Re: transfer vg´s to system A from system B

Looks like your question was incomplete but here's the basics:

on system A -

vgchange -a n /dev/vg01
vgexport -s -m /tmp/vg01map /dev/vg01
copy /tmp/vg01map from system A to system B

on system B -

mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000 (make sure the minor number (01) is unique)
vgimport -s -m /tmp/vg01map /dev/vg01
vgchange -a y /dev/vg01

That should be all there is to it.


Pete

Pete
Suraj Singh_1
Trusted Contributor

Re: transfer vg´s to system A from system B

Deavtivate and Deport vg on system A after unmounting file systems belonging to the VG on serverA:

#vgexport -v /dev/vg03

Procedure for importing remote VG :-
On System B (Assuming disks are allready accessible on this system and device files for them is allready created)

#mkdir /dev/vgxx
#cd /dev/vgxx
#mknod group c 64 0x0?0000
?= Unique no. in this host ( Confirm by 'ls -l /dev/vg*/group' and use next available no. (0x000000,0x010000,0x020000...)

#vgimport /dev/vgxx /dev/dsk/cxtydz /dev/dsk/cx1ty1dz1 (Give address of all the disks of that vg as they are accessible on system B)

#vgchange -a y /dev/vgxx
What we cannot speak about we must pass over in silence.