Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
1  
Turns out it was the external case dying. Don't buy Fujicom. –  Justin Alexander Sep 25 '11 at 8:39

3 Answers 3

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

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

 
discard

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.