1

I'm copying about 800Gb of data between a samba share and a local usb attached ext4 hard drive. I'm about halfway through, and I've noticed that after a couple of hours of copying any command that I run results in (for ls):

-bash: /bin/ls: No such file or directory
Bus error

This SO answer talks about the hardware being unable to address memory anymore, and this Quora answer also points out that the issue is related to memory being unavailable. However, there isn't any good advice on how to fix/avoid the issue, or whether it is symptomatic of a more broader underlying problem.

The first time it happened I rebooted the Pi in question and restarted the copy (with no-clobber -n switch), and the system went back to normal for a few hours. Now I'm getting the same issue again. Is anyone else experiencing this, and is there any advice for avoiding/fixing?

Edit

The Pi is attached to a 1.2A capable wall plug, external HDD is independently powered and is connected to the Pi by a powered USB hub.

asked Dec 14, 2013 at 23:25
7
  • 1
    what's your power source for Raspi and local usb attached HDD ? Commented Dec 15, 2013 at 10:40
  • When copying large amounts of data I prefer to use rsync, as it can resume transfers, if something goes wrong. Not sure if this would fix your problem though. Commented Dec 15, 2013 at 18:47
  • anything strange in output of dmesg command? Commented Dec 16, 2013 at 10:25
  • @KrzysztofAdamski I'm not really familiar with dmesg, is there anything in particular I should look for? Nothing is jumping out at me, but does dmesg persist its messages across reboots? Commented Dec 19, 2013 at 7:36
  • @mrmagooey: We are looking for some network related errors, and something from CIFS filesystem or USB subsystem. Dmesg message does not persist across reboots. Commented Dec 19, 2013 at 7:52

1 Answer 1

1

The rpi can be iffy under high cpu load. use nice and rsync with a bandwidth limit. Update to the latest firmware. 15TB sync no problem.

answered May 10, 2015 at 0:36
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.