Bug 15372 - Ceph VFS module does play well with CephFS snapshots
Summary: Ceph VFS module does play well with CephFS snapshots
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: VFS Modules (show other bugs)
Version: 4.18.0
Hardware: All Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
Depends on:
Reported: 2023-05-11 08:56 UTC by K Gopal Krishna
Modified: 2024-04-26 03:53 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description K Gopal Krishna 2023-05-11 08:56:32 UTC
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.
Comment 1 Jones Syue 2024-04-26 03:53:49 UTC
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