Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 1998 15:28:01 +0100 (CET)
From:      Jan Conrad <conrad@dirac.physik.uni-bonn.de>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Inter FreeBSD-227 nfs mounts at boottime fail!
Message-ID:  <Pine.BSF.4.05.9811201502200.307-300000@merlin.physik.uni-bonn.de>
In-Reply-To: <Pine.BSF.4.03.9811170912120.6774-100000@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi again,

On Tue, 17 Nov 1998, Doug White wrote:

> On Tue, 17 Nov 1998, Jan Conrad wrote:
> 
> > > > I am running FreeBSD-2.2.7 on six of my machines, where the standard
> > > > client machine has the following fstab (excerpt)
> > > > 
> > > > /nilles/share@dirac /nilles/share nfs rw,bg,soft,nodev        0 0
> > > > /nilles/home@dirac  /nilles/home  nfs rw,bg,soft,nosuid,nodev 0 0
> > > > /nilles/osf@mach    /nilles/osf   nfs rw,bg,soft,nodev        0 0
> > > 
 
> ...
> 
> > The FreeBSD nfs mounts are still delayed about a minute or so...
> 
> Try running tcpdump then try to mount your filesystems and see what's
> going on.  Perhaps the remote machine isn't allowing mounts from you?

Well - I did the tcpdump. The keypoint seems to be that the server (dirac)
also mounts a filesystem of the client. When one unmounts that filesystem
before shutting down the client the problems at boottime dissappear
(however it's important to have that filesystem mounted!!)

As one can see from the (attached) 2nd tcpdump output, the mount of the
client (merlin) fails, because the server in turn answers with a getattr
while nfsd is not running at the time of the mount in /etc/rc. However, if
the filesystem exported by the client is not mounted on the server (1st
output), the server answers correctly.

To me this seems to be a problem of FreeBSD's implementation of NFS as the
problem did not appear on other UNIXes (it's nothing but a standard
crossmount - I did a lot of these in the days of Ultrix 3 ;-)

best regards
	Jan

-- 
Physikalisches Institut der Universitaet Bonn
Nussallee 12
D-53115 Bonn
GERMANY

[-- Attachment #2 --]
14:52:23.022130 merlin.physik.uni-bonn.de.blackjack > dirac.physik.uni-bonn.de.domain: 29351+ A? dirac.physik.uni-bonn.de. (42) (ttl 64, id 2)
14:52:23.022280 dirac.physik.uni-bonn.de.domain > merlin.physik.uni-bonn.de.blackjack: 29351* q: dirac.physik.uni-bonn.de. 1/2/2 dirac.physik.uni-bonn.de. A dirac.physik.uni-bonn.de (147) (ttl 64, id 56099)
14:52:23.022898 merlin.physik.uni-bonn.de.1022 > dirac.physik.uni-bonn.de.sunrpc: udp 56 (ttl 64, id 3)
14:52:23.023006 dirac.physik.uni-bonn.de.sunrpc > merlin.physik.uni-bonn.de.1022: udp 28 (ttl 64, id 56100)
14:52:23.023366 merlin.physik.uni-bonn.de.1021 > dirac.physik.uni-bonn.de.sunrpc: udp 56 (ttl 64, id 4)
14:52:23.023428 dirac.physik.uni-bonn.de.sunrpc > merlin.physik.uni-bonn.de.1021: udp 28 (ttl 64, id 56101)
14:52:23.023879 merlin.physik.uni-bonn.de.1020 > dirac.physik.uni-bonn.de.vsinet: udp 112 (ttl 64, id 5)
14:52:23.024393 dirac.physik.uni-bonn.de.vsinet > merlin.physik.uni-bonn.de.1020: udp 68 (ttl 64, id 56102)
14:52:23.024934 merlin.physik.uni-bonn.de.57416001 > dirac.physik.uni-bonn.de.nfs: 92 getattr fh 0,263172/2 (ttl 64, id 6)
14:52:23.025035 dirac.physik.uni-bonn.de.nfs > merlin.physik.uni-bonn.de.57416001: reply ok 112 getattr DIR 755 ids 151/43 sz 512  (ttl 64, id 56105)
14:52:23.025623 merlin.physik.uni-bonn.de.57416002 > dirac.physik.uni-bonn.de.nfs: 92 fsinfo [|nfs] (ttl 64, id 7)
14:52:23.025693 dirac.physik.uni-bonn.de.nfs > merlin.physik.uni-bonn.de.57416002: reply ok 164 fsinfo POST: DIR 755 ids 151/43 sz 512 nlink 11 rdev 3/232 fsid 3000000e8 nodeid e800000000 a/m/ctime 911523610.000000 909848591.000000 909848591.000000  [|nfs] (ttl 64, id 56106)
14:52:23.026124 merlin.physik.uni-bonn.de.57416003 > dirac.physik.uni-bonn.de.nfs: 92 fsstat fh 0,263172/2 (ttl 64, id 8)
14:52:23.026195 dirac.physik.uni-bonn.de.nfs > merlin.physik.uni-bonn.de.57416003: reply ok 168 fsstat POST: DIR 755 ids 151/43 sz 512 nlink 11 rdev 3/232 fsid 3000000e8 nodeid e800000000 a/m/ctime 911523610.000000 909848591.000000 909848591.000000  [|nfs] (ttl 64, id 56107)

[-- Attachment #3 --]
14:40:18.096692 merlin.physik.uni-bonn.de.blackjack > dirac.physik.uni-bonn.de.domain: 43965+ A? dirac.physik.uni-bonn.de. (42) (ttl 64, id 2)
14:40:18.096848 dirac.physik.uni-bonn.de.domain > merlin.physik.uni-bonn.de.blackjack: 43965* q: dirac.physik.uni-bonn.de. 1/2/2 dirac.physik.uni-bonn.de. A dirac.physik.uni-bonn.de (147) (ttl 64, id 53622)
14:40:18.097478 merlin.physik.uni-bonn.de.1022 > dirac.physik.uni-bonn.de.sunrpc: udp 56 (ttl 64, id 3)
14:40:18.097662 dirac.physik.uni-bonn.de.sunrpc > merlin.physik.uni-bonn.de.1022: udp 28 (ttl 64, id 53623)
14:40:18.098021 merlin.physik.uni-bonn.de.1021 > dirac.physik.uni-bonn.de.sunrpc: udp 56 (ttl 64, id 4)
14:40:18.098087 dirac.physik.uni-bonn.de.sunrpc > merlin.physik.uni-bonn.de.1021: udp 28 (ttl 64, id 53624)
14:40:18.098535 merlin.physik.uni-bonn.de.1020 > dirac.physik.uni-bonn.de.vsinet: udp 112 (ttl 64, id 5)
14:40:18.098817 dirac.physik.uni-bonn.de.d9614c0c > merlin.physik.uni-bonn.de.nfs: 92 getattr fh 0,131075/2 (ttl 64, id 53625)
14:40:18.099088 merlin.physik.uni-bonn.de > dirac.physik.uni-bonn.de: icmp: merlin.physik.uni-bonn.de udp port nfsd unreachable (ttl 255, id 6)
14:40:18.146076 dirac.physik.uni-bonn.de.d9614c0c > merlin.physik.uni-bonn.de.nfs: 92 getattr fh 0,131075/2 (ttl 64, id 53626)
14:40:18.146336 merlin.physik.uni-bonn.de > dirac.physik.uni-bonn.de: icmp: merlin.physik.uni-bonn.de udp port nfsd unreachable (ttl 255, id 7)
14:40:18.236077 dirac.physik.uni-bonn.de.d9614c0c > merlin.physik.uni-bonn.de.nfs: 92 getattr fh 0,131075/2 (ttl 64, id 53627)
14:40:18.236335 merlin.physik.uni-bonn.de > dirac.physik.uni-bonn.de: icmp: merlin.physik.uni-bonn.de udp port nfsd unreachable (ttl 255, id 8)
14:40:18.406075 dirac.physik.uni-bonn.de.d9614c0c > merlin.physik.uni-bonn.de.nfs: 92 getattr fh 0,131075/2 (ttl 64, id 53628)
14:40:18.406335 merlin.physik.uni-bonn.de > dirac.physik.uni-bonn.de: icmp: merlin.physik.uni-bonn.de udp port nfsd unreachable (ttl 255, id 9)
14:40:18.736086 dirac.physik.uni-bonn.de.d9614c0c > merlin.physik.uni-bonn.de.nfs: 92 getattr fh 0,131075/2 (ttl 64, id 53631)
14:40:18.736346 merlin.physik.uni-bonn.de > dirac.physik.uni-bonn.de: icmp: merlin.physik.uni-bonn.de udp port nfsd unreachable (ttl 255, id 10)
14:40:19.386086 dirac.physik.uni-bonn.de.d9614c0c > merlin.physik.uni-bonn.de.nfs: 92 getattr fh 0,131075/2 (ttl 64, id 53633)
14:40:19.386347 merlin.physik.uni-bonn.de > dirac.physik.uni-bonn.de: icmp: merlin.physik.uni-bonn.de udp port nfsd unreachable (ttl 255, id 11)
14:40:19.505972 avzw02.physik.uni-bonn.de.4618 > merlin.physik.uni-bonn.de.cfinger: S 1212736000:1212736000(0) win 16384 <mss 1460> (ttl 60, id 17098)
14:40:19.506102 arp who-has avzw02.physik.uni-bonn.de tell merlin.physik.uni-bonn.de
14:40:19.507065 arp reply avzw02.physik.uni-bonn.de is-at aa:0:4:0:47:f4
14:40:19.507167 merlin.physik.uni-bonn.de.cfinger > avzw02.physik.uni-bonn.de.4618: R 0:0(0) ack 1212736001 win 0 (ttl 64, id 12)
14:40:20.676108 dirac.physik.uni-bonn.de.d9614c0c > merlin.physik.uni-bonn.de.nfs: 92 getattr fh 0,131075/2 (ttl 64, id 53660)
14:40:20.676369 merlin.physik.uni-bonn.de > dirac.physik.uni-bonn.de: icmp: merlin.physik.uni-bonn.de udp port nfsd unreachable (ttl 255, id 13)
14:40:23.246121 dirac.physik.uni-bonn.de.d9614c0c > merlin.physik.uni-bonn.de.nfs: 92 getattr fh 0,131075/2 (ttl 64, id 53661)
14:40:23.246383 merlin.physik.uni-bonn.de > dirac.physik.uni-bonn.de: icmp: merlin.physik.uni-bonn.de udp port nfsd unreachable (ttl 255, id 14)

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9811201502200.307-300000>