Supponiamo che voglia settare una quota di 10 MB su /shared/home/sgaravat (dove /shared monta un filesystem ceph o una sua porzione)


[root@c-fs-client-01 ceph]# setfattr -n ceph.quota.max_bytes -v 10000000 /cephfs/terabithome/home/sgaravat


Verifico:


[root@c-fs-client-01 ceph]# getfattr -n ceph.quota.max_bytes /cephfs/terabithome/home/sgaravat
getfattr: Removing leading '/' from absolute path names
# file: cephfs/terabithome/home/sgaravat
ceph.quota.max_bytes="10000000"


  • No labels