[Gluster-users] balancing at the distribute translator

Dongmin Yu min at hostway.co.kr
Thu Jun 18 07:31:10 UTC 2009


Hello,

 

 

>From the distribute translator document,
http://www.gluster.org/docs/index.php/Understanding_DHT_Translator
<http://www.gluster.org/docs/index.php/Understanding_DHT_Translator> 

 

It seems to calculate hash value based on its parent directory.

 

For example, I have 3 bricks, br1, br2, br3 and each has 100G.

And I'm going to more files on the following two directories, one is 10G
and

the other is 150G

 

/aa/*       (thousand files total 10G)

/bb/*       (tens of thousand files total 150G)

 

If files in /aa/ is mapped to br1 and  /bb/ is mapped to br2, would the

overflowing 50G of /bb/ be stored at one of free spaces in br1 or br3?

(min-free-disk is 0 for easier example)

 

If it is supported, how GFS can fine the overflowing files with O(1).

 

 

 

Thanks

 

 

DongMin Yu

 

HOSTWAY IDC Corp. / R&D Principal Researcher

TEL. +822 2105 6037

FAX. +822 2105 6019

CELL. +8216 2086 1357

EMAIL: min.yu at hostwaycorp.com <mailto:min.yu at hostwaycorp.com>  

Website: http://www.hostway.com <http://www.hostway.com>  

 

NOTICE:  This email and any file transmitted are confidential and/or
legally privileged and intended only for the person(s) directly
addressed.  If you are not the intended recipient, any use, copying,
transmission, distribution, or other forms of dissemination is strictly
prohibited.  If you have received this email in error, please notify the
sender immediately and permanently delete the email and files, if any.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090618/f0818991/attachment.html>


More information about the Gluster-users mailing list