]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/mgr/volumes: Document authorize/deauthorize cli commands
authorKotresh HR <khiremat@redhat.com>
Fri, 11 Sep 2020 04:26:22 +0000 (09:56 +0530)
committerKotresh HR <khiremat@redhat.com>
Fri, 5 Mar 2021 06:50:31 +0000 (12:20 +0530)
Fixes: https://tracker.ceph.com/issues/40401
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit 1426c23ab50a4d64e1c4f1f61185117a270c8ec7)

doc/cephfs/fs-volumes.rst

index dd38e38e419bb7e6e8818314b352976f70f7e881..0dc6b94c682bf97d5766e4cd0e207c810d4c7e05 100644 (file)
@@ -173,6 +173,16 @@ The command resizes the subvolume quota using the size specified by 'new_size'.
 
 The subvolume can be resized to an infinite size by passing 'inf' or 'infinite' as the new_size.
 
+Authorize cephx auth IDs, the read/read-write access to fs subvolumes::
+
+    $ ceph fs subvolume authorize <vol_name> <sub_name> <auth_id> [--group_name=<group_name>] [--access_level=<access_level>]
+
+The 'access_level' takes 'r' or 'rw' as value.
+
+Deauthorize cephx auth IDs, the read/read-write access to fs subvolumes::
+
+    $ ceph fs subvolume deauthorize <vol_name> <sub_name> <auth_id> [--group_name=<group_name>]
+
 Fetch the absolute path of a subvolume using::
 
     $ ceph fs subvolume getpath <vol_name> <subvol_name> [--group_name <subvol_group_name>]