CephFS Snapshots do not know up in Windows Explorer "Previous Versions" tab when vfs_ceph is enabled. I have the following VFS modules enabled: vfs objects = acl_xattr ceph_snapshots ceph and in the samba logs, I always get a "Bad file descriptor" when samba tries to query the `ceph.snap.btime` extended attribute. However when I use the `ceph_snapshots` module WITHOUT `ceph` and share a mounted CephFS path, the snapshots show up in Windows Explorer and everything works as intended. Maybe a possible bug in vfs_ceph? Please let me know what logs and information you'd need.
Perhaps this issue is addressed by Bug #15440, which mentioned 'Bad file descriptor' too: > [2023/07/14 14:14:54.336683, 5, pid=1332465, effective(27080, 27080), real(27080, 0)] ../../source3/smbd/dosmode.c:387(fget_ea_dos_attribute) > fget_ea_dos_attribute: Cannot get attribute from EA on file samba_tests/DellInstaller_x64.exe: Error = Bad file descriptor
I verified the windows explorer previous versions with vfs_ceph (samba-4.22.0) I am not getting any "Bad file descriptor" errors and I am able to successfully restore the snapshots via previous versions tab. This issue is fixed in the latest version. (Bug #15440 is resolved samba-4.18.10 and samba-4.19.4 onwards)