[lustre-discuss] Understanding quotas

Nate Pearlstein darknater at darknater.org
Mon Jul 18 05:45:30 PDT 2016


I'll hazard a guess here and say that based on how lustre quotas are "quantized," space is granted in chunks and it is possible to slightly exceed ones quota based on the number of ost objects that were granted in order to meet an I/O request.  See the lustre ops manual on quotas.  Looks like like the amount granted is now exposed in the lfs quota output.

> On Jul 18, 2016, at 7:00 AM, Gibbins, Faye <Faye.Gibbins at cirrus.com> wrote:
> 
> Hi,
>  
> Thanks for replying. It’s good to know that my emails are getting through. J
>  
> H’m. 512Byte blocks you say? That’s confusing.
>  
> I know that my used quota is “88120” K, but this setting from /proc/fs/lustre/qmt/scratch-QMT0000/dt-0x0/glb-usr is 117440512 so that means that the units of this value would be 1332 Bytes surely.
>  
> Sorry I might be a little blonde here. How does 117440512 x 512Bytes = 86M?
>  
> Faye
>  
>  
>  
>  
>  
> From: Riccardo Veraldi [mailto:Riccardo.Veraldi at cnaf.infn.it] 
> Sent: 14 July 2016 01:39
> To: Gibbins, Faye <Faye.Gibbins at cirrus.com>
> Subject: Re: [lustre-discuss] Understanding quotas
>  
> 
> to answer you the mail passed through the list.
> I am not sure of the meaning of granted or I would have answered you. I am not using quotas.
> Anyway looks like is is really your used quota if we suppose that 117440512 are 512Bytes blocks
> this matches 86M
> 
> hope I have been helpful
> 
> 
> 
> On 11/07/16 07:57, Gibbins, Faye wrote:
> Hi,
>  
> Could someone please help me understand lustre quotas?
>  
> I’ve created a lustre filesystem called “scratch” using RHEL 7.2 and Lustre 2.8. When I run “lctl get_param qmt.scratch-QMT0000.dt-0x0.*” on the MDT I see for my ID the following:
>  
> - id:      20977
>   limits:  { hard:            600000000, soft:            500000000, granted:            117440512, time:                    0 }
>  
> Can someone tell me what the “granted” field is representing? I know it’s not my used quota, that’s only 86M and this value is nearer 112G.
>  
> Yours
> Faye Gibbins
>  
> Snr Systems Administrator, Unix Lead Architect (Software)
> Cirrus Logic | cirrus.com | +44 131 272 7398
> <image001.png>
>  
>  
>  
> This message and any attachments may contain privileged and confidential information that is intended solely for the person(s) to whom it is addressed. If you are not an intended recipient you must not: read; copy; distribute; discuss; take any action in or make any reliance upon the contents of this message; nor open or read any attachment. If you have received this message in error, please notify us as soon as possible on the following telephone number and destroy this message including any attachments. Thank you. Cirrus Logic International (UK) Ltd and Cirrus Logic International Semiconductor Ltd are companies registered in Scotland, with registered numbers SC089839 and SC495735 respectively. Our registered office is at Westfield House, 26 Westfield Road, Edinburgh, EH11 2QB, UK. Tel: +44 (0)131 272 7000. cirrus.com 
> 
> 
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>  
> 
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20160718/7ae49441/attachment-0001.htm>


More information about the lustre-discuss mailing list