From owner-freebsd-fs@FreeBSD.ORG Tue Sep 20 14:24:08 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B192F1065680 for ; Tue, 20 Sep 2011 14:24:08 +0000 (UTC) (envelope-from rs@bytecamp.net) Received: from mail.bytecamp.net (mail.bytecamp.net [212.204.60.9]) by mx1.freebsd.org (Postfix) with ESMTP id 0B68D8FC1F for ; Tue, 20 Sep 2011 14:24:07 +0000 (UTC) Received: (qmail 66060 invoked by uid 89); 20 Sep 2011 15:57:27 +0200 Received: from stella.bytecamp.net (HELO ?212.204.60.37?) (rs%bytecamp.net@212.204.60.37) by mail.bytecamp.net with CAMELLIA256-SHA encrypted SMTP; 20 Sep 2011 15:57:27 +0200 Message-ID: <4E789BC7.3090702@bytecamp.net> Date: Tue, 20 Sep 2011 15:57:27 +0200 From: Robert Schulze Organization: bytecamp GmbH User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: NFS umount takes ages when no DNS available X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2011 14:24:08 -0000 Hi, during maintainance work, I realized that an umount -h ip.ad.re.ss takes very long time when there is no nameserver reachable by the client (and server). All nfs configuration is done without hostnames, so I wonder why there is this delay (about 1 minute per mountpoint). client: 8.1-RELEASE-p1/amd64 server: 8.2-STABLE/amd64 The hostname seems to be exchanged by client and server, this can be noticed by warnings like the following in /var/log/messages on the server: rpc.statd: Failed to contact host client.foobar.net: RPC: Port mapper failure - RPC: Timed out statd is running on the client, but bound to an interface with an ip address not matching the logged hostname. Could NFS be tweaked in that way, that it does not use hostnames at all or at least will not provide hostnames on interfaces with don't carry the ip address the hostname matches to? with kind regards, Robert Schulze