On 04/03/2014 09:17 AM, Steve Thompson wrote:> Suppose one has a distributed non-replicated glusterfs file system where
> the bricks are subdirectories of real file systems, and the file systems
> also contain data outside of the brick directories. Never mind if this
> is a good idea or not; it's a thought experiment. Does glusterfs
balance
> space allocation based on the size of data contained in the bricks, or
> in the file systems, or something else?
DHT (distribution) is based solely on a hash of the file name.
There's no "balancing" in the current version.
Balancing based on file size and other criteria is on the roadmap for
future releases.
--
Kaleb