[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] disk quotas and long boot time - help!



Right On!

I have one question re: the /etc/cobalt/dont_check_quotas file. When you say it must be greater than one, I assume you mean that the contents of the file should be a number 2 or greater, no carriage return . Is this correct?

Thanks VERY much...

-Jeff

The following should permanently disable quota checks at boot time.
<disclaimer>
These changes are unsupported and untested
</disclaimer>

In /etc/rc.d/rc.sysint comment out/delete the following lines
37-41:
if [ $rc -ne 0 ]; then
       # gotta check quotas
       rm -f /etc/cobalt/dont_check_quotas
fi
and 61:
	/sbin/quotacheck -v /
In /etc/rc.d/init.d/quota
change
MAXBOOTCOUNT=10
to
MAXBOOTCOUNT=10000

Make sure that /etc/cobalt/dont_check_quotas exists and is greater than
1


Jeff-


Jeff Davis wrote:

Already have the UPS... Nobody got to the server in time to power it
down gracefully.

On my Qube, w/approximately 50 users, the fsck portion takes FAR less
time than the disk quota check.  Disk quota check can take 2-3 HOURS!
I would VERY MUCH like to disable the check on boot-up.  Does anyone
know how to do this?  Can it be done WITHOUT voiding the warranty?

Jeff

>Jeff, consider getting a backup UPS. The savings in time lost is well worth
>the cost of the server.
>
>Dan
>
>-----Original Message-----
>From: cobalt-users-admin@xxxxxxxxxxxxxxx
>[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Doug Forman
>Sent: Friday, February 04, 2000 3:11 PM
>To: cobalt-users@xxxxxxxxxxxxxxx
>Subject: RE: [cobalt-users] disk quotas and long boot time - help!
>
>Hi Jeff,
>
>If you have a power outage, your Qube's hard disk is left in a "dirty" state
>and a file systems check (fsck) is forced on the next reboot.  The fsck on
>*my* Qube2 takes 10-15 minutes (27gb hard disk).  My quota check takes just
>a few minutes, but I suspect that is because I have a small number of users?
>
>(I'm avoiding the fact that I don't have a direct answer for your question -
>but to make sure you know that fsck can take awhile!)
>
>Doug  :-)
>
>---
>Doug Forman, MCSE, MCSD (doug@xxxxxxxxxxx)
>Qube-Chat Moderator (qube-chat-subscribe@xxxxxxxxxxx)
>
>> -----Original Message-----
>> From: cobalt-users-admin@xxxxxxxxxxxxxxx
>> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Jeff Davis
>> Sent: Friday, February 04, 2000 10:20 AM
>> To: cobalt-users@xxxxxxxxxxxxxxx
>> Subject: [cobalt-users] disk quotas and long boot time - help!
>>
>>
>> Hi,
>>
>> I'm trying to find a solution for the very long (2-3 hour) interval
>> between powering up my qube2 and availability of services.
>>
>> It takes several hours to check disk quotas.  Is there any effective,
>> SAFE way to turn off quotas, or to keep the system from checking
>> quotas during the startup process?
>>
>> We had a power outage recently, and this is just too long.  The qube
>> plays a critical role in our network, providing NAT, e-mail, and web
>> services, and it's unavailability has far-reaching effects.
>>
>> I've tried using /sbin/quotaoff -av, but it seems to have no effect.
>>
>> Any and all ideas entertained :)
>>
>> -Jeff
>>
>>
>> Jefferson K. Davis
>> Technology & IS Manager
>> Standard School District
>> 661-392-2110
>>
>>
>> _______________________________________________
>> cobalt-users mailing list
>> cobalt-users@xxxxxxxxxxxxxxx
>> http://list.cobalt.com/mailman/listinfo/cobalt-users
>>
>>
>
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>http://list.cobalt.com/mailman/listinfo/cobalt-users
>
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>http://list.cobalt.com/mailman/listinfo/cobalt-users

Jefferson K. Davis
Technology & IS Manager
Standard School District
> 661-392-2110

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-users


_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-users



Jefferson K. Davis
Technology & IS Manager
Standard School District
661-392-2110