[Gluster-users] Zero byte versions in DHT volume

Vikas Gorur vikas at gluster.com
Tue Jun 8 16:10:49 UTC 2010


On Jun 8, 2010, at 4:40 AM, Dan Bretherton wrote:

> Dear All,
> 
> I have found a large number of files like the one below in a DHT volume.
> 
> ---------T  1 nobody nobody     0 2010-05-01 18:34 d80bao.daj0710
> 
> For those I have checked, a real file (i.e. non-zero size and normal
> permissions and ownership) exists on one brick and its zero byte counterpart
> is on one of the other bricks. I originally found these files by looking in
> the individual server bricks, but I discovered that I can also find them
> using the "find" command in the glusterfs DHT volume itself.  However,
> listing a directory containing these files with "ls" does not list the zero
> byte versions, but instead two copies of the normal versions are shown.
> Does anybody have an idea what is going on?  This strange behaviour is
> clearly going to confuse some users, and there are sometimes also long
> delays when listing the affected directories.  I am using GlusterFS version
> 3.0.3 now but I also noticed this behaviour in 2.0.8.  My client and server
> volume files are shown below.

These are "link files" used by the distribute translator. It needs to create these files in certain situations involving rename, etc. The link file contains a pointer to the actual file in its extended attribute. It is completely normal to have these files.

------------------------------
Vikas Gorur
Engineer - Gluster, Inc.
------------------------------











More information about the Gluster-users mailing list