Bug 2312545 - mgr/volumes: add earmarking for subvol
Summary: mgr/volumes: add earmarking for subvol
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
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:17 UTC by avan
Modified: 2024-11-25 09:11 UTC (History)
6 users (show)

Fixed In Version: ceph-19.1.1-49.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:02 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 67460 0 None None None 2024-09-16 12:19:37 UTC
Github ceph ceph pull 59111 0 None open mgr/volumes: add earmarking for subvol/grp 2024-09-16 12:19:37 UTC
Red Hat Issue Tracker RHCEPH-9822 0 None None None 2024-09-19 22:27:26 UTC
Red Hat Issue Tracker RHCEPH-9826 0 None None None 2024-09-16 12:18: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:17:49 UTC
Purpose:
- To prevent data corruption and ensure protocol compatibility, subvolumes  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 and attempting to do so could lead to data corruption.

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

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

Comment 10 errata-xmlrpc 2024-11-25 09:11:02 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.