[lug] Redhat quotacheck
Dan Ferris
dan at ferrises.com
Wed Jul 14 15:43:45 MDT 2004
Turn quotas off on the affected file system with quotaoff
quotaoff /var/spool/mail
Then run quotacheck
Then turn quotas on.
(I think the above is right, I don't really remember offhand, to much
time on BSD where you don't have to do this).
Jeffrey A. St. Pierre wrote:
> Trying to run quotacheck on a redhat system I am getting errors.
> despite the documentation at redhat stating that quotacheck should be
> run from a cronjob regularly... this is what I get if I just try to run
> quotacheck by hand:
>
> -bash <~> sudo quotacheck -vagu
> Password:
> quotacheck: Quota for users is enabled on mountpoint /var/spool/mail so
> quotacheck might damage the file.
> Please turn quotas off or use -f to force checking.
>
> however... forcing is not recomended by the man page. So what is the
> proper way to run quotacheck with cronjobs on a RHEnt server... like on
> home directories and /var/spool/mail that need to stay online?
>
> -Jeff
>
> Jeffrey A. St. Pierre
> Head System Administrator
> Colorado Center for Astrodynamics Research (CCAR)
> University of Colorado
> Boulder, Colorado 80309
> Office: 303 492-8109
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
>
More information about the LUG
mailing list