Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 1999 11:22:53 -0400
From:      "Christopher J. Michaels" <cjm2@earthling.net>
To:        "Andy V. Oleynik" <andyo@prime.net.ua>
Cc:        "FreeBSD Mailing List" <questions@FreeBSD.ORG>
Subject:   RE: How often are quota's updated?
Message-ID:  <000201bebd8c$43602c80$0200000a@shithead.weeble.dyndns.org>
In-Reply-To: <3770C4FE.22D82CFD@prime.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Man do I feel like an idiot.  I could SWEAR that I changed that to YES
before.  Oh well.

Thank you for pointing out my mistake.  Guess I need to do a better job of
proofreading my mail.  ;^)

-Chris


-----Original Message-----
From: root@volodya.prime.net.ua [mailto:root@volodya.prime.net.ua]On
Behalf Of Andy V. Oleynik
Sent: Wednesday, June 23, 1999 7:29 AM
To: Christopher J. Michaels
Cc: FreeBSD Mailing List
Subject: Re: How often are quota's updated?


"Christopher J. Michaels" wrote:

> How often are quota's updated in 3.2-STABLE?  I seem to remember the
output
> of quota -v being fairly close to realtime on my 2.2.8-STABLE system.  Now
> it seems I have to run quotacheck before quotas get updated.
>
> Did I do something wrong this time around?  Since this machine only gets
> rebooted when necessary, it appears to be a problem.
>
> ----
> 7:56pm [cjm2@cartman] ~ -> quota -v
> Disk quotas for user cjm2 (uid 1000):
>      Filesystem  blocks   quota   limit   grace   files   quota   limit
> grace
>            /usr   40821  100000       0             634       0       0
> 7:56pm [cjm2@cartman] ~ -> dd if=/dev/zero of=test count=500000
> 500000+0 records in
> 500000+0 records out
> 256000000 bytes transferred in 44.412038 secs (5764203 bytes/sec)
> 7:59pm [cjm2@cartman] ~ -> du -d 0
> 289307  .
> 7:59pm [cjm2@cartman] ~ -> quota -v
> Disk quotas for user cjm2 (uid 1000):
>      Filesystem  blocks   quota   limit   grace   files   quota   limit
> grace
>            /usr   40821  100000       0             634       0       0
> ----
>
> I know I'm over quota at this point... this could be a security risk,
> someone could just fill my file system and I'd be none the wise since it
> doesn't seem to keep up with these things.
>
> Now I KNOW something's wrong.  Check the following output out... after
I've
> run quotacheck it says that I'm over quota.
>
> ----
> 8:03pm [cjm2@cartman] ~ -> quota -v
> Disk quotas for user cjm2 (uid 1000):
>      Filesystem  blocks   quota   limit   grace   files   quota   limit
> grace
>            /usr  292220* 100000       0    none     670       0       0
> 8:04pm [cjm2@cartman] ~ -> cat > test2
> This is a test of my quotas
> 8:04pm [cjm2@cartman] ~ ->
> ----
>
> and file test2 does exist.  So it's not even enforcing quotas at all.
What
> did I do wrong?
>
> ----
> 8:04pm [cjm2@cartman] /etc -> grep quota /etc/rc.conf
> check_quotas="YES"              # check quotas on startup (or NO)
> enable_quotas="NO"              # turn on quotas on startup (or NO).
> ----

Here U have quota turned off. Do U run it later by quotaon?

>
>
> Also, options QUOTA is in my kernel config, and I have rebuilt and
installed
> the kernel, several times, and I did do a make clean.
>
> What have I missed?
>
> -Chris
>
> "f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng."
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

--
WBW  Andy V. Oleynik  (When U work in virtual office
                       U have good chance to obtain virtual money ö%-)





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?000201bebd8c$43602c80$0200000a>