[Gluster-devel] missing files

Benjamin Turner bennyturns at gmail.com
Wed Feb 4 00:12:34 UTC 2015


It sounds to me like the files were only copied to one replica, werent
there for the initial for the initial ls which triggered a self heal, and
were there for the last ls because they were healed.  Is there any chance
that one of the replicas was down during the rsync?  It could be that you
lost a brick during copy or something like that.  To confirm I would look
for disconnects in the brick logs as well as checking glusterfshd.log to
verify the missing files were actually healed.

-b

On Tue, Feb 3, 2015 at 5:37 PM, David F. Robinson <
david.robinson at corvidtec.com> wrote:

>  I rsync'd 20-TB over to my gluster system and noticed that I had some
> directories missing even though the rsync completed normally.
> The rsync logs showed that the missing files were transferred.
>
> I went to the bricks and did an 'ls -al /data/brick*/homegfs/dir/*' the
> files were on the bricks.  After I did this 'ls', the files then showed up
> on the FUSE mounts.
>
> 1) Why are the files hidden on the fuse mount?
> 2) Why does the ls make them show up on the FUSE mount?
> 3) How can I prevent this from happening again?
>
> Note, I also mounted the gluster volume using NFS and saw the same
> behavior.  The files/directories were not shown until I did the "ls" on the
> bricks.
>
> David
>
>
>
>  ===============================
> David F. Robinson, Ph.D.
> President - Corvid Technologies
> 704.799.6944 x101 [office]
> 704.252.1310 [cell]
> 704.799.7974 [fax]
> David.Robinson at corvidtec.com
> http://www.corvidtechnologies.com
>
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20150203/f2219a26/attachment-0001.html>


More information about the Gluster-devel mailing list