Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mgr/volumes: set, get, list and remove custom metadata for subvolume
If CephFS in ODF configured in external mode, user like to use volume / subvolume metadata to store some Openshift specific information, as the PVC / PV / namespace the volumes / subvolumes are coming from. For RBD volumes, it's possible to add metadata information to the images using the 'rbd image-meta' command. However, this feature is not available for CephFS volumes. We'd like to request this capability. Adding following commands: ceph fs subvolume metadata set <vol_name> <sub_name> <key_name> <value> [<group_name>] ceph fs subvolume metadata get <vol_name> <sub_name> <key_name> [<group_name>] ceph fs subvolume metadata ls <vol_name> <sub_name> [<group_name>] ceph fs subvolume metadata rm <vol_name> <sub_name> <key_name> [<group_name>] [--force] Fixes: https://tracker.ceph.com/issues/54472 Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
- Loading branch information
Showing
6 changed files
with
205 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters