From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 19 02:40:01 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDB6116A418 for ; Sat, 19 Jan 2008 02:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9408013C469 for ; Sat, 19 Jan 2008 02:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0J2e1LT026263 for ; Sat, 19 Jan 2008 02:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0J2e1Ks026262; Sat, 19 Jan 2008 02:40:01 GMT (envelope-from gnats) Resent-Date: Sat, 19 Jan 2008 02:40:01 GMT Resent-Message-Id: <200801190240.m0J2e1Ks026262@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthew Thyer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BA2516A469 for ; Sat, 19 Jan 2008 02:38:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 6171F13C4E1 for ; Sat, 19 Jan 2008 02:38:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0J2bFwi010387 for ; Sat, 19 Jan 2008 02:37:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m0J2bFSp010386; Sat, 19 Jan 2008 02:37:15 GMT (envelope-from nobody) Message-Id: <200801190237.m0J2bFSp010386@www.freebsd.org> Date: Sat, 19 Jan 2008 02:37:15 GMT From: Matthew Thyer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/119791: UDP NFS mount of aliased IP addresses from a Solaris 10 NFS v4 server fail X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2008 02:40:01 -0000 >Number: 119791 >Category: kern >Synopsis: UDP NFS mount of aliased IP addresses from a Solaris 10 NFS v4 server fail >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 19 02:40:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Matthew Thyer >Release: 8.0-CURRENT >Organization: >Environment: FreeBSD fuzz 8.0-CURRENT FreeBSD 8.0-CURRENT #15: Tue Jan 8 13:10:30 CST 2008 root@fuzz:/usr/obj/usr/src/sys/MYGENERIC i386 >Description: - UDP NFS mount of aliased IP addresses from a Solaris 10 NFS v4 server fail - UDP NFS mounts of NFS v3 shares from the same server work fine - Linux and Solaris clients work in default configuration when FreeBSD doesn't - sysctl -w vfs.nfs.nfs_ip_paranoia=0 doesn't work even though mount_nfs -c does - Two workarounds are possible: - mount_nfs -o tcp - mount_nfs -c This problem was found in the following "Enterprise" setup: - Server is a high availability cluster in which "service groups" will move as required between cluster nodes. - "Service groups" have a static IP address associated with them (properly registered in DNS) which is the server name used by clients to NFS mount large amounts of storage. - Server default IP address and all aliases are in the same subnet. - Server software is: Solaris 10 with Symantec/Veritas HA 5.0 MP1 (aka Veritas Cluster Server). - The Solaris 10 version is 11/06 with recommended and security patches of about 11 May 2007. - In this arrangement we have several IP addresses on the one cluster node serving NFS and Samba. - All Samba servers are bound specifically to the one "service group" IP address but there is only one NFS server per host such that it will respond on any of the IP addresses and will reply from the main hosts IP address instead of the "service group" address. Since FreeBSD defaults to UDP mounts this makes FreeBSD fail straight away (but all Solaris clients and Linux clients of several different distros have worked fine to date). >How-To-Repeat: FreeBSD client: # mount_nfs server:/share/path /mount_point With "server" being an aliases IP address on a Solaris 10 box in default configuration (i.e. NFS version max is v4) >Fix: Only two workarounds have been found: - mount_nfs -o tcp server:/share/path /mount_point - mount_nfs -c server:/share/path /mount_point No fix is known. >Release-Note: >Audit-Trail: >Unformatted: