From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075322406766.tru64-unix-managers.marc@archive.invalid> From: nkb () informatik ! fh-hamburg ! de (Norbert Kasperczyk-Borgmann) Date: Mon, 28 Aug 1995 09:24:15 +0000 To: tru64-unix-managers Subject: SUMMARY: vquota setup problem X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075322406766 ----------------------------------------------------------------- Norbert Kasperczyk-Borgmann | Fachhochschule Hamburg | Fachbereich E/I, Softwarelabor | This space is Berliner Tor 3, D-20099 Hamburg, Germany | | intentionally blank phone: +49 - 40 - 24 88 31 67 | fax: +49 - 40 - 24 88 31 21 | email: nkb@informatik.fh-hamburg.de | ----------------------------------------------------------------- X-Mailer: ELM [version 2.4 PL22] Content-Type: text Content-Length: 2307 Hi Alpha Managers, Here is my original question pointing to a vquota setup problem: ================================= >I try to establish 'vquota' on a advfs since one day. >It would't work. >Here is what I done: > >1) disklabel a drive with some advfs entry in the fstype column; eg: > g: 797517 1900544 ADVfs # (Cyl. 1490*- 2116*) > >2) made a domain: mkfdmn /dev/rz10g home4 >3) made a fileset: mkfset home4 stud3 >4) made a entry in the '/etc/fstab' ; eg: > home4#stud3 /home/stud3 advfs rq 0 0 > >5) mount the advfs with mount -a -t advfs > >6) vquotaon /home/stud3 > >Until this I got no problems. >But when I'll set vquota for e.g. the known user 'student' with the vedquota util. >I got the template: >"Quotas for user student:" >nothing more! Only this one line give me some choices to gues. >I try a lot, but have no luck. > >When I try the 'vquotacheck /home/stud3' it answers: >"/home/stud3 not found or not properly enabled for quotas in /etc/fstab" >But it's still there. > >I changed the entry for the Blocks HLim from 0 to 797504 with the 'chfsets' util.: >stud3 > Id : 3039d840.000f16b2.1.8001 > Files : 11042, SLim= 0, HLim= 0 > Blocks (512) : 438610, SLim= 0, HLim= 797504 > Quota Status : user=on group=on > > >The 'vquota' gives and gives and gives: >"Disk quotas for user student (uid 104): none" > >What' s the cause of this problem/what did I miss? > >Any help will be appreciated ================================= And here are the solution: ---------------------------------- >From Knut.Hellebo@nho.hydro.com Mon Aug 28 08:42:01 1995 You must have 'rq,userquota,groupquota' in the fstab entry (not necessary with 'groupquota' if you not intend to enforce quotas on groups) ---------------------------------- >From Martyn.Johnson@cl.cam.ac.uk Fri Aug 25 16:50:06 1995 Despite the documentation in fstab(4), the "vquota..." commands do not seem to recognise "rq" in /etc/fstab. Try changing the /etc/fstab entry to: home4#stud3 /home/stud3 advfs rw,userquota 0 0 I think you will find that makes a difference. ---------------------------------- Knud and Martyn gave the missing information. Thank you very much!! Yours sincerely Norbert