"No space left on device" error when there should be space
I have a droplet that has been collecting some data for me, I now want to run a python script, which fails as follows:
out = open('data.tsv', 'w') IOError: [Errno 28] No space left on device: '/data.tsv'
The problem is, I think there should be plenty of space. Running df -h produces the following:
Filesystem Size Used Avail Use% Mounted on udev 235M 4.0K 235M 1% /dev tmpfs 50M 344K 49M 1% /run /dev/disk/by-label/DOROOT 20G 6.8G 12G 37% / none 4.0K 0 4.0K 0% /sys/fs/cgroup none 5.0M 0 5.0M 0% /run/lock none 246M 0 246M 0% /run/shm none 100M 0 100M 0% /run/user
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.