Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AIX 4.3.3 Directory Copy

Status
Not open for further replies.

Deak

Technical User
Nov 9, 2001
101
US
Hello folks, I need to find out the fastest way to move data from 1 AIX Box 4.3.2 to a New AIX Box 4.3.3. I am currantly useing remote copy (rcp) I am moveing entire directories across to a new box. Both box's are on the same network. The situation I am running into is I have over a GIG of Data to be moved & it seems to take forever. Does anyone have any ideas on how to move it a little quicker. I setup an .rhosts file, hosts.equiv file & edit the /etc/hosts to have both IP's. Does anyone have any ideas on this or is it a matter of go with the flow!
 
If you have an internal DAT tape drive on each system I would tar up the files on the 4.2 box and restore them to the 4.3 box.
 
What about tarring up to a file, compressing the file and then either rcp or send to tape the compressed tar file?

You also might want to check your NIC settings on both boxes. 1 GB is a lot of data, but it shouldn't take all that long (or is this a case of "a watched rcp never finishes?")
 
It's great with Shark or EMC, you just exportvg, move a cable, importvg and viola!
 
Other option as mentioned is using tar
from destination host

rsh <source host> &quot;cd /to/dir && tar -cBpf - .&quot; | tar -xvBpf -

This would tar files in source host and then untar it in the destination host.
Adv is you dont need to have space in source host to tar the files!!

you need to set up .rhosts to accept this user though.
 
Thanks folks for the input. I will give these a shot & see if they work any better!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top