ceph / ceph-csi

CSI driver for Ceph
Apache License 2.0
1.27k stars 536 forks source link

nfs: Add support for nfs shallow volumes #3997

Open Rakshith-R opened 1 year ago

Rakshith-R commented 1 year ago

Describe the feature you'd like to have

Add support for nfs shallow volumes based on cephfs shallow volumes A nfs shallow volume will need to use a different path(/.snap/) to mount volumes on node.

What is the value to the end user? (why is it a priority?)

User will benefit from the same use cases as cephfs https://github.com/ceph/ceph-csi/blob/devel/docs/design/proposals/cephfs-snapshot-shallow-ro-vol.md#use-cases for nfs.

How will we know we have a good solution? (acceptance criteria)

nfs shallow volumes should work similar to cephfs shallow volumes.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.

Rakshith-R commented 10 months ago

Currently we cannot export a path other than cephfs filesystem root or subvolume.

Therefore, we cannot expose the snaps in .snap directory. This issue maybe resolved by https://github.com/ceph/ceph/pull/53925

Moving this to next release.