Date: Tue, 13 Jul 1999 11:24:52 +0930 From: Greg Lehey <grog@lemis.com> To: Walter Hafner <hafner@in.tum.de>, Walter Hafner <hafner@informatik.tu-muenchen.de> Cc: questions@FreeBSD.ORG Subject: Re: strange NFS problem Message-ID: <19990713112452.U21403@freebie.lemis.com> In-Reply-To: <14218.4014.47678.998590@hprbg5.informatik.tu-muenchen.de>; from Walter Hafner on Mon, Jul 12, 1999 at 05:54:22PM %2B0200 References: <14218.4014.47678.998590@hprbg5.informatik.tu-muenchen.de> <srjwvw5dd71.fsf@hprbg5.informatik.tu-muenchen.de> <14218.4014.47678.998590@hprbg5.informatik.tu-muenchen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 12 July 1999 at 17:54:22 +0200, Walter Hafner wrote: > Host A: FreeBSD 2.2.8 STABLE, NFS Server > Host B: FreeBSD 3.1 RELEASE, NFS Client > > Host A runs "mountd -n" and "nfsd" (4 childs). > > Routing between A and B is ok, DNS and reverse DNS is ok. > > /etc/exports on A: > > /export/dist B C D > /export/data B C D > > /etc/fstab on B: > > A:/export/data /mount/A/export/data nfs 2,rw,intr,soft,noauto 0 0 > A:/export/dist /mount/A/export/dist nfs 2,rw,intr,soft,noauto 0 0 > > When I do a > > mount /mount/w3proj1/export/data > > on B it hangs forever. When I start mountd with -d on A, it tells me > "mount successful" or something similar (don't have the machine at > hand.) > > A ktrace on the "mount ..." line gives: > > [std lib messages] > [reading fstab] > 53205 mount RET read 528/0x210 > 53205 mount CALL statfs(0x806bfbd,0xefbfd0b8) > 53205 mount NAMI "/" > 53205 mount RET statfs 0 > 53205 mount CALL stat(0x8071320,0xefbfd1b8) > 53205 mount NAMI "/dev/da0s1a" > 53205 mount RET stat 0 > 53205 mount CALL open(0x806ba40,0,0xefbfcb3c) > 53205 mount NAMI "." > 53205 mount RET open 4 > 53205 mount CALL chdir(0xefbfcb3c) > 53205 mount NAMI "/mount/A/export" > 53205 mount RET chdir 0 > 53205 mount CALL lstat(0xefbfcb52,0xefbfcaac) > 53205 mount NAMI "data" > 53205 mount PSIG SIGINT SIG_DFL Is system B multi-homed? In other words, does it have more than one IP address? There's a bug in the system which will cause it to accept the mount, but possibly reply with the "other" IP address. This will cause a hang which you can only resolve with a reboot. See PR kern/9612 for more details. On Monday, 12 July 1999 at 18:50:58 +0200, Walter Hafner wrote: > Walter Hafner <hafner@informatik.tu-muenchen.de> writes: > >> Host A: FreeBSD 2.2.8 STABLE, NFS Server >> Host B: FreeBSD 3.1 RELEASE, NFS Client >> >> Host A runs "mountd -n" and "nfsd" (4 childs). > > ...and so on. > > Never mind. I found the problem (apart from the bogus "2" option in > /etc/fstab :-) > > I didn't mount from the machines "A" record name, but from on of the > machines "CNAME"s. The FreeBSD 3.1 mount doesn't seem to like this. If my reasoning above is correct, I don't think that's the solution, unless by changing the name you removed the duplicate IP addresses. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990713112452.U21403>
