VG from ds2110 to EVA

Jorge Pons
Trusted Contributor

VG from ds2110 to EVA

RP54xx, HPUX 11.11
I have two VG (vg01,vg02)in DS2110. I want to migrate all the structures and data from SCSI ds2110 to FC EVA. I have a full backup.
I think the protocol could be (example only for vg01):
vgchange -a -n /dev/vg01
vgexport -m /tmp/ /dev/vg01
mkdir /dev/vg01
mknod /dev/vg01/group c64 0x010000
vgimport -v /dev/vg01 /dev/dsk/c12t0d0
vgchange -a y /dev/vg01
mount -a

and the restore Backup


vgcfgbackup -f /tmp/vg01.backup vg01
vgcfgrestore -f /tmp/vg01.backup -o /dev/dsk/c0t8d0 -o /dev/dsk/c0t10d0 /dev/dsk/c12t0d0

Restore Backup

What is the best way? or could be other one?


Honored Contributor

Re: VG from ds2110 to EVA

You can do:

- create VG on EVA LUN(s)
- mount on tmp mount point(s)
- copy ds2110 filesystems to EVA tmp mnts using vxdump/vxrestore
-remove ds2110 VG
- rename EVA VG and LVOLS to satisfy your requirements of maintenance of nams/vg's if there is one..

I was going to suggest the mirroring approach but I bet your DS2110 VG's are not prep'd to handle large PV sizes, right?

Hakuna Matata.
Honored Contributor

Re: VG from ds2110 to EVA

How about this?

Include the enough pvs from EVA to vg and
doing pvmove from DS2210 pvs to EVA pvs.
IF successful then doing vgreduce on ds2110 pvs.

All this if both ds2110 and EVA are accessable from system.

Or you can just prepare a new vg from EVA, create mount point. move data there and then remove old vgs.

Both your steps are correct. Make sure you have backup before you proceed.

There is no substitute to HARDWORK