Bug 2312550 - mgr/nfs: earmark resolver for subvolume
Summary: mgr/nfs: earmark resolver for subvolume
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 8.0
Assignee: avan
QA Contact: Manisha Saini
URL:
Whiteboard:
Depends On:
Blocks: 2317218
TreeView+ depends on / blocked
 
Reported: 2024-09-16 12:25 UTC by avan
Modified: 2024-11-25 09:11 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2024-11-25 09:11:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 59726 0 None Draft Earmark nfs 2024-09-16 12:26:36 UTC
Red Hat Issue Tracker RHCEPH-9828 0 None None None 2024-09-16 12:26:03 UTC
Red Hat Product Errata RHBA-2024:10216 0 None None None 2024-11-25 09:11:08 UTC

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


Note You need to log in before you can comment on or make changes to this bug.