Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2312550

Summary: mgr/nfs: earmark resolver for subvolume
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: avan <athakkar>
Component: CephadmAssignee: avan <athakkar>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.0CC: adking, akraj, cephqe-warriors, tserlin, vereddy
Target Milestone: ---   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.1.1-88.el9cp Doc Type: Enhancement
Doc Text:
.New support for earmarking subvolumes Previously, the Ceph storage system did not support a mixed protocol being used within the same subvolume. Attempting to use a mixed protocol could lead to data corruption. With this enhancement, subvolumes have protocol isolation. The isolation prevents data integrity issues and reduces the complexity of managing multi-protocol environments, such as SMB and NFS.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-25 09:11:04 UTC Type: ---
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: 2317218    

Description avan 2024-09-16 12:25:37 UTC
This bug was initially created as a copy of Bug #2312545

I am copying this bug because: 



Purpose:
- To prevent data corruption and ensure protocol compatibility, subvolumes and subvolume groups must be restricted to a single protocol scope—either NFS-ganesha or SMB. Currently, our system does not support mixed protocol use within the same subvolume or subvolume group, and attempting to do so could lead to data corruption.

Solution:
- Implemented earmarking functionality for subvolumes and subvolume groups upon creation, ensuring that they do not share the same subvolume or subvolume group to avoid data corruption due to unsupported mixed protocol use.
    Added commands to set get/set/rm earmark from a given subvolume / subvolume group

Comment 1 Storage PM bot 2024-09-16 12:25:48 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 8 errata-xmlrpc 2024-11-25 09:11:04 UTC
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 (Red Hat Ceph Storage 8.0 security, bug fix, and enhancement updates), 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/RHBA-2024:10216