]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/mgr/volumes: Document authorize/deauthorize cli commands 36998/head
authorKotresh HR <khiremat@redhat.com>
Fri, 11 Sep 2020 04:26:22 +0000 (09:56 +0530)
committerKotresh HR <khiremat@redhat.com>
Thu, 5 Nov 2020 09:59:53 +0000 (15:29 +0530)
Fixes: https://tracker.ceph.com/issues/40401
Signed-off-by: Kotresh HR <khiremat@redhat.com>
doc/cephfs/fs-volumes.rst

index 4cc22d17dbc81a2034e020d92296e671ea48a10c..d49146458315bd0e961bb91ba01f3dd7b9d6d8d8 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>]