Bug 2039741
| Summary: | [GSS][RFE][CephFS][Add metadata information to CephFS volumes / subvolumes] | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | nravinas |
| Component: | CephFS | Assignee: | Nikhilkumar Shelke <nshelke> |
| Status: | CLOSED ERRATA | QA Contact: | Amarnath <amk> |
| Severity: | medium | Docs Contact: | Akash Raj <akraj> |
| Priority: | unspecified | ||
| Version: | 5.0 | CC: | akraj, amk, ceph-eng-bugs, gfarnum, gjose, hyelloji, kdreyer, khiremat, mmuench, mrajanna, nshelke, prasanna.kalever, rraja, tserlin, vereddy, vshankar |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | 5.2 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-16.2.8-7.el8cp | Doc Type: | Enhancement |
| Doc Text: |
.New capabilities are available for CephFS subvolumes in ODF configured in external mode
If CephFS in ODF is configured in external mode, users like to use volume/subvolume metadata to store some Openshift specific metadata information, such as the PVC/PV/namespace from the volumes/subvolumes.
With this release, the following capabilities to set, get, update, list, and remove custom metadata from `CephFS` subvolume are added.
Set custom metadata on the subvolume as a key-value pair using:
.Syntax
[source,subs="verbatim,quotes"]
----
ceph fs subvolume metadata set _VOLUME_NAME_ _SUBVOLUME_NAME_ _KEY_NAME_ _VALUE_ [--group-name _SUBVOLUME_GROUP_NAME_]
----
Get custom metadata set on the subvolume using the metadata key:
.Syntax
[source,subs="verbatim,quotes"]
----
ceph fs subvolume metadata get _VOLUME_NAME_ _SUBVOLUME_NAME_ _KEY_NAME_ [--group-name _SUBVOLUME_GROUP_NAME_ ]
----
List custom metadata (key-value pairs) set on the subvolume:
.Syntax
[source,subs="verbatim,quotes"]
----
ceph fs subvolume metadata ls _VOLUME_NAME_ _SUBVOLUME_NAME_ [--group-name _SUBVOLUME_GROUP_NAME_ ]
----
Remove custom metadata set on the subvolume using the metadata key:
.Syntax
[source,subs="verbatim,quotes"]
----
ceph fs subvolume metadata rm _VOLUME_NAME_ _SUBVOLUME_NAME_ _KEY_NAME_ [--group-name _SUBVOLUME_GROUP_NAME_ ] [--force]
----
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-09 17:36:48 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: | 2041374, 2041432, 2102272 | ||
|
Comment 40
errata-xmlrpc
2022-08-09 17:36:48 UTC
|