From owner-freebsd-questions Mon Jul 12 18:55:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 74BC814C4A for ; Mon, 12 Jul 1999 18:55:18 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id LAA09455; Tue, 13 Jul 1999 11:24:53 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id LAA39366; Tue, 13 Jul 1999 11:24:52 +0930 (CST) Date: Tue, 13 Jul 1999 11:24:52 +0930 From: Greg Lehey To: Walter Hafner , Walter Hafner Cc: questions@FreeBSD.ORG Subject: Re: strange NFS problem Message-ID: <19990713112452.U21403@freebie.lemis.com> References: <14218.4014.47678.998590@hprbg5.informatik.tu-muenchen.de> <14218.4014.47678.998590@hprbg5.informatik.tu-muenchen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <14218.4014.47678.998590@hprbg5.informatik.tu-muenchen.de>; from Walter Hafner on Mon, Jul 12, 1999 at 05:54:22PM +0200 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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