LVM and VxVM

Re: Transferring disk acorss systems

 
SOLVED
Go to solution
Vishu
Trusted Contributor

Transferring disk acorss systems

Hi,
Actually i have HP9000 r-class server with hpux 10.20 in it.. I have two disks i.e c0t5d0 & c0t4d0 within vg03. I have to move both the disk to a new server and make vg03 unavailable to the users. Plz help in this case as how do i create a map file of the VG and restore the same in the new server.

Vishu

1 REPLY 1
James R. Ferguson
Acclaimed Contributor
Solution

Re: Transferring disk acorss systems

Hi Vishu:

On the old server:

# vgchange -a n vg03
# vgexport -v -s -m /tmp/vg03.mapfile /dev/vg03

...copy the mapfile to the new server

On the new server:

# insf -e -C disk
# mkdir /dev/vg03
# mknod /dev/vg03/group c 64 0x030000
# vgimport -s -m /tmp/vg03.mapfile vg03
# vgchange -a y vg03

...create your mountpoints for the logical volumes in vg03; mount the logical volumes; and edit your '/etc/fstab'

Regards!

...JRF...