Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to move a file called cpmbackup.tar.gz from the folder /home/username to /home/username/public_html (and afterwards change the permission to 644 so it can be downloaded from another server with ssh wget URL.tar.gz).

But, after I move this file to public_html, only 5 or 6 gig of the 40Gig file have been moved.

I have ssh and Cpanel

share|improve this question
Are you saying you need to transfer it to another server? Or on the same system? And it's failing after transferring only 5 or 6 gig, or...? – Bart Silverstrim Oct 7 '11 at 21:02
no bart , i problem for move file from /home/username/ to home/username/public_html . – erfan Oct 7 '11 at 21:07
because i need one link for download this file back from another server – erfan Oct 7 '11 at 21:08
And it transfers 6 gig then errors out? – Bart Silverstrim Oct 7 '11 at 21:10
Can you post the commands you used to move the file? – Mark Henderson Oct 7 '11 at 21:14
up vote 2 down vote accepted

Based on your comment about using the copy command in cpanel I would suggest you are probably running out of diskspace.

You mentioned you do have ssh access available and I an unfamiliar with cpanel so if you can ssh into the server you should check your diskspace with the following command:

df -h

There is also a possibility that you are running out of inodes although unlikely since it is a single tar file.

df -i

If you have ssh access you will be much better off moving the file instead of trying to copy it.

mv /home/username/cpmbackup.tar.gz /home/username/public_html/cpmbackup.tar.gz

This will happen almost instantaneously instead of waiting and hour or more for it to copy. It also will not use up any additional disk space.

share|improve this answer
"This will happen almost instantaneously instead of waiting and hour or more for it to copy" - Assuming that the file's source and destination are on the same filesystem. – JDS Oct 8 '11 at 1:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.