[Gluster-users] Issue with duplicated files in gluster 3.10

Andrea Fogazzi foggy at fogazzi.com
Mon Mar 13 17:09:44 UTC 2017


Hello Ravi,

thanks for your help.

I confirm that, based on our tests, setting at off parallel-readdir solve the double file in ls; we will verify more on our large file system, but until now it seem's work ok.


Thanks also for pointing out that the parallel-readdir is experimental.


Best regards,

andrea

________________________________
From: Ravishankar N <ravishankar at redhat.com>
Sent: Monday, March 13, 2017 2:24 PM
To: Luca Gervasi; Andrea Fogazzi; gluster-users at gluster.org
Subject: Re: [Gluster-users] Issue with duplicated files in gluster 3.10

On 03/13/2017 06:41 PM, Luca Gervasi wrote:
> Is this setting willing to avoid the cration of dupes or to fix the
> situation live?


The linkto files are not duplicates. They're created when you rename a
file and the file hashes to a different suvolume of dht. When you issue
readdir, dht normally 'filters out' the linkto files so that they don't
appear on the mount.
parallel-readdir option has a bug which interferes with dht's filtering,
so disabling this option until the bug is fixed should work on your live
system.
-Ravi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170313/6080f2b9/attachment.html>


More information about the Gluster-users mailing list