Re: Folder disappeared on the mount point , but exists on bricks.

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

 



On 10/20/2016 07:21 AM, yujin wrote:

yes

i check the trusted.gfid xattr for luo  on all bricks:

as below:

------
 getfattr -m . -d -e hex /data2/gluster/video/luo
getfattr: Removing leading '/' from absolute path names
# file: data2/gluster/video/luo
trusted.gfid=0x5383184bd9df49e580da03a1b8fd1105
trusted.glusterfs.dht=0x0000000100000000000000003fe3161b
------
 ll /data2/gluster/.glusterfs/53/83/
total 10932
lrwxrwxrwx 1 root    root         54 Sep 27 09:28 5383184b-d9df-49e5-80da-03a1b8fd1105 -> ../../1c/ba/1cba14ab-1e7c-4d71-be89-6424862cb673/luo
-----------

thanks .


Could you verify the same for the parent directory of luo ('video') as well?
Also, try  setting the client-log-level to DEBUG and see if you find anything in the debug messages of the mount log when you "ls  /videos_store/video/" from that client.

Thanks,
Ravi

---

On 2016年10月19日 23:47, Ravishankar N wrote:
On 10/19/2016 01:29 PM, yujin wrote:
hi all
 
   I've just had an interesting issue with our gluster storage:

   
Folder disappeared on the mount point , but exists on bricks.

e.g:  

     mount point       /videos_store
     subdirectory   "video/luo"     is exists on all bricks.
     when   "ls 
/videos_store/video/"   the  "luo" was  disappeared. on the mount point
     but 
when  "ls  /videos_store/video/luo/"  i can see all files on the "luo".
   
    

i had saw all logs. but didn't  find anything useful.

I've done the following:

1 . heal full
2.  mv
/videos_store/video/luo/ to /tmp;  then mkdir  /videos_store/video/luo/
3. mount volume to another point : /videos_store2  .
4. mount volume on  another server.


Can you check if the trusted.gfid xattr for luo exists on all bricks and that the gfid symlink inside the .glusterfs directory points to luo on all of them?
-Ravi

but The problem is still.

Versions:
* GlusterFS v3.6.1
* centos 6.6
*Distributed-Replicate  replica *2

thanks.

 



_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users




_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[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