Operating System - HP-UX
1830616 Members
2620 Online
110015 Solutions
New Discussion

Migrating logical volumes from DS4800 to CX380

 
d_bachelor01
Frequent Advisor

Migrating logical volumes from DS4800 to CX380

Hi Guys,

We are going to migrate our data from DS4800 to EMC CX380. What is the best way to migrate the logical volumes with all the permissions and ownerships preserved? I am thinking of using dd, cpio or lvextend. Any ideas/procedures? Server OS are HP-UX 11.23 and 11.31.


Thanks,
-jef
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: Migrating logical volumes from DS4800 to CX380

Hi:

Certainly one way is to use MirrorDisk/UX to mirror your logical volumes from the old to the new SAN. This has the advantage of minimizing downtime.

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: Migrating logical volumes from DS4800 to CX380

Shalom,

I agree that using mirror/ux which you must pay for from the core OS or application set would be a way to migrate the data from disk array to disk array.

What you would do is use this command after disk preparation is done.

lvextend -m 1

example

lvextend -m 1 /dev/vg00/lvol51 /dev/dsk/c1t1d0

After you migrate and make sure the copy is good you'll need to use lvsplit or lvextend -m 0 to break the mirrors.

You need to try this in the lab a few times so you end up with the active post split logical volume you want active. The second lvextend command or the lvsplit command should provide you such options for making the logical volume you want active after the split.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
d_bachelor01
Frequent Advisor

Re: Migrating logical volumes from DS4800 to CX380

Hi All,

I just added the new EMC disks to the same VG with DS4800 disks then use pvmove command to move the data.


Regards,
-jef