]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Added usage for pool quotas.
authorJohn Wilkins <john.wilkins@inktank.com>
Mon, 2 Jun 2014 22:31:45 +0000 (15:31 -0700)
committerJohn Wilkins <john.wilkins@inktank.com>
Mon, 2 Jun 2014 22:31:45 +0000 (15:31 -0700)
Fixes: #5653
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc/rados/operations/pools.rst

index 19d13bfc3068e7418255658a866349dee0ab46a9..61d0269fb3cb2627395bfd393864170084d57ba8 100644 (file)
@@ -184,6 +184,22 @@ placement groups for your pool.
 .. _Placement Groups: ../placement-groups
  
 
+
+Set Pool Quotas
+===============
+
+You can set pool quotas for the maximum number of bytes and/or the maximum 
+number of objects per pool. ::
+
+       ceph osd pool set-quota {pool-name} [max-objects {obj-count}] [max_bytes {bytes}] 
+
+For example:: 
+
+       ceph osd pool set-quota data max-objects 10000
+
+To remove a quota, set its value to ``0``.
+
+
 Delete a Pool
 =============