SUMMARY: vquota problem

From: Farhad Dehghani <farhad_at_math.ku.dk>
Date: Thu, 8 Jun 1995 10:48:16 +0200

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 <atp_at_mssly1.mssl.ucl.ac.uk>
Subject: Re: vquota problem
To: farhad_at_math.ku.dk
Date: Wed, 7 Jun 1995 15:58:52 +0100 (BST)
In-Reply-To: <199506071327.AA06221_at_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_at_mssly1.mssl.ucl.ac.uk 		  	  Andy Phillips
atp_at_mssl.ucl.ac.uk 			Mullard Space Science Laboratory, 
phillips_at_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 <CFSTERN_at_WEIZMANN.weizmann.ac.il>
Subject:      Re: vquota problem
To: Farhad Dehghani <farhad_at_math.ku.dk>
In-Reply-To:  <199506071327.AA06221_at_artin.math.ku.dk>
X-Acknowledge-To: <CFSTERN_at_WEIZMANN.WEIZMANN.AC.IL>
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 <bgk1142_at_bggfu2.nho.hydro.com>
In-Reply-To: Farhad Dehghani <farhad_at_math.ku.dk>
        "vquota problem" (Jun  7,  3:27pm)
References: <199506071327.AA06221_at_artin.math.ku.dk>
Reply-To: Knut.Hellebo_at_nho.hydro.com
X-Mailer: Z-Mail (3.2.0 26oct94 MediaMail)
To: Farhad Dehghani <farhad_at_math.ku.dk>
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_at_nho.hydro.com       | Dale Cooper, FBI    *
      ******************************************************************
Received on Thu Jun 08 1995 - 11:41:41 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT