[Samba] vfs_shadow_copy2 cannot read/find snapshots

Anoop C S anoopcs at samba.org
Mon May 22 13:27:09 UTC 2023


On Mon, 2023-05-22 at 14:46 +0200, Sebastian Neustein via samba wrote:
> Until here, from my point of view, everything works as expected.
> 
> But when I try to access a previous version of a file from a windows 
> client, samba logs:
> [2023/05/22 10:39:52.278407,  1] 
> ../../source3/modules/vfs_shadow_copy2.c:2222(shadow_copy2_get_shadow
> _copy_data)
>    shadow_copy2_get_shadow_copy_data: SMB_VFS_NEXT_OPEN failed for 
> '/srv/glvol_samba/admin/projects/.snaps' - Permission denied

Can you check whether "features.show-snapshot-directory" gluster volume
option is set to 'on'?

# gluster volume get <VOLNAME> features.show-snapshot-directory


Thanks,
Anoop C S.



More information about the samba mailing list