From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b07afd055904ccb2 X-Google-Attributes: gidfee84,public From: mskucher@vertex.tor.hookup.net (Murray S. Kucherawy) Subject: Re: quota trouble Date: 1996/09/25 Message-ID: <52cp7t$fkt@vertex.tor.hookup.net>#1/1 X-Deja-AN: 185383514 references: <5265p0$ks4@peabody.colorado.edu> organization: HookUp Communication Corporation, Oakville, Ontario, CANADA nntp-posting-user: mskucher newsgroups: comp.unix.osf.osf1 In article <5265p0$ks4@peabody.colorado.edu>, Blake Kritzberg wrote: >Hi, all -- > >I'm having a hard time setting up quotas on a DEC alpha >running OSF/1. > >So far, I've: >- added an entry to /etc/fstab (options: rq) > >/dev/rz3c /usr/local ufs rq 1 2 > >- touched the quota.user and quota.group files with chmod 600 by root >at the top level of the desired filesystem > >- turned on quotaon for that filesystem > >--- >...but when I quotacheck that filesystem: > ># quotaon /usr/local ># quotacheck /usr/local >/usr/local not found or not properly enabled for quotas in /etc/fstab > >I took a brief look at the files list in /usr/sys and >OPTIONS quota appears there, so it does look as if quota >enabling's been compiled into the kernel. (Is there a way >to check for sure?) > >Am i missing some steps here? Please set me straight! For one, you have the order of commands wrong (check before enable); for two, you probably can't touch quota.user and quota.group, as it expects they're either formatted or absent, but not empty; for three, "rq" is obsolete - try this (from the fstab(4) man page): /dev/rz3c /usr/local ufs rw,userquota 1 2 Try this: (1) Turn quotas off (quotaoff -a) (2) Remove quota.user and quota.group (3) Fix /etc/fstab (4) Build the quota files (/sbin/quotacheck -a) (5) Turn quotas on (quotaon -a) -- Murray S. Kucherawy ====================================== mskucher@hookup.net Vice-President, Software Services HookUp Communication Corporation (905) 847-8000 NIC Handle "MSK" Oakville, Ontario, CANADA -- No matter who you vote for, the government always gets in. --