Hello guys,

I found this in the documentation.

1. /Quotas are not yet implemented in the kernel client./Quotas are
   supported by the userspace client (libcephfs, ceph-fuse) but are not
   yet implemented in the Linux kernel client.

I missed this. Sorry.

Regards - Willi


Am 14.08.16 um 08:54 schrieb Willi Fehler:
Hello guys,

my cluster is running on the latest Ceph version. My cluster and my client are running on CentOS 7.2.

ceph version 10.2.2 (45107e21c568dd033c2f0a3107dec8f0b0e58374)

My Client is using CephFS, I'm not using Fuse. My fstab:

linsrv001,linsrv002,linsrv003:/ /mnt/cephfs ceph noatime,dirstat,_netdev,name=cephfs,secretfile=/etc/ceph/cephfs.secret 0 0

Regards - Willi


Am 13.08.16 um 13:58 schrieb Goncalo Borges:
Hi Willi
If you are using ceph-fuse, to enable quota, you need to pass "--client-quota" option in the mount operation.
Cheers
Goncalo

________________________________________
From: ceph-users [ceph-users-boun...@lists.ceph.com] on behalf of Willi Fehler [willi.feh...@t-online.de]
Sent: 13 August 2016 17:23
To: ceph-users
Subject: [ceph-users] CephFS quota

Hello,

I'm trying to use CephFS quaotas. On my client I've created a
subdirectory in my CephFS mountpoint and used the following command from
the documentation.

setfattr -n ceph.quota.max_bytes -v 100000000 /mnt/cephfs/quota

But if I create files bigger than my quota nothing happens. Do I need a
mount option to use Quotas?

Regards - Willi

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to