From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075320706452.tru64-unix-managers.marc@archive.invalid> From: Farhad Dehghani Date: Thu, 08 Jun 1995 08:48:16 +0000 To: tru64-unix-managers Subject: SUMMARY: vquota problem X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075320706452 Thanks to all who replied to my question. quota (and not vquota) works fine on other alphastations than the fileserver. So I simply have made a small sh-script on the Ultrix machines to make rsh to one of the alphas and call /usr/sbin/quota. Here is the original question followed by the replies: ======================================================================= We have some DEC-3100 and DEC-5000 running ULTRIX 4.2 and some alphastations (DEC-3000 600) running OSF1 V3.0. The fileserver is an alphastation 200 4/233 running OSF1 V3.0 with advfs enabled. The problem is that vquota does'nt answer properly on other alpha-machines than the file-server. Is there any patches available for it? We cannot use remote shell to the fileserver, because we don't allow anybody to log on that machine. Therefor I want to avoid rsh solution to get quotas. Is there anybody who has solved this problem (for both ultrix- and alpha-stations) without using rsh feature? Best Regards, Farhad Dehghani ======================================================================== From: Andy Phillips Subject: Re: vquota problem To: farhad@math.ku.dk Date: Wed, 7 Jun 1995 15:58:52 +0100 (BST) In-Reply-To: <199506071327.AA06221@artin.math.ku.dk> from "Farhad Dehghani" at Jun 7, 95 03:27:26 pm X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Length: 1038 X-Charset: LATIN1 X-Char-Esc: 29 This is because vquota doesnt understand rpc.rquotad. normal quota does however. For all machines check that rpc.rquotad is enabled in the /etc/inetd.conf (ie. remove all leading # marks, and send a HUP signal to the running inetd.) Once all the machines are running rpc.rquotad then the normal quota command will return the advfs quotas. The normal quota command will not return the quotas on the machine on which the disks are actually mounted however. I use this script; --------- #!/bin/sh ( quota; vquota ) | sort -r | grep -v ': none' | uniq --------- Which gives me quotas on all machines. regards. andy -- atp@mssly1.mssl.ucl.ac.uk Andy Phillips atp@mssl.ucl.ac.uk Mullard Space Science Laboratory, phillips@isass1.solar.isas.ac.jp Dept. Space and Climate Physics, mssly1::atp University College London. ------------------------------------------------------ Date: Wed, 07 Jun 95 18:16:53 +0300 From: Peter Stern Subject: Re: vquota problem To: Farhad Dehghani In-Reply-To: <199506071327.AA06221@artin.math.ku.dk> X-Acknowledge-To: X-Charset: LATIN1 X-Char-Esc: 29 Dear Farhad: vquota is not supposed to work on anything but the fileserver since it only reports the advfs fileset quotas (and not anything mounted via ufs or nfs). But quota works fine for these. Peter Stern Chemical Physics Department Weizmann Institute of Science 76100 Rehovot, ISRAEL ------------------------------------------------------------- Date: Thu, 8 Jun 1995 08:42:29 +0200 From: Hellebo Knut In-Reply-To: Farhad Dehghani "vquota problem" (Jun 7, 3:27pm) References: <199506071327.AA06221@artin.math.ku.dk> Reply-To: Knut.Hellebo@nho.hydro.com X-Mailer: Z-Mail (3.2.0 26oct94 MediaMail) To: Farhad Dehghani Subject: Re: vquota problem Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Charset: LATIN1 X-Char-Esc: 29 Regards, You could install a wrapper so that when users try to log in to the server they will only get their quota listed and then is logged out. Example: user1:dvlsmvsdfv12:234:123:Guest account:/tmp:/local/bin/quotalist and quotalist consists of something like exec vquota and perhaps some formatting statements. -- ****************************************************************** * Knut Helleboe | DAMN GOOD COFFEE !! * * Norsk Hydro a.s | (and hot too) * * Phone: +47 55 996870, Fax: +47 55 996342 | * * Pager: +47 96 500718 | * * E-mail: Knut.Hellebo@nho.hydro.com | Dale Cooper, FBI * ******************************************************************