Results 1 to 7 of 7

Thread: Copying large files

  1. #1
    aeronutt is offline Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    Feb 2009
    Location
    Central MD
    Beans
    853

    Question Copying large files

    So I had a few large files to copy, about 5GB each. From/to same partition. Start the copy, it says '3 minutes left', so I think....a quick solitare game. And poof...system hangs. Nada. Nothing. I wait about 5 minutes, and nada...mouse is obviously not working. Power down, reboot. And of course the new directory I was copying to doesn't even exist after a reboot. Really?

    Is there a known problem using nautilus to copy large files?
    Better way?

  2. #2
    Join Date
    Apr 2007
    Location
    SoCal
    Beans
    53
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Copying large files

    Code:
    rsync -av --progress /path/to/source/directory /path/to/target/directory
    works great for me..

    http://www.psychocats.net/ubuntu/backup

    http://www.cyberciti.biz/faq/show-pr...file-transfer/

  3. #3
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Copying large files

    Quote Originally Posted by aeronutt View Post
    ........
    Is there a known problem using nautilus to copy large files?
    Better way?
    Yes, but it depends on your hardware and Ubuntu version. This can help:

    http://www.webupd8.org/2010/11/alter...nel-patch.html
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  4. #4
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,480
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Copying large files

    Quote Originally Posted by aeronutt View Post
    So I had a few large files to copy, about 5GB each. From/to same partition. Start the copy, it says '3 minutes left', so I think....a quick solitare game. And poof...system hangs. Nada. Nothing. I wait about 5 minutes, and nada...mouse is obviously not working. Power down, reboot. And of course the new directory I was copying to doesn't even exist after a reboot. Really?

    Is there a known problem using nautilus to copy large files?
    Better way?
    No, it should work.

    If the whole computer is crashing while copying a large file, then chances are that you've got faulty RAM. Linux tries to cache as much of the file as possible in available memory, so copying a file is actually a very good test of if your RAM is working correctly.

    Try removing your RAM sticks and putting them back in. If this doesn't help, try removing one stick and see if the problem happens - if not, then the stick you took out is bad. If the problem still occurs, then it must be the other RAM stick that's faulty.
    I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.

  5. #5
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Copying large files

    Quote Originally Posted by 3rdalbum View Post
    No, it should work.

    If the whole computer is crashing while copying a large file, then chances are that you've got faulty RAM. Linux tries to cache as much of the file as possible in available memory, so copying a file is actually a very good test of if your RAM is working correctly.

    Try removing your RAM sticks and putting them back in. If this doesn't help, try removing one stick and see if the problem happens - if not, then the stick you took out is bad. If the problem still occurs, then it must be the other RAM stick that's faulty.
    I suggest that you run memtest from the grub menu. This will test your RAM thoroughly if you let it run overnight.

    I guess that you have checked that you have enough free space in the partition, where you want to copy the big files.

    You can also check the file system. Boot a live session from a CD or USB drive, for example your Ubuntu install drive. Unmount the partition and then run
    Code:
    e2fsck -f /dev/sdxy
    where x is a for the first drive and y is 1 for the first partition etc.

  6. #6
    aeronutt is offline Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    Feb 2009
    Location
    Central MD
    Beans
    853

    Re: Copying large files

    Thanks folks, great ideas.
    Enough space on partition: Yes, ok.
    File system check: Yes, ok.
    Using rsycn: I'd thought of that...but should I need to?
    Memtest: Great idea, will do!!

  7. #7
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Copying large files

    If memtest shows that the RAM is OK, I suggest that you

    1. try dcstar's link (to edit a few lines according to the instructions for Ubuntu) and/or

    2. try rsync or finally

    3. try with a live session booted from an install CD or USB drive with the newest version (beta Precise) of [KLX]Ubuntu.

Bookmarks

Posting Permissions

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