SUMMARY: /etc/rmtab grows to fill root

From: Michael Coxe (michael@hal.com)
Date: Mon Jun 01 1992 - 11:01:16 CDT


ORIGINAL QUESTION: Any way to control the growth of /etc/rmtab? ...

This is evidently a common problem easily fixed - lots of FAC potential.
For the uninitiated, /etc/rmtab logs remote NFS mounts of local filesystems
and is maintained by rpc.mountd. Its appears to be just informative,
for 'showmount' which we all know is useless, and for 'shutdown',
another real crowd pleaser.

According to all respondents, can be safely cleaned using grep|sed|...
(dead entries are commented out w/ #). Some said pipe it to /dev/null,
though for now I'll stick with the less adventurous suggestions.
Thanks to all.

Its a known bug as of 4.1.1 - Bug Id: 1041091

Here's a useful fix to /etc/rc.local from Sun that should help those that
reboot occasionally (the machine in question has been up for 112 days
so no use to me yet {:>} ).
 
>From: uunet!Corp.Sun.COM!Steve.Gruelle
>
>The fix for this bug is to add the following to your /etc/rc.local file:
>
> if [ -f /etc/rmtab ]; then
> sed -e "/^#/d" /etc/rmtab > /tmp/rmtab 2>/dev/null
> mv /tmp/rmtab /etc/rmtab >/dev/null 2>&1
> fi
>
>after the lines:
>
> if [ -f /etc/exports ]; then
> /etc/xtab
 

PS, I don't know where my rmtab man page went to, I did later find it on
    another node & copied it over. Chalk it up to catch-22.

Thanks to:

D.Mitchell@dcs.sheffield.ac.uk
Richard.Elling@eng.auburn.edu
anderson@neon.mitre.org
bronto.geo.vu.nl:aribi@geo.vu.nl
carhart@dave.nrl.navy.mil
ctm@sleepy.boeing.com
darin@kaman.com
datri@lovecraft.convex.com
eckhard@ikarus.ts.go.dlr.de
feldt@phyast.nhn.uoknor.edu
guy@auspex.com
jdb@vesta.anu.edu.au
ken@nynexst.com
mcgrew@cs.rutgers.edu
miker@sbcoc.com
poffen@sj.ate.slb.com
rjq@phys.ksu.edu
simon@liasun1.epfl.ch
stefan@centaur.astro.utoronto.ca
uunet!Corp.Sun.COM!Steve.Gruelle

Michael Coxe | HaL Computer Systems
michael@hal.com | 1315 Dell Avenue, Campbell, CA 95008 USA



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:43 CDT