Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Sep 1998 19:52:37 -0400
From:      "Christopher J. Michaels" <cjm2@earthling.net>
To:        Lanny Baron <beef@cybertouch.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: setting quotas on filesystem
Message-ID:  <35F07D45.CC2558BA@earthling.net>
References:  <Pine.BSF.3.96.980903164208.382A-100000@beef.cybertouch.org>

next in thread | previous in thread | raw e-mail | index | archive | help


Lanny Baron wrote:

>         Hello,
>
>         I have read the man page on edquota. I just need to understand one
> thing. It speaks of editting soft and hard limits. If for example i want
> the default in the group user to be 10 megs. How would I translate that to
> blocks? 1 block =1024 bytes? Which means setting the hard limit to 9765
> and then the soft limit for 15 megs would be 14,648 ?
>

Yes and no.  1 block = 1024 bytes, that is correct.  But you have the quota's
wrong.  You would want the SOFT quota to be 9,765 and the HARD quota to be
14,648.When the SOFT quota is reached it will start warning the user they are
over quota and give them 7 (?) days to bring it under the quota.  The HARD
quota is like a brick wall, it is the absolute maximum that user may have on
disk.

> Quotas for group user:
> /home: blocks in use: 450549, limits (soft = 0, hard = 0)
>         inodes in use: 1079, limits (soft = 0, hard = 0)
>
> If i understand this right, the current quota is 0 nothing.

correct

>
>
>         Thank you for your help
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35F07D45.CC2558BA>