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]
----
|