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). Otherwise, total size of a directory might be much smaller than one brick size. (many directories can use same brick) Min Thanks --00163646d6dcee8adf046c714bab Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div>Hello,</div><div><br></div><div>I'm a newbie at the GlusterFS and mailing list.=C2=A0</div><div>From the distribute translator document, <a href=3D"http://www.gluster.org/docs/index.php/Understanding_DHT_Translator">http://www.gluster.org/docs/index.php/Understanding_DHT_Translator</a></div> <div><br></div><div>It seems to calculate hash value based on its parent directory.</div><div><br></div><div>For example, I have 3 bricks, br1, br2, br3 and each has 100G.</div><div>And I'm going to more files on the following two directories, one is 10G and</div> <div>the other is 150G</div><div><br></div><div>/aa/* =C2=A0 =C2=A0 =C2=A0 (thousand files total 10G)</div><div>/bb/* =C2=A0 =C2=A0 =C2=A0 (tens of thousand files total 150G)</div><div><br></div><div>If files in /aa/ is mapped to br1 and =C2=A0/bb/ is mapped to br2, would the</div> <div>overflowing 50G of /bb/ be stored at one of free spaces in br1 or br3?</div><div>(min-free-disk is 0 for easier example)</div><div><br></div><div>If it is supported, how GFS can fine the overflowing files with O(1).</div> <div>Otherwise, total size of a directory might be much smaller than one brick size. (many directories can use same brick)</div><div><br></div><div><br></div><div><br></div><div><br></div><div>Min</div><div><br></div><div> Thanks</div> --00163646d6dcee8adf046c714bab--