2017-06-23 18:06 GMT+02:00 John Spray <[email protected]>:

> 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
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to