[Samba] vfs_shadow_copy2 cannot read/find snapshots

Sebastian Neustein sebastian.neustein at arc-aachen.de
Wed May 24 12:38:32 UTC 2023


Hi Anoop

this might bring us closer!

Am 23.05.2023 um 19:35 schrieb Anoop C S:
>
> Can you also please check whether you can list the contents of various
> snapshots present under /srv/glvol_samba/admin/projects/.snaps from
> server?
I can see all  snapshots which are available on the gluster cluster. I 
can enter those directories and see and read all files I expect.

> In addition to that there will be a log file corresponding to the FUSE
> mount of GlusterFS volume under /var/log/glusterfs with mount point as
> log file name? Please check if there are any warning/error entries
> while trying to list previous versions from windows.
Yes, there is a file called; /var/log/glusterfs/srv-glvol_samba.log

When the error in samba occurs there are these entries:
[2023-05-24 12:30:09.764077 +0000] I [MSGID: 139001] 
[posix-acl.c:252:posix_acl_log_permit_denied] 0-posix-acl-autoload: 
client: -, gfid: 08ee40ea-8f84-4240-a6b1-e56e0d393016, 
req(uid:1001103,gid:1000513,perm:4,ngrps:20), 
ctx(uid:0,gid:0,in-groups:0,perm:000,updated-fop:INVALID, acl:-) [Keine 
Berechtigung]
[2023-05-24 12:30:09.764234 +0000] W [fuse-bridge.c:1642:fuse_fd_cbk] 
0-glusterfs-fuse: 201346: OPENDIR() /admin/projects/.snaps => -1 (Keine 
Berechtigung)

This looks like we are getting closer!

And you are right, you asked what has changed. And in the back of my 
head it rings a bell. I might have added vfs_glusterfs_fuse later on. So 
probably I used the mount point directly when it was working. But 
removing the vfs module does not heal the situation.

I am really thankful for all your effort you are putting in this!

Regards
Sebastian




More information about the samba mailing list