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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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 05:44 PM.
Reason: more information