On Fri, Dec 10, 2010 at 04:34:13PM -0200, Friedrich Locke wrote:
> Dear folks,
>
> i am trying to set quota for a user and a grace period too. I am using
> edquota to manage this, but when a try to to execute repquota -a no
> information about grace period is show! Here you have:
>
> lion# edquota sioux
> Quotas for user sioux:
> /: KBytes in use: 5582, limits (soft = 100000, hard = 128000)
> inodes in use: 751, limits (soft = 0, hard = 0)
> lion# edquota -t
> Time units may be: days, hours, minutes, or seconds
> Grace period before enforcing soft limits for users:
> /: block grace period: 0 days, file grace period: 7 days
>
>
> but when i:
>
> lion# repquota -a
> KByte limits File limits
> User used soft hard grace used soft hard grace
> wheel -- 2246480 0 0 183189 0 0
> daemon -- 442 0 0 78 0 0
> kmem -- 256 0 0 9 0 0
> tty -- 24 0 0 4 0 0
> operator -- 326 0 0 1134 0 0
> bin -- 951738 0 0 31015 0 0
> wsrc -- 651276 0 0 74845 0 0
> auth -- 2566 0 0 14 0 0
> games -- 1664 0 0 123 0 0
> staff -- 2 0 0 1 0 0
> smmsp -- 814 0 0 59 0 0
> _sshagnt -- 60 0 0 1 0 0
> utmp -- 296 0 0 2 0 0
> _lkm -- 6 0 0 2 0 0
> _radius -- 16 0 0 1 0 0
> _token -- 16 0 0 1 0 0
> _shadow -- 80 0 0 2 0 0
> crontab -- 66 0 0 7 0 0
> network -- 490 0 0 3 0 0
> named -- 12 0 0 6 0 0
> authpf -- 20 0 0 2 0 0
> dialer -- 2 0 0 32 0 0
> its -- 4140 0 0 202 0 0
> asd -- 1442 0 0 547 0 0
> dba -- 10870 0 0 121 0 0
> ord -- 26454 0 0 388 0 0
>
> KByte limits File limits
> User used soft hard grace used soft hard grace
> root -- 3865380 0 0 290408 0 0
> daemon -- 4 0 0 2 0 0
> bin -- 170 0 0 27 0 0
> smmsp -- 164 0 0 57 0 0
> uucp -- 6 0 0 34 0 0
> sioux -- 5582 100000 128000 751 0 0
> mysql -- 1798 0 0 121 0 0
> grios -- 4 0 0 2 0 0
> neliton -- 26430 0 0 376 0 0
> edson -- 4 0 0 2 0 0
> ulisses -- 8 1048576 1572864 4 16384 32768
> drios -- 8 1048576 1572864 4 16384 32768
>
>
>
> You see, no information is showed about the grace period! Why? May you help
> me?
The grace column shows the reminaing time of grace. This is only
relvant after the user has hit the soft limit,
-Otto