No subject

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)

<http://www.gluster.org/docs/index.php/Understanding_DHT_Translator>
Min

--0016364eca9e08d7f5046b931d66
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello,<div><br></div><div>I&#39;m a newbie at the GlusterFS.=A0</div><div>F=
rom the distribute translator document,=A0<a href=3D"http://www.gluster.org=
/docs/index.php/Understanding_DHT_Translator">http://www.gluster.org/docs/i=
ndex.php/Understanding_DHT_Translator</a></div>
<div><br></div><div>It seems to calculate hash value based on its parent di=
rectory.</div><div><br></div><div>For example, I have 3 bricks, br1, br2, b=
r3 and each has 100G.</div><div>And I&#39;m going to more files on the foll=
owing two directories, one is 10G and the other is 150G</div>
<div><br></div><div>/aa/* =A0 =A0 =A0 (thousand files total=A010G)</div><di=
v>/bb/* =A0 =A0 =A0 (tens of thousand files total 150G)</div><div><br></div=
><div>If files in /aa/ is mapped to br1 and =A0/bb/ is mapped to br2, would=
 the 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=A0smaller than one brick=
 size. (many directories can use same brick)</div>
<div><br></div><div><a href=3D"http://www.gluster.org/docs/index.php/Unders=
tanding_DHT_Translator"></a><br><div>Min</div></div>

--0016364eca9e08d7f5046b931d66--



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux