On 09/09/2015 03:22 PM, wodel youchi wrote:
Hi,

I quite new on GlusterFS

Since the arbiter does not hold any data, how to choose it's size compared to the other 2 bricks?

Regards


It depends on the maximum number of inodes (`df -i` ) any of the other 2 normal bricks can hold. The recommended inode size is 512 bytes but since we store various gluster xattrs and possibly application's xattrs on the file, I think 8KB per file is a good estimate. So "8KB x max. no. of inodes " should be good for the worst case. If you have some idea of the max. number of files you would actually be filling the bricks with, that multiplied by 8KB works too as a practical estimate.

I hope I've not made any oversight in these calculations.

-Ravi
_______________________________________________
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Reply via email to