compression with tar

Posted February 20, 2018 3k views

when i try to compress a file directly into my spaces, i have the error message below:

gzip: stdout: No space left on device
gzip: write error: Operation not permitted
/bin/tar: /backup/backup.tar.gz: Wrote only 2048 of 10240 bytes
/bin/tar: Child returned status 1
/bin/tar: Error is not recoverable: exiting now

Why ?

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers

Hello @ddefosse

Looks like you destination location does not have enough space for the tar operation to run.

Make sure you have enough diskspace

df -h


Simon - SnapShooter

df -h

Filesystem Size Used Avail Use% Mounted on
s3fs 256T 0 256T 0% /opt/spaces

my digitalocean space is empty

i add this line in my /etc/fstab

s3fs#sla /opt/spaces fuse allowother,netdev,nosuid,nodev,url= 0 0