[Tiling] inodes

Andreas Trawoeger atrawog at datenscheibe.org
Fri Feb 18 09:07:19 EST 2011


Hi Gabriel!

2011/2/18 Gabriel Roldan <groldan at opengeo.org>

> just a question:
> while running a seed task I ran out of free inodes (fs type was ext4, on a
> 500GB disk, single primary partition) and started to get "no space left on
> device" errors./
> Well, reason seems obvious, and as I'm sure you already found this issue or
> knew about it, I'm wondering what you usually recomment/do when planning a
> partition to hold a tile cache.
>

I would recommend you the following things:

1. Align you partitions:
http://serverfault.com/questions/34729/how-can-i-set-the-disk-partition-alignment-using-linux-tools
2. Use LVM2: http://www.howtoforge.com/linux_lvm
3. Use many and smaller filesystems and resize them if necessary (once you
figured out LVM2 that's pretty easy to do)
4. Give XFS a try https://secure.wikimedia.org/wikipedia/en/wiki/XFS

Another good tip is to take a look at tune2fs and the mount options of your
preferred file system.

Most Linux Distros use pretty paranoid file system option that focus on
preventing data corruption first and performance second. But if you have
millions of tiles you want performance first and don't care much if a single
tile can be be corrupted in case of a server crash.

cu andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tiling/attachments/20110218/77a275fb/attachment-0001.html


More information about the Tiling mailing list