From owner-freebsd-questions Sun Oct 17 16:29:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id B76C514BF5 for ; Sun, 17 Oct 1999 16:29:18 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2650.21) id <40N6F2HY>; Sun, 17 Oct 1999 19:29:24 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105D03@site2s1> From: Christopher Michaels To: 'me++' Cc: freebsd-questions@freebsd.org Subject: RE: quota not working properly Date: Sun, 17 Oct 1999 19:32:29 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just for the sake of argument, lets go through the steps 1 by 1 and makes sure we're at the same place. 1. Compiled a new kernel and installed it with "options QUOTA" in the config file? 2. Added "enable_quotas=YES" in /etc/rc.conf? 3. Added "check_quotas=YES" in /etc/rc.conf? 4. Added userquota and/or groupqouta to the device line in /etc/fstab? ( I see you did that but I'm going through all the steps. ) AHH, I see one problem. Your fstab. Don't put spaces between the options and I'll bet that's your problem. # Device Mountpoint Fstype Options Dump Pass# /dev/wd0s1b none swap sw 0 0 /dev/wd0s1a / ufs rw 1 1 /dev/wd0s1e /usr ufs rw,userquota,groupquota 2 2 /dev/wcd0c /cdrom cd9660 ro,noauto 0 0 proc /proc procfs rw 0 0 If this is something stupid your mailer did, than I'll move on. 5. Restart. Now, if the above 5 steps aren't working try the following (as root) quotaon /usr quotacheck -v /usr If it still doesn't work, report back. BTW, the quota.user and quota.group files are not in "/root" they are in the ROOT of the partition where the quotas are enabled. In your case /usr directory is the root of that partition. Good luck, -Chris > -----Original Message----- > From: me++ [SMTP:notme@lvdi.net] > Sent: Sunday, October 17, 1999 7:23 PM > To: Christopher Michaels > Cc: freebsd-questions@freebsd.org > Subject: Re: quota not working properly > > Thanks for the reply! > Actually, I have rebooted after editing /etc/rc.conf and > /etc/fstab. I even checked the startup message and > confirmed that quota was turned on. When I do edquota > as the web page said, it gave me a blank quota file, for > example: > edquota -u tester > > Quotas for user tester: > > > I have tried tying in the settings (invalid or valid), and > save and exit, but when I do quota -v tester, the same > message popped up: > > Disk quotas for user tester (uid 1001): none > > I have also tried rebooting right after edquota, and same > time happen. When I go back into edquota, the settings > are all gone regardless of rebooting. I have tried touch > quota.user and quota.group in /root, /usr/ since I have seen > the man page talking about it. (Actually, it just says that > the quota.user and quota.group are files that are supposed > to be in /root) > > I am sorta running out of ideas on things I could do. > Thank you in advance for any help! > > > > Frankie > Here's my /etc/fstab > > # Device Mountpoint Fstype Options Dump Pass# > /dev/wd0s1b none swap sw 0 0 > /dev/wd0s1a / ufs rw 1 1 > /dev/wd0s1e /usr ufs rw, userquota, groupquota 2 > 2 > /dev/wcd0c /cdrom cd9660 ro, noauto 0 0 > proc /proc procfs rw 0 > 0 > > I am running FreeBSD 3.2-Release > > Christopher Michaels wrote: > > > To quote the web page. > > > > "At this point you should reboot your system with your new kernel. > /etc/rc > > will automatically run the appropriate commands to create the initial > quota > > files for all of the quotas you enabled in /etc/fstab, so there is no > need > > to manually create any zero length quota files. " > > > > You have not does this. You either rebooted before editing the > /etc/rc.conf > > and/or /etc/fstab file, or you just haven't rebooted at all. :P > > > > -Chris > > > > > -----Original Message----- > > > From: Frankie Li [SMTP:notme@lvdi.net] > > > Sent: Friday, October 15, 1999 8:28 PM > > > To: freebsd-questions@freebsd.org > > > Subject: quota not working properly > > > > > > Hi, > > > I have recompiled the kernel according to > > > the tutorial in www.freebsd.org to enable > > > quota, and also edited rc.conf as described. > > > However, when I edit /etc/fstab, and then > > > do edquota , quota -v shows > > > that the user's quota is none. > > > i.e: > > > Disk quotas for user test (uid 1000): none > > > > > > Is the tutorial in www.freebsd.org outdated? > > > > > > I have a 486/33 with 2 hard drives, (250 > > > MB on one and 200 on the other), with > > > 16MB of RAM, and FreeBSD 3.2-Release. > > > > > > > > > Thank you in advance for any help! > > > Please e-mail me if any additional information > > > is required. > > > > > > Frankie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message