Operating System - HP-UX
1833772 Members
2389 Online
110063 Solutions
New Discussion

Data Migration from old DS2100 to new DS2120

 
SOLVED
Go to solution
Jun H. Lee
Advisor

Data Migration from old DS2100 to new DS2120

I need help to migrate data from old DS2100 with 4x36GB disks to a new DS2120 with 3x146GB.
What is the best way to do this kind of job? Please note that, the source has 4 disks but destination has only 3 disks. I am thinking to use "dd" commend. Some how, I need to put two source disks into one disk.

Is there anyway I can do this?
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Data Migration from old DS2100 to new DS2120

dd is not the tool for this. You will wind up with 3 disks and only 36GiB on each disk will be usable. The most straightforward way is to create a new volume group, make new LVOL's, create filesystems, mount them, and then logically copy the data. An fbackup | frecover pipeline is probably the fastest method to handle large files and preserve the ownerships and modes of all the files and directories. You wanted something quick and dirty but you asked the wrong question.
If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: Data Migration from old DS2100 to new DS2120

Shalom,

I recommend creating logical volume structure and then either use the cp -R command or a backup/restore with fbackup to be sure everything works.

Make sure any databases are shut down during the backup stage, those applications can't be hot when the copy occurs. Take note of raw disk areas, and don't forget them.

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
Jun H. Lee
Advisor

Re: Data Migration from old DS2100 to new DS2120

Thanks all.
Is there any chance for using mirror?
A. Clay Stephenson
Acclaimed Contributor

Re: Data Migration from old DS2100 to new DS2120

That is not realistic. The max_pe's and pe_size are set when a VG is first created and normally default to values which accomodate the largest disk (PV) listed when vgcreate was executed. Unless you specifically set these values to allow the full use of your larger disks (highly unlikely) when you created the VG, you will only be able to use 36GiB's or so of your new disks. The newest versions of HP-UX have abilities to changes these values but otherwise it's a logical copy. I specifically suggested an fbackup/frecover pipeline because that way all file attributes are preserved. That is a bit tricky using cp -r. As Steven, correctly pointed out, if you are actually storing data as raw files then your tool is dd but for everything else logical copies are appropriate.
If it ain't broke, I can fix that.
Jun H. Lee
Advisor

Re: Data Migration from old DS2100 to new DS2120

Thank you very much.