1832981 Members
3589 Online
110048 Solutions
New Discussion

Data move

 
Vikas_2
Advisor

Data move

Hi,

I have one HP server with a directly attached storage having a mix of raw volumes and the file systems. Now we want to remove the directly attached storage from this server and move the data to SAN (EMC). For this purpose we plan to fix one additional fibre card in the server and connect it to the SAN.

Can you please advise the ways to move the data from existing storage to SAN? I'm going out of thought because of exsiting raw volumes.

Regards
Vikas
5 REPLIES 5
Michael Tully
Honored Contributor

Re: Data move

Well the attachment is one thing. Suggest you create a similar volume group structure, as there is no gurantee the old V's new will be the same. The filesystems can be copied using:

# cd /orig_dir
find . | cpio -pdumv /newFS

As far as raw volumes are concerned, you will need to either backup/restore or do some sort of export if it is a database.
Anyone for a Mutiny ?
Steven E. Protter
Exalted Contributor

Re: Data move

I like Michael's approach.

I would if possible mount the san and the old storage system at the same time.

Lets say we have /oldfs and /newfs created on the san.

cd /oldfs

mv * /newfs

It preserves permissions very nicely.

That will work on cooked filesystems.

For raw fileystems I don't have an answer other than make_tape_recovery boot off the tape and restore to the new volumes. I have used this to successfully transfer raw filesytems, though I immediately laid the data down afterwards.

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
Isralyn Manalac_1
Regular Advisor

Re: Data move

For the filesystems, you can mirror the disks from your direct-attached onto EMC and then just split them.
Michael Tully
Honored Contributor

Re: Data move

You can only use the mirroring idea only if the volume groups have a similar size of LUN and you are not wasting any. Adding larger size LUN's to an existing VG will only render the LUN to the size of the first LUN that the VG was created from. If the LUN's are smaller go for it, if larger prepare for the wastebasket.
Anyone for a Mutiny ?
curt larson_1
Honored Contributor

Re: Data move

if your fine with your current vg limits
you could add your san storage into your vg's, mirror the data, unmirror your direct attached drives, vgreduce the direct attached drives.

and if you haven't striped your lv's, you could add your san storage into your vg's, pvmove the data, vgreduce the direct attached drives