Find the answer to your Linux question:
Results 1 to 3 of 3
Hi All, I need to transfer about 50 GB from my linux machine to the windows one. So I mounted my windows share and executed: cp -r /home/nahum/Music/* . It ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    6

    Transfering big amount of data using cp

    Hi All,

    I need to transfer about 50 GB from my linux machine to the windows one. So I mounted my windows share and executed:

    cp -r /home/nahum/Music/* .
    It copied about 20 GB but then it says "cp: cannot stat `./The Doors_': Cannot allocate memory"
    There is more then enough space on the destenation machine.

    What is worng?

    Thanks,
    Nahum

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Remember, Windows file systems are case-insensitive, so it may well be that this is a misleading error and the real problem is a duplicate (to Windows' eyes at least) file already there. Check for that.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    FWIW, it well may be that cp cannot copy the file because of internal memory limitations and buffering needs. You can use rsync or dd as well to copy the files to the remote system.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...