Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a 5.3GB tar file, located on a BTRFS partitioned eSATA drive. When trying to copy the file to another disk, or expand the tar the process seems to freeze. No errors are generated, and waiting doesn't seem to bear any fruit.

When booted from this eSATA (64bit OS) I manage to copy no more than 12MB of the file, and when booted from another drive(32bit OS) I copy 361.4MB ( before freezing).

share|improve this question
Do any errors appear in the system logs (/var/log/kern.log or wherever your unix variant puts the kernel logs)? What unix variant is this anyway, what implementation of tar (and which versions)? Did you do a RAM test recently? – Gilles Jun 23 '11 at 22:36
Turns out it was the external case dying. Don't buy Fujicom. – Justin Alexander Sep 25 '11 at 8:39

Which distro are you using? BTRFS is still pretty recent, so it helps to have a recent implementation of it.

Could this be a disk problem? Does the disk make any unusual noises? Could it be a computer problem? Does the computer you're using hang at other occations as well? What does dmesg say?

Try using ionice when copying the file over, to lower the io speed. It might help.

Also, trying a different io scheduler may be worth investigating.

share|improve this answer

Perhaps the data is being copied too quickly. You could use a program like pv to both view the progress of the stream and set a rate limit. Not much, I know, but at least it'll let you do some trial and error.

share|improve this answer
Too quickly for what? – not-a-user Jan 18 at 14:37
@not-a-user Too quickly for the onboard buffers to keep up? Too quickly for the heat sinks to leech off the heat generated from it? There are a lot of ways a drive can fail. – amphetamachine Jan 19 at 16:20

BTRFS is still an experimental filesystem expected to have bugs. You should report the bug on the mailing list.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.