I have been using Ubuntu 14.04 for a while now, but I still get confused sometimes by the directory structure. I have a 500gb harddisk (just the one partition) mounted on /.

I am running TileStache (v1.50.1) to cache VectorTiles, and I keep getting the error message that I am out of space. Even though I have around 290gb free. What is going on? How can I get my application to make use of the free space that I have (TileStache doesn't allow me to store the tiles it has created on a different partition)

This is the error I get: OSError: [Errno 28] No space left on device: '/home/muzaffar/TileStache/scripts/~/cache2/stache/tmpXoywE3.json.gz:

enter image description here

When I use gparted this is what I get: /dev/sda1 mountpoint / unused 300.21 GiB:

enter image description here

And inside the scripts folder referenced in the original error: Free space: 291.5 GB:

enter image description here

  • I think this could be a bug in TileStache. Jun 6, 2016 at 7:45
  • I have TileStache running without any such issues on multiple other systems (running Windows 7 and RHEL 7.2 ), if it's a bug, it's specific to Ubuntu. Jun 6, 2016 at 7:50
  • To reproduce it could be worth mentioning the version of TileStache you are using
    – dufte
    Jun 6, 2016 at 8:01
  • TileStache v1.50.1 is the latest version and the one I'm using. Jun 6, 2016 at 8:10

1 Answer 1


The Error in your screenshot does not refer to the HDD space as you have rightfully pointed. It refers to the size of the "Device" in this case your tilestache cache.

Please check if there some junk files or old unused cache files. If so you can safely remove them and try again. In case you require further information, refer to the following thread.


Also check how much inodes you have left,

use df -i It should return something like

Filesystem      Inodes  IUsed   IFree IUse% Mounted on
udev            489954    491  489463    1% /dev
tmpfs           492649    483  492166    1% /run
/dev/sda5      3131408 246990 2884418    8% /
none            492649      2  492647    1% /sys/fs/cgroup

if there are sufficient inodes present there should be no reason why your cache cant grow. If this dint help either, please do revert with the output from the shell.

  • Filesystem Inodes IUsed IFree IUse% Mounted on udev 1007668 483 1007185 1% /dev tmpfs 1010364 461 1009903 1% /run /dev/sda1 30269440 30132261 137179 100% / Jun 6, 2016 at 8:13
  • Apparently I am out of inodes, what can I do now? Jun 6, 2016 at 8:14
  • @HasanMustafa if you're out of inodes you can only do one thing, tar up very old files, so they only use up one inode instead of multiple, cleaning out unneeded files, etc.. Every file is an inode, as well as each process running is one, since everything on Linux is a file.
    – Videonauth
    Jun 6, 2016 at 8:43
  • @Videonauth I can't really do that since I need all the files that I am creating (The tiles that I am caching are mostly less than 1kb, so I end up with huge amount of very small files). Is there anything else i can do? from what I've read, I think my only option is to reformat a partition, increase the number of inodes and move my setup there. Jun 6, 2016 at 8:48
  • 1
    gparted to split sda1, create a filesystem with bigger number of inodes, move stcache on this, create a symlink stcache which point to new folder location
    – valentin
    Jun 6, 2016 at 12:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .