Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am having an issue that I hope someone can help with.
I am connecting to a Windows 2003 file server using CIFS. I am in the process of upgrading from RHEL 4.0 to RHEL 5 and installing new harddrives. Before upgrading I backed up all of my data to the file server. Now that I have installed the new drives and RHEL 5 I am unable to restore the data which is in a 200GB tar file (If i knew then what I know now it would have been multiple tar files).
I have mounted the Windows 2003 file server using CIFS. When I copy the tar file it proceeds fine (slowly) but stops after it has copied 25GB. CP stops with the error "cp: reading 'file.tar': Cannot allocate memory". Does anyone have any suggestions as to what might be causing this problem?
Here is a little more information:
1. The data file is 200GB.
2. The copy to the file server using RHEL 4 worked fine (at least as far as I know)
3. My desktop has 8GB of RAM and 20GB swap, so hopefully it is not running out of memory. I have monitored top during the copy and have not any memory errors.
4. I have tried to untar the file directly from the share and that results in a similar error.
5. I tried to use split to copy the file in smaller chunks, but that results in a similar error as well.
6. my mount string is:
"mount -t cifs -o credentials=sambapass,uid=cameron,gid=cameron, //IP/share /home/cameron/share"
7. Neither ifconfig nor ping -f result in dropped packets.
8. As best as I can tell there are no file size quotas on my account.
ulimit -a, file size is unlimited
9. My filesystem is ext3 with a 4KB block size (should support files up to 2 TB, right?)
10. kernel version is 2.6.18-92.1.1.el5
11. My new harddrives are 2TB total, with at least 1.8 TB free on the partition that I am copying to.
12. Using the directio option in the mount string does not fix the problem.
Please let me know if there is any other useful information that might help you understand the problem.
I apologize if this is a replicate of a different thread, I was unable to find something similar when I searched.
Thanks for your help.
Last edited by ccraddock; 06-24-2008 at 04:44 PM.
Reason: more information