Re: when I set quota on CephFS folder I have this error => setfattr: /mnt/cephfs/foo: Invalid argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2017-06-23 18:06 GMT+02:00 John Spray <jspray@xxxxxxxxxx>:
I can't immediately remember which version we enabled quota by default
in -- you might also need to set "client quota = true" in the client's
ceph.conf.


I need to set this option only on host where I want to mount volume? or on all mds hosts?

What I did:

* umount /mnt/cephfs/
* add this lines:

[client]
client quota = true

to /etc/ceph/ceph.conf

* ceph-fuse /mnt/cephfs/

And I have always this errors:

root@ceph-test-1:/mnt/cephfs# getfattr -n ceph.quota.max_bytes /mnt/cephfs/foo
/mnt/cephfs/foo: ceph.quota.max_bytes: No such attribute
root@ceph-test-1:/mnt/cephfs# cd /mnt/cephfs/
root@ceph-test-1:/mnt/cephfs# getfattr -n ceph.quota.max_bytes foo
foo: ceph.quota.max_bytes: No such attribute
root@ceph-test-1:/mnt/cephfs# setfattr -n ceph.quota.max_bytes -v 1000000000 foo
setfattr: foo: Invalid argument

Best regards,
Stéphane
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux