compression with tar

February 20, 2018 1.3k views
Backups Storage

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
  • Hi, can you please post the command that you are using to mount your Space as a directory?

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

Have another answer? Share your knowledge.