Bug 2245261
Summary: | nfs exports of cephfs subvolumes path '/volumes/<VOLUME NAME>/<SUBVOLUME NAME>/.snap/...' fails to mount | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Rakshith <rar> |
Component: | Cephadm | Assignee: | Adam King <adking> |
Status: | CLOSED ERRATA | QA Contact: | Manisha Saini <msaini> |
Severity: | medium | Docs Contact: | Akash Raj <akraj> |
Priority: | unspecified | ||
Version: | 6.4 | CC: | adking, akraj, athakkar, batrick, ceph-eng-bugs, cephqe-warriors, ffilz, gfarnum, kkeithle, mpraveen, mrajanna, muagarwa, ndevos, tserlin |
Target Milestone: | --- | ||
Target Release: | 7.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ceph-18.2.1-163.el8cp | Doc Type: | Enhancement |
Doc Text: |
.Users can now mount snapshots (exports within .snap directory)
With this enhancement, users can mount snapshots (exports within `.snap` directory) to look at in a RO mode. NFS exports created with the NFS MGR module now include the `cmount_path` setting (this cannot be configured and should be left as "/") which allows snapshots to be mounted.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2024-06-13 14:22:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2231151, 2295943 |
Description
Rakshith
2023-10-20 11:22:56 UTC
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity. There are currently two approaches that could be done to get the wanted result: a. Ceph-CSI uses the same flow for NFS as it does for CephFS (mount the volume, bind-mount the .snap/... into the publish path). It needs to introduce NodeStageVolume//NodeUnStageVolume for NFS, as that is not used at the moment yet. b. NFS-Ganesha internally uses the volume root with libcephfs, but only exports access to a .snap/... directory. Franks, is option (b) maybe achievable with NFS-Ganesha already? Like setting Export.Path in combination with FSAL.Ceph. Option B maybe could work with the new cmount_path option. Set Path in the EXPORT {} to the full location. Set cmount_path in EXPORT { FSAL {} } to everything but .snap or even just to "/". I think the upstream PR for Ceph is at https://github.com/ceph/ceph/pull/53925 (In reply to Akash Raj from comment #29) > Hi Adam. > > Please provide the doc text. This is being requested to be added in the 7.1 > release notes. > > Thanks. added doc text Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Critical: Red Hat Ceph Storage 7.1 security, enhancements, and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2024:3925 |