Commit cf0e930
committed
mgr/smb: Add ceph_snapshots vfs module to share definition
In order to expose and manage snapshots as previous versions from
Windows we make use of the existing ceph_snapshots vfs module from
Samba. vfs_ceph_snapshots by default assumes the snap directory to
be named ".snap" with an option to configure a different name to
match the value for 'client_snapdir' parameter for CephFS client.
We follow the default behaviour to avoid further complications on
a live running cluster and thereby recommend to keep the default
for 'client_snapdir'. This limitation may slightly change in future
to dynamically detect the current snap directory name while shares
are created and not afterwards.
ref: https://www.samba.org/samba/docs/current/man-html/vfs_ceph_snapshots.8.html
Signed-off-by: Anoop C S <[email protected]>1 parent b1e4a2b commit cf0e930
File tree
3 files changed
+3
-3
lines changed- qa/suites/orch/cephadm/smb/tasks
- src/pybind/mgr/smb
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1187 | 1187 | | |
1188 | 1188 | | |
1189 | 1189 | | |
1190 | | - | |
| 1190 | + | |
1191 | 1191 | | |
1192 | 1192 | | |
1193 | 1193 | | |
| |||
0 commit comments