Date: Sun, 17 Oct 1999 16:23:01 -0700 From: me++ <notme@lvdi.net> To: Christopher Michaels <ChrisMic@clientlogic.com> Cc: freebsd-questions@freebsd.org Subject: Re: quota not working properly Message-ID: <380A5A55.19C59007@lvdi.net> References: <6C37EE640B78D2118D2F00A0C90FCB4401105CFF@site2s1>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <blank file> 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 <file starts here> # 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 <end of file> 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 <username>, 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?380A5A55.19C59007>