Hey there,
In keeping with the idea of good archives, here is the solution for
building quotas:
Quoted From Mister Buster on 2/2/2001 Located on linux.samba newsgroup
Make sure you have quota compiled in your kernel.
- touch quota.user (for user quota) or quota.group (for group quota) on
the root of mounted fs (/home)
- add usrquota (or grpquota) to the fs entry in /etc/fstab (man fstab)
- umount /home
- mount /home
- quotaon /home
- man edquota
This is fine and dandy and does work. Problem is twofold. First, the
version of quota shipped with RH 6.2 and 7.0 (One I have tested) doesn't
work for anything. The version I tested and seems to work fine (RedHat
take notice) quota-3.00-4.tar.gz gotten from
ftp://atrey.karlin.mff.cuni.cz/pub/local/jack/quota/utils/quota-3.00-4.tar.gz
fixes a quota database format problem according to Honza (Found on
Google). Second problem is that when RedHat put out 2.2.16-3(RH6.2
Update) and 2.2.16-22 (Release) kernels, they compiled them against
non-original headers, so when you try to compile quota, it fails.
I fixed this by removing /usr/include/linux and /usr/include/asm and
relinked them by entering in
ln -s /usr/src/linux/include/linux /usr/include/linux
ln -s /usr/src/linux/include/asm /usr/include/asm
Once this was done, quota compiled, installed and ran like a dream. I
then turned quotas on without any messages, set up a dummy quota for a
dummy user and ran a test. It proceeded to dump "You have exceeded your
disk limit".
Needless to say, after a few days of trying, it works like a charm.
Hope this helps someone else in the future.
Kevin Wood
--
Kevin Wood
Globespan, Inc.
1 Griffin Brook Drive
Suite 205
Methuen, MA 01844
978-837-3069 x 111
********************Legal Disclaimer****************************
"This email message is for the sole use of the intended recipient(s)
and may contain confidential, proprietary or legally privileged
information. No confidentiality or privilege is waived or lost by
any mistransmission. If you receive this message in error,
please immediately delete it and all copies of it from your system,
destroy any hard copies of it and notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. Any views expressed in this message are those of the
individual sender, except where the message states otherwise
and the sender is authorized to state them to be the views
of GLOBESPAN, INC. or any of its subsidiaries."
*******************************************************************
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list