mirror of
https://github.com/ceph/ceph
synced 2025-03-10 10:19:26 +00:00
doc/cephfs: add note about CephFS extended attributes and getfattr
Supersedes https://github.com/ceph/ceph/pull/50060 Add a note on the fact that CephFS extended attributes are not printed by "getfattr /some/cephfs/dir/ -d -m -" even when the CephFS directory has some extended attributes set on it. https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/6ENI42ZMHTTP2OONBRD7FDP7LQBC4P2E/ Primary Author: Rishabh Dave <ridave@redhat.com> Co-author: Anthony D'Atri <anthony.datri@gmail.com> Signed-off-by: Zac Dover <zac.dover@proton.me>
This commit is contained in:
parent
b83fbc2ad0
commit
7f23dde6be
@ -86,3 +86,11 @@ To remove a quota::
|
||||
|
||||
setfattr -n ceph.quota.max_bytes -v 0 /some/dir
|
||||
setfattr -n ceph.quota.max_files -v 0 /some/dir
|
||||
|
||||
|
||||
.. note:: In cases where CephFS extended attributes are set on a CephFS
|
||||
directory (for example, ``/some/dir``), running ``getfattr /some/dir -d -m
|
||||
-`` will not print those CephFS extended attributes. This is because CephFS
|
||||
kernel and FUSE clients hide this information from the ``listxattr(2)``
|
||||
system call. You can access a specific CephFS extended attribute by running
|
||||
``getfattr /some/dir -n ceph.<some-xattr>`` instead.
|
||||
|
Loading…
Reference in New Issue
Block a user