Article View: comp.sys.next.sysadmin
Article #2182Re: autonfsmount
From: Eric P. Scott
Date: Sat, 19 Dec 1992 12:56
Date: Sat, 19 Dec 1992 12:56
42 lines
2391 bytes
2391 bytes
In article <BzD4pF.FxA@csulb.edu> werts@csulb.edu (Michael Werts)
writes:
>Has anyone else experienced trouble with hierarchical
>mounts using autonfsmount? Did you find a way to make
>it work?
1) List the desired mounts in *reverse* order, e.g.:
wuarchive.wustl.edu:/archive/mirrors4 /Net nfs ro,soft,net,intr,timeo=4,nosuid,noquota,retry=2 0 0
wuarchive.wustl.edu:/archive/mirrors3 /Net nfs ro,soft,net,intr,timeo=4,nosuid,noquota,retry=2 0 0
wuarchive.wustl.edu:/archive/mirrors2 /Net nfs ro,soft,net,intr,timeo=4,nosuid,noquota,retry=2 0 0
wuarchive.wustl.edu:/archive/mirrors /Net nfs ro,soft,net,intr,timeo=4,nosuid,noquota,retry=2 0 0
wuarchive.wustl.edu:/archive/systems /Net nfs ro,soft,net,intr,timeo=4,nosuid,noquota,retry=2 0 0
wuarchive.wustl.edu:/archive/usenet /Net nfs ro,soft,net,intr,timeo=4,nosuid,noquota,retry=2 0 0
wuarchive.wustl.edu:/archive /Net nfs ro,soft,net,intr,timeo=4,nosuid,noquota,retry=2 0 0
1a) wuarchive provides erratic service; sometimes the mountd will
get hosed, and autonfsmount doesn't like this. It's happened
to me enough times that I just keep a little shell script
lying around:
#!/bin/csh -f
set verbose
/usr/etc/ping wuarchive.wustl.edu 56 1
/usr/etc/rpcinfo -u wuarchive.wustl.edu 100003 2
/usr/etc/rpcinfo -u wuarchive.wustl.edu 100005 1
If it gets all the way through without errors, autonfsmount
should be happy. If not, I stay out of /Net/wuarchive...
1b) NFS access to wuarchive.wustl.edu can be slow when it's
heavily loaded. FTP is usually faster for getting directory
listings.
2) Don't chdir "all the way down" if the filesystems aren't
mounted; just go to the uppermost mount point and wait.
(Walking through the Browser (starting at /Net) is fine, but I
wouldn't recommend putting a submount on the shelf.)
Otherwise you tickle a race condition where the interior mount
fails (presumably from EBUSY on /private/Net/whatever).
-=EPS=-
Technical Details
Message-ID:
<1992Dec19.125624.20509@csus.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!csus.edu!newsReferences:
<BzD4pF.FxA@csulb.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!csus.edu!news From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: autonfsmount Message-ID: <1992Dec19.125624.20509@csus.edu> Sender: news@csus.edu Reply-To: eps@cs.sfsu.edu Organization: San Francisco State University References: <BzD4pF.FxA@csulb.edu> Date: Sat, 19 Dec 1992 12:56:24 GMT Lines: 42