tar: web.tar: Wrote only X of Y bytes

So you are trying to compress a directory or whatever file on your disk, probably from SSH, and experience no useful errors?

I really hate this kind of error reports:

1
2
tar: web.tar: Wrote only 6144 of 10240 bytes
tar: Error is not recoverable: exiting now

That’s tar.

If you try Gzip, it will say that there’s not enough disk space: but if you have no clue about that, or can’t use Gzip, try a

1
df -h

to find out that it really is a disk space issue.


In the mood for some more reading?

...or check the archives.