From owner-freebsd-stable@FreeBSD.ORG Fri May 16 10:59:00 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE3A1106566B for ; Fri, 16 May 2008 10:59:00 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140]) by mx1.freebsd.org (Postfix) with ESMTP id 6828D8FC18 for ; Fri, 16 May 2008 10:59:00 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.18.98.62] (brmea-proxy-1.Sun.COM [192.18.98.62]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id EABBA13DF53 for ; Fri, 16 May 2008 14:40:36 +0400 (MSD) Message-ID: <482D6492.8080209@FreeBSD.org> Date: Fri, 16 May 2008 14:40:18 +0400 From: Lev Serebryakov Organization: FreeBSD Project User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.14) Gecko/20071210 Thunderbird/1.5.0.14 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD 7.0-STABLE: "mount_nfs" vs "mount -t nfs": problems with second one, UDP timeouts and ICMP ports unreach?! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2008 10:59:00 -0000 I have two hosts: host A (FreeBSD 6.3-S) and host B (FreeBSD 7.0-S, freshly installed). Host A exports "/usr/ports" to host B via NFS. Mount with "mount_nfs" works well: b# mount_nfs a:/usr/ports /usr/ports b# ls /usr/ports [---SKIPPED---= b# But mount with "mount -t nfs" FAILS: b# mount -t nfs a:/usr/ports /usr/ports [udp] a:/usr/ports: NFSPROC_NULL: RPC: Timed out [udp] a:/usr/ports: NFSPROC_NULL: RPC: Timed out ^C b# tcpdump on A shows VERY strange picture: b.960 > a.sunrpc: UDP, length 56 a.sunrpc > b.960: UDP, length 28 b.820 > a.nfs: 40 null a.nfs > b.820: reply ok 24 b > a: ICMP b udp port 820 unreachable, length 36 b.912 > a.sunrpc: UDP, length 56 a.sunrpc > b.912: UDP, length 28 b.973 > a.nfs: 40 null a.nfs > b.973: reply ok 24 b > a: ICMP b udp port 973 unreachable, length 36 You see? b answer with "UDP port unreachable" on each RPC reply! There is NO any firewalls on B. And, I repeat, it WORKS when I call mount_nfs directly in a moment! Main problem is, that "/etc/fstab" is processed by mount, and NFS mount hangs up on boot, as shown above :( -- // Lev Serebryakov