From owner-freebsd-questions Sun Oct 17 16:13:47 1999 Delivered-To: freebsd-questions@freebsd.org Received: from lvdi.net (Mta.lvdi.net [216.24.138.2]) by hub.freebsd.org (Postfix) with SMTP id 283A614BF5 for ; Sun, 17 Oct 1999 16:13:43 -0700 (PDT) (envelope-from notme@lvdi.net) Received: from lvdi.net ([216.24.141.164]) by 216.24.138.2127.0.0.1 ; Sun, 17 Oct 1999 16:07:30 2000 PDT Message-ID: <380A5A55.19C59007@lvdi.net> Date: Sun, 17 Oct 1999 16:23:01 -0700 From: me++ X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: Christopher Michaels Cc: freebsd-questions@freebsd.org Subject: Re: quota not working properly References: <6C37EE640B78D2118D2F00A0C90FCB4401105CFF@site2s1> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message