diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-23 16:45:17 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-23 16:45:44 +0000 |
commit | 17d6a993fc17d533460c5f40f3908c708e057c18 (patch) | |
tree | 1a3bd93e0ecd74fa02f93a528fe2f87e5314c4b5 /doc/cephfs/quota.rst | |
parent | Releasing progress-linux version 18.2.2-0progress7.99u1. (diff) | |
download | ceph-17d6a993fc17d533460c5f40f3908c708e057c18.tar.xz ceph-17d6a993fc17d533460c5f40f3908c708e057c18.zip |
Merging upstream version 18.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/cephfs/quota.rst')
-rw-r--r-- | doc/cephfs/quota.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/cephfs/quota.rst b/doc/cephfs/quota.rst index 0bc56be12..e78173bcc 100644 --- a/doc/cephfs/quota.rst +++ b/doc/cephfs/quota.rst @@ -21,6 +21,14 @@ value:: setfattr -n ceph.quota.max_bytes -v 100000000 /some/dir # 100 MB setfattr -n ceph.quota.max_files -v 10000 /some/dir # 10,000 files +``ceph.quota.max_bytes`` can also be set using human-friendly units:: + + setfattr -n ceph.quota.max_bytes -v 100K /some/dir # 100 KiB + setfattr -n ceph.quota.max_bytes -v 5Gi /some/dir # 5 GiB + +.. note:: Values will be strictly cast to IEC units even when SI units + are input, e.g. 1K to 1024 bytes. + To view quota limit:: $ getfattr -n ceph.quota.max_bytes /some/dir |