From nobody@FreeBSD.org  Sat Jan 19 02:38:39 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7BA2516A469
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <matt.thyer@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: UDP NFS mount of aliased IP addresses from a Solaris 10 NFS v4 server fail
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         119791
>Category:       kern
>Synopsis:       [nfs] UDP NFS mount of aliased IP addresses from a Solaris 10 NFS v4 server fail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-net
>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:  Sat Jan 19 06:35:07 UTC 2008
>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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jan 19 06:33:47 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119791 
>Unformatted:
