Re: quotas on 5.3

2004-11-19 Thread Nicolas Kowalski
On Thu, 18 Nov 2004, dave wrote:
Hello,
Hello.
   Got a question on quotas. I've enabled them on /usr and /var filesystems
by adding the userquota option to their options in fstab. This is after i
recompiled my kernel with the QUOTA option in it and rebooted. I then added:
enable_quotas=YES
check_quotas=NO
Why did you set this last option to NO ?
According to /etc/rc, the quotacheck utility (which creates and updates 
the quota files) will be run only if check_quotas is set to YES.

Regards.
--
Nicolas
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quotas on 5.3

2004-11-19 Thread dave
Hello,
I set the check_quota option to no in rc.conf because on boot i did not
want the long delay in startup that quota checks cause.
Is this my issue?
Thanks.
Dave.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quotas on 5.3

2004-11-19 Thread Nicolas Kowalski
On Fri, 19 Nov 2004, dave wrote:
   I set the check_quota option to no in rc.conf because on boot i did not
want the long delay in startup that quota checks cause.
Is this my issue?
I think so.
About the long startup delay, as an example, I have a server (Dell 
2850) which spends less than 2 minutes to check 3 * 73GB SCSI disks. I 
realyy find this acceptable, as this server will not be shutdown 
frequently.

Regards.
--
Nicolas
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quotas on 5.3

2004-11-19 Thread David E. Meier
Hi Dave,

you can run the command:

# /sbin/quotacheck -avgu

This will create your quota.user file. Because you have set
check_quotas=NO you can run the quotacheck command via cron task:

0  4 * * * root /sbin/quotacheck -avgu  /dev/null

HTH, Dave.

 Hello,
 Got a question on quotas. I've enabled them on /usr and /var
 filesystems
 by adding the userquota option to their options in fstab. This is after i
 recompiled my kernel with the QUOTA option in it and rebooted. I then
 added:
 enable_quotas=YES
 check_quotas=NO
 to /etc/rc.conf and again rebooted. According to the handbook quota files
 should be created automatically i don't have to touch any zero-length
 quota
 files. When the system came back up i checked /usr and /var for quota user
 files, i did not see them. Boot up messages indicate quota on /usr but
 again
 no quota file. Is this normal? Did i miss something?
 Thanks.
 Dave.

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


quotas on 5.3

2004-11-18 Thread dave
Hello,
Got a question on quotas. I've enabled them on /usr and /var filesystems
by adding the userquota option to their options in fstab. This is after i
recompiled my kernel with the QUOTA option in it and rebooted. I then added:
enable_quotas=YES
check_quotas=NO
to /etc/rc.conf and again rebooted. According to the handbook quota files
should be created automatically i don't have to touch any zero-length quota
files. When the system came back up i checked /usr and /var for quota user
files, i did not see them. Boot up messages indicate quota on /usr but again
no quota file. Is this normal? Did i miss something?
Thanks.
Dave.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]