Copying files between two servers


 
Thread Tools Search this Thread
Operating Systems AIX Copying files between two servers
# 1  
Old 08-12-2012
Copying files between two servers

Hi,
I have a 60 GB file (tar file) in server1 and I have mounted server2 (using nfs mount) on server1 and then I am copying the file from server1 to server2. Even after 6 hours, the file copying is still not completed.

It has just copied 20 GB of file so far.

Please help me identify this issue.

i have done the mount using
Code:
mount -V nfs -o rw <server2 ip address>:/u01 /mnt

qAnand


Moderator's Comments:
Mod Comment Please use code tags next time for your code and data.

Last edited by zaxxon; 08-13-2012 at 08:24 AM.. Reason: code tags
# 2  
Old 08-13-2012
Check the maximal transfer rate on your network between both servers. Check if a manual ftp or scp etc. is faster than the nfs mount.
Check if there is any kind of performance problem on one of the server ie. it is too busy CPU, memory or disk wise.


Added:
Also check what nfsstat shows, maybe retransmitts or other errors etc.

Last edited by zaxxon; 08-13-2012 at 08:38 AM.. Reason: added info
# 3  
Old 08-13-2012
Does it have to be NFS mount in order to copy the file? NFS is not always the best way to go.

Can you use other utilities such as 'scp' or 'rsync' to name a couple? If you have mixed up versions of NFS installed on the different servers you may not be able to achieve the throughput you are looking for. Look at nfsstat as mentioned above.
# 4  
Old 08-14-2012
why not use scp? it should be faster.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script for connecting multiple servers and then copying 30 days old files

Shell script for connecting multiple servers and then copying 30 days old files from those server . HI , I have 6 multiple servers pla1,pla2,pla3,pla4,pla5,pla6 1. These six servers have common shared mount point /var/share 2. Running script from /var/share to connect these servers.I... (1 Reply)
Discussion started by: rcroyal88
1 Replies

2. Shell Programming and Scripting

Copying files

I'm trying to do this exact same thing, so far I have created this to move files i've named my script CP.sh #!/bin/bash cd /root/my-documents/NewDir/ for f in *.doc do cp -v $f root/my-documents/NewDir $f{%.doc} done When i go to run this in the console i type, bin/sh/ CP.sh but it... (7 Replies)
Discussion started by: MKTM_93_SIMP
7 Replies

3. UNIX for Dummies Questions & Answers

Help with Copying files between two remote servers

Hi All, Please help me for a shell. I am a New to unix I am trying to DB dump file from one server and copying it to another server. From My Local ServerA connecting to remote ServerB using ssh and taking dump of a instance. That Dump file i need to copy to ServerC. I am able to connect... (6 Replies)
Discussion started by: maddyd2k
6 Replies

4. Shell Programming and Scripting

Files copying - [ Listed files alone. ] - Shell script

Hi All, I am doing this for svn patch making. I got the list of files to make the patch. I have the list in a file with path of all the files. To Do From Directory : /myproject/MainDir To Directory : /myproject/data List of files need to copy is in the file: /myproject/filesList.txt ... (4 Replies)
Discussion started by: linuxadmin
4 Replies

5. Shell Programming and Scripting

Copying Files

Hi All, I'm trying to list some files from my log directory and files are like this log.20110302_20.gz log.20110302_21.gz log.20110302_22.gz log.20110302_23.gz log.20110303_00.gz log.20110303_01.gz log.20110303_02.gz ............ log.20110311_22.gz log.20110311_23.gz... (2 Replies)
Discussion started by: thelakbe
2 Replies

6. UNIX for Dummies Questions & Answers

Copying files from unix servers to other locations e.g. C directory

Hi, I am just wondering is it possible to move or copy a file from a UNIX server to a different location e.g. the C drive on a computer? I have used the cp command to move files to different locations on unix servers but it would be handy to move a file to my C drive. I am currently... (3 Replies)
Discussion started by: crunchie
3 Replies

7. UNIX for Advanced & Expert Users

copying of files by userB, dir & files owned by userA

I am userB and have a dir /temp1 This dir is owned by me. How do I recursively copy files from another users's dir userA? I need to preserve the original user who created files, original group information, original create date, mod date etc. I tried cp -pr /home/userA/* . ... (2 Replies)
Discussion started by: Hangman2
2 Replies

8. AIX

How-to: copying gzip on other servers

We have 22 servers where 3 of them have gzip 1.2.4 installed on our AIX 4.2 . If I want to copy that gzip unto all the other servers, is it simply a matter of compying the /usr/local/bin/gzip or do I also have to copy other files (librairies, ...) ? I sent an email to the gzip support group... (10 Replies)
Discussion started by: Browser_ice
10 Replies

9. Shell Programming and Scripting

copying files

hi I want to copy all files from the current directory and move to .archive file. Moreover,I want to add .bak to each file name, that will be copied. How can I do that? (4 Replies)
Discussion started by: tjay83
4 Replies

10. Solaris

Copying Files and

I am new user to solaris and installed solaris operating system on full Harddisk 120Gb. I am unable to copy music files to desktop and /home directory. One thing happened while registering is- i entered login-root and its password. The message prompted your system is crashed. Is it because of... (1 Reply)
Discussion started by: patilmukundraj
1 Replies
Login or Register to Ask a Question