Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 1999 10:54:37 -0000
From:      "Joao Pedras" <bfe00350@mail.telepac.pt>
To:        cjclark@home.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Weird quota
Message-ID:  <19990225105336.BBUD28085@[194.65.206.137]>
In-Reply-To: <199902240351.WAA28009@cc942873-a.ewndsr1.nj.home.com>
References:  <XFMail.990223222545.jpedras@mail.telepac.pt> from Joao Pedras at "Feb 23, 99 10:25:45 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
From:           	"Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
Subject:        	Re: Weird quota
To:             	jpedras@mail.telepac.pt (Joao Pedras)
Date sent:      	Tue, 23 Feb 1999 22:51:32 -0500 (EST)
Copies to:      	freebsd-questions@FreeBSD.ORG, bfe00350@mail.telepac.pt
Send reply to:  	cjclark@home.com

> Joao Pedras wrote,
> > 
> > >> I'm having this strange problem with quota : after configuring and 
> > >> enabling quota (which works perfectly!), I wanted it to start during 
> > >> the boot process. I changed the variable "quotaenable" in rc.conf to 
> > >> "YES" and I can't get it to start. I cheched rc for something unusual 
> > >> and all seems ok. Seems it doesn't read that quotaon -a in rc . 
> > >> Currently I am starting it through rc.local but I would like to solve 
> > >> this strange behavior.
> > >> Did I miss something ?
> > > 
> > > What version of FreeBSD are you running? My 2.2.x machines have a
> > > 'check_quota' variable to set in the /etc/rc.conf. A quick look in
> > > /etc/rc shows that it is indeed the one that is checked.
> > 
> > I'm running 3.1-stable from last sunday afternoon.... and I have that variable
> > set in rc.conf.
> 
> I asked because of the reference to 'quotaenable.' I do not know what
> that is. Does the line,
> 
> checking quotas: done
> 
> Pop up when you boot?
> -- 
> Crist J. Clark                           cjclark@home.com

No. That's what I meant... Seems it doesn't read those lines in rc. I 
even try to add the complete path in those lines in /etc/rc

# Check the quotas (must be after ypbind if 
using NIS)[ "X${check_quotas}" = X"YES" ]; then
	echo -n 'checking quotas:'
	/usr/sbin/quotacheck -a
	echo ' done.'
	/usr/sbin/quotaon -a

originally was 

# Check the quotas (must be after ypbind if 
using NIS)[ "X${check_quotas}" = X"YES" ]; then
	echo -n 'checking quotas:'
	quotacheck -a
	echo ' done.'
	quotaon -a


Either way it's like they are not there...

But I can assure you that the rc file is read... 
nfs mount, etc, etc messages appear

I presently have quotaon -a in rc.local... but I 
would like to know why is this happening...

Regards,

Joao Pedras




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?19990225105336.BBUD28085>