Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ucsbcsl.UUCP Path: utzoo!linus!decvax!ittvax!dcdwest!sdcsvax!sdcrdcf!trwrba!cepu!ucsbcsl!discolo From: discolo@ucsbcsl.UUCP (Anthony V. Discolo) Newsgroups: net.unix-wizards,net.wanted Subject: Re: 4.2 BSD Disk Quotas -- What are your experiences with it? Message-ID: <170@ucsbcsl.UUCP> Date: Fri, 5-Oct-84 16:09:22 EDT Article-I.D.: ucsbcsl.170 Posted: Fri Oct 5 16:09:22 1984 Date-Received: Sun, 7-Oct-84 21:39:36 EDT References: <367@felix.UUCP>, <451@uwvax.UUCP> Organization: U.C. Santa Barbara Lines: 42 >> I am considering beginning to run the disk quota software. >> If you have used it, please let me know how well it worked. >> Were there bugs which needed fixing? Do you have the >> fixes? Etc? >> -- >> -- Art Zemon >> FileNet Corp. >> ...! {decvax, ihnp4, ucbvax} !trwrb!felix!zemon > The disk quotas work pretty well. We use them here on our instructional > systems. I don't remember any bug fixes, but I do know of one bug... > If you update a disk quota for a person who is logged in (or has a process > running with his/her uid) the machine will crash with a panic in the > quota routines. So, generally, set quotas when the machine is in single. > If you change them while it is up multiuser (new users is an exception, > chances of them being logged in is minimal) you can crash things. You don't have to bring the system down to single user mode to update quotas, just use "/etc/quotaoff filesystem" to turn off quotas on that filesystem. Then after you're done, use "/etc/quotaon filesystem" to turn quotas back on. Quotas have worked well for us also, once we installed them. It was kind of a pain to install them though, since we had to find out how much disk space everyone was using (not hard), and then increment their usage by some constant (also not hard), and format that data for a program to set their quota. I also have a few general purpose quota programs that (safely) diddle with quotas, like given a block amount (+ or -), a filesystem, and a list of users, add the amount to each user's quota on that filesystem. (This is very hard to do with edquota(8)). If anyone would like the source for these, please send me mail. -- uucp: ucbvax!ucsbcsl!discolo arpa: ucsbcsl!discolo@berkeley csnet: discolo@ucsb USMail: U.C. Santa Barbara Department of Computer Science Santa Barbara, CA 93106 GTE: (805) 961-4178