Re: [ceph-users] cephfs quota setfattr permission denied

2019-07-31 Thread Mattia Belluco
Hi Nathan, Indeed that was the reason. With your hint I was able to find the relevant documentation: https://docs.ceph.com/docs/master/cephfs/client-auth/ that is completely absent from: https://docs.ceph.com/docs/master/cephfs/quota/#configuration I will send a pull request to include the lin

Re: [ceph-users] cephfs quota setfattr permission denied

2019-07-31 Thread Nathan Fish
The client key which is used to mount the FS needs the 'p' permission to set xattrs. eg: ceph fs authorize cephfs client.foo / rwsp That might be your problem. On Wed, Jul 31, 2019 at 5:43 AM Mattia Belluco wrote: > > Dear ceph users, > > We have been recently trying to use the two quota attrib

[ceph-users] cephfs quota setfattr permission denied

2019-07-31 Thread Mattia Belluco
Dear ceph users, We have been recently trying to use the two quota attributes: - ceph.quota.max_files - ceph.quota.max_bytes to prepare for quota enforcing. While the idea is quite straightforward we found out we cannot set any additional file attribute (we tried with the directory pinning, too

Re: [ceph-users] cephfs quota limit

2018-11-07 Thread Zhenshi Zhou
Hi Jan, Thanks for the explanation. I think I would deploy a mimic cluster and test it on a client with kernel version above 4.17. Then I may do some planning on upgrading my current cluster if everything goes fine :) Thanks Jan Fajerski 于2018年11月7日周三 下午4:50写道: > On Tue, Nov 06, 2018 at 08:57:

Re: [ceph-users] cephfs quota limit

2018-11-07 Thread Luis Henriques
Jan Fajerski writes: > On Tue, Nov 06, 2018 at 08:57:48PM +0800, Zhenshi Zhou wrote: >> Hi, >> I'm wondering whether cephfs have quota limit options. >> I use kernel client and ceph version is 12.2.8. >> Thanks > CephFS has quota support, see > http://docs.ceph.com/docs/luminous/cephfs/q

Re: [ceph-users] cephfs quota limit

2018-11-07 Thread Jan Fajerski
On Tue, Nov 06, 2018 at 08:57:48PM +0800, Zhenshi Zhou wrote: Hi, I'm wondering whether cephfs have quota limit options. I use kernel client and ceph version is 12.2.8. Thanks CephFS has quota support, see http://docs.ceph.com/docs/luminous/cephfs/quota/. The kernel has recently gained C

[ceph-users] cephfs quota limit

2018-11-06 Thread Zhenshi Zhou
Hi, I'm wondering whether cephfs have quota limit options. I use kernel client and ceph version is 12.2.8. Thanks ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Re: [ceph-users] CephFS Quota and ACL support

2018-08-28 Thread Oliver Freyermuth
Am 28.08.18 um 07:14 schrieb Yan, Zheng: > On Mon, Aug 27, 2018 at 10:53 AM Oliver Freyermuth > wrote: >> >> Thanks for the replies. >> >> Am 27.08.18 um 19:25 schrieb Patrick Donnelly: >>> On Mon, Aug 27, 2018 at 12:51 AM, Oliver Freyermuth >>> wrote: These features are critical for us, so

Re: [ceph-users] CephFS Quota and ACL support

2018-08-27 Thread Yan, Zheng
On Mon, Aug 27, 2018 at 10:53 AM Oliver Freyermuth wrote: > > Thanks for the replies. > > Am 27.08.18 um 19:25 schrieb Patrick Donnelly: > > On Mon, Aug 27, 2018 at 12:51 AM, Oliver Freyermuth > > wrote: > >> These features are critical for us, so right now we use the Fuse client. > >> My hope i

Re: [ceph-users] CephFS Quota and ACL support

2018-08-27 Thread Brett Niver
+Ilya On Mon, Aug 27, 2018 at 10:53 AM Oliver Freyermuth < freyerm...@physik.uni-bonn.de> wrote: > Thanks for the replies. > > Am 27.08.18 um 19:25 schrieb Patrick Donnelly: > > On Mon, Aug 27, 2018 at 12:51 AM, Oliver Freyermuth > > wrote: > >> These features are critical for us, so right now w

Re: [ceph-users] CephFS Quota and ACL support

2018-08-27 Thread Oliver Freyermuth
Thanks for the replies. Am 27.08.18 um 19:25 schrieb Patrick Donnelly: > On Mon, Aug 27, 2018 at 12:51 AM, Oliver Freyermuth > wrote: >> These features are critical for us, so right now we use the Fuse client. My >> hope is CentOS 8 will use a recent enough kernel >> to get those features autom

Re: [ceph-users] CephFS Quota and ACL support

2018-08-27 Thread Patrick Donnelly
On Mon, Aug 27, 2018 at 12:51 AM, Oliver Freyermuth wrote: > These features are critical for us, so right now we use the Fuse client. My > hope is CentOS 8 will use a recent enough kernel > to get those features automatically, though. Your cluster needs to be running Mimic and Linux v4.17+. See

Re: [ceph-users] CephFS Quota and ACL support

2018-08-27 Thread Sergey Malinin
It is supported in mainline kernel from elrepo. http://elrepo.org/tiki/tiki-index.php > On 27.08.2018, at 10:51, Oliver Freyermuth > wrote: > > Dear Cephalopodians, > > sorry if this is the wrong place to ask - but does somebody know if the > recently

[ceph-users] CephFS Quota and ACL support

2018-08-27 Thread Oliver Freyermuth
Dear Cephalopodians, sorry if this is the wrong place to ask - but does somebody know if the recently added quota support in the kernel client, and the ACL support, are going to be backported to RHEL 7 / CentOS 7 kernels? Or can someone redirect me to the correct place to ask? We don't have a R

Re: [ceph-users] cephfs quota

2016-12-18 Thread gjprabu
; Siva Sokkumuthu Subject: Re: [ceph-users] cephfs quota Hi David, Now we are mounted client using ceph-fuse and still allowing me to put a data above the limit(100MB). Below is quota details. getfattr -n ceph.quota.max_bytes test # file: test ceph.quota.max_bytes=&quo

Re: [ceph-users] cephfs quota

2016-12-16 Thread Goncalo Borges
: gjprabu Cc: ceph-users; Siva Sokkumuthu Subject: Re: [ceph-users] cephfs quota Hi David, Now we are mounted client using ceph-fuse and still allowing me to put a data above the limit(100MB). Below is quota details. getfattr -n ceph.quota.max_bytes test # file: test ceph.quota.max_bytes

Re: [ceph-users] cephfs quota

2016-12-16 Thread David Disseldorp
Hi Matthew, On Fri, 16 Dec 2016 12:30:06 +, Matthew Vernon wrote: > Hello, > On 15/12/16 10:25, David Disseldorp wrote: > > > Are you using the Linux kernel CephFS client (mount.ceph), or the > > userspace ceph-fuse back end? Quota enforcement is performed by the > > client, and is currently

Re: [ceph-users] cephfs quota

2016-12-16 Thread David Disseldorp
On Fri, 16 Dec 2016 12:48:39 +0530, gjprabu wrote: > Now we are mounted client using ceph-fuse and still allowing me to put a data > above the limit(100MB). Below is quota details. > > > > getfattr -n ceph.quota.max_bytes test > > # file: test > > ceph.quota.max_bytes="1" > > >

Re: [ceph-users] cephfs quota

2016-12-16 Thread Matthew Vernon
Hello, On 15/12/16 10:25, David Disseldorp wrote: > Are you using the Linux kernel CephFS client (mount.ceph), or the > userspace ceph-fuse back end? Quota enforcement is performed by the > client, and is currently only supported by ceph-fuse. Is server enforcement of quotas planned? Regards, M

Re: [ceph-users] cephfs quota

2016-12-15 Thread gjprabu
Hi David, Now we are mounted client using ceph-fuse and still allowing me to put a data above the limit(100MB). Below is quota details. getfattr -n ceph.quota.max_bytes test # file: test ceph.quota.max_bytes="1" ceph-fuse fuse.ceph-fuse 5.3T 485G 4.8T 10%

Re: [ceph-users] cephfs quota

2016-12-15 Thread gjprabu
Hi David, Thanks for your mail, We are currently using Linux kernel CephFS, Is it possible to use ceph-fuse without disturbing current setup. Regards Prabu GJ On Thu, 15 Dec 2016 15:55:12 +0530 David Disseldorp wrote Hi Prabu, On Thu, 15 D

Re: [ceph-users] cephfs quota

2016-12-15 Thread David Disseldorp
Hi Prabu, On Thu, 15 Dec 2016 13:11:50 +0530, gjprabu wrote: > We are using ceph version 10.2.4 (Jewel) and data's are mounted > with cephfs file system in linux. We are trying to set quota for directory > and files but its don't worked with below document. I have set 100mb for > dir

Re: [ceph-users] cephfs quota

2016-12-14 Thread Shinobu Kinjo
Would you give us some outputs? # getfattr -n ceph.quota.max_bytes /some/dir and # ls -l /some/dir On Thu, Dec 15, 2016 at 4:41 PM, gjprabu wrote: > > Hi Team, > > We are using ceph version 10.2.4 (Jewel) and data's are mounted > with cephfs file system in linux. We are trying to s

[ceph-users] cephfs quota

2016-12-14 Thread gjprabu
Hi Team, We are using ceph version 10.2.4 (Jewel) and data's are mounted with cephfs file system in linux. We are trying to set quota for directory and files but its don't worked with below document. I have set 100mb for directory quota but after reaching keep me allowing to put t

Re: [ceph-users] Cephfs quota implement

2016-08-24 Thread Gregory Farnum
On Wed, Aug 3, 2016 at 4:37 AM, Daleep Singh Bais wrote: > Dear all, > > Further to my Cephfs testing, I am trying to put quota on the mount I have > done on client end. I am getting error message when querying the same. > > ceph-fuse fuse.ceph-fuse 2.8T 5.5G 2.8T 1% /cephfs > > # setfat

Re: [ceph-users] CephFS quota

2016-08-14 Thread w...@42on.com
>> >> >> 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 >>

Re: [ceph-users] CephFS quota

2016-08-14 Thread Willi Fehler
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 c

Re: [ceph-users] CephFS quota

2016-08-13 Thread Willi Fehler
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

Re: [ceph-users] CephFS quota

2016-08-13 Thread Goncalo Borges
] 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 1 /mnt/ce

Re: [ceph-users] CephFS quota

2016-08-13 Thread w...@42on.com
> Op 13 aug. 2016 om 09:24 heeft Willi Fehler het > volgende geschreven: > > 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 100

[ceph-users] CephFS quota

2016-08-13 Thread Willi Fehler
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 1 /mnt/cephfs/quota But if I create files bigger than my quota nothing happens. Do I ne

[ceph-users] Cephfs quota implement

2016-08-03 Thread Daleep Singh Bais
Dear all, Further to my Cephfs testing, I am trying to put quota on the mount I have done on client end. I am getting error message when querying the same. ceph-fuse fuse.ceph-fuse 2.8T 5.5G 2.8T 1% /cephfs # setfattr -n ceph.quota.max_bytes -v 1 /cephfs/test1/ # getfa