Re: CephFS quota

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

 



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-bounces@xxxxxxxxxxxxxx] on behalf of Willi Fehler [willi.fehler@xxxxxxxxxxx]
Sent: 13 August 2016 17:23
To: ceph-users
Subject:  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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
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