From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jay R. Wren" Newsgroups: gmane.os.tru64.managers Subject: nfs lock/stat issue Date: Mon, 11 Nov 2002 13:21:34 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <68AF500D-F5A2-11D6-B78A-000393912F5A@oakland.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v546) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1037038801 2930 80.91.224.249 (11 Nov 2002 18:20:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 11 Nov 2002 18:20:01 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18BJAF-0000l8-00 for ; Mon, 11 Nov 2002 19:19:59 +0100 Original-Received: (qmail 28403 invoked by uid 5); 11 Nov 2002 18:21:25 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 28394 invoked by uid 49493); 11 Nov 2002 18:21:25 -0000 Original-Received: from jrwren@oakland.edu by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(0.6/5.0):. Processed in 0.458331 secs); 11 Nov 2002 18:21:25 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 11 Nov 2002 18:21:24 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H5F00ISRCBN0G@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 11 Nov 2002 13:21:24 -0500 (EST) Original-Received: from cliff.acs.oakland.edu (cliff.acs.oakland.edu [141.210.10.111]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H5F001IKCBLC3@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 11 Nov 2002 13:21:22 -0500 (EST) Original-Received: from oakland.edu ([141.210.173.120]) by cliff.acs.oakland.edu (8.12.2/8.12.2) with ESMTP id gABILKta233830 for ; Mon, 11 Nov 2002 13:21:20 -0500 (EST) Original-To: tru64-unix-managers@ornl.gov X-Mailer: Apple Mail (2.546) Xref: main.gmane.org gmane.os.tru64.managers:2389 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2389 Hello managers, We recently added some ip aliases to our nfs server by adding ifconfig ee0 alias 1.2.3.4 ifconfig ee0 alias 1.2.3.5 ifconfig ee0 alias 1.2.3.6 to our /etc/inet.local file. Each alias has a corresponding dns entry which resolves forward and reverse as expected. We are having an issue with nfs mounted file systems when the file system is mounted via one of these aliases. It seems rpc.lockd and rpc.statd bind only to the first ip on a given interface. So in the case above if the interface ee0 has 1.2.3.3 and the above aliases rpc.lockd and rpc.statd only listen on 1.2.3.3 and not the above aliases. rpcinfo -p shows me the ports that these two services are listening on, and netstat -na shows which interfaces these ports are listening on. rpcinfo -p |grep -E "stat|lock" 100001 2 udp 2080 rstatd 100001 3 udp 2080 rstatd 100001 4 udp 2080 rstatd 100024 1 udp 1650 status 100024 1 tcp 2550 status 100021 1 tcp 2551 nlockmgr 100021 2 tcp 2551 nlockmgr 100021 3 tcp 2551 nlockmgr 100021 4 tcp 2551 nlockmgr 100020 3 tcp 2551 llockmgr 100021 1 udp 1651 nlockmgr 100021 2 udp 1651 nlockmgr 100021 3 udp 1651 nlockmgr 100021 4 udp 1651 nlockmgr 100020 3 udp 1651 llockmgr netstat -na | grep for ports from above list tcp 0 0 127.0.0.1.2551 *.* LISTEN tcp 0 0 1.2.3.3.2551 *.* LISTEN tcp 0 0 127.0.0.1.2550 *.* LISTEN tcp 0 0 1.2.3.3.2550 *.* LISTEN udp 0 0 *.2080 *.* udp 0 0 127.0.0.1.1651 *.* udp 0 0 1.2.3.3.1651 *.* From this list rstatd (not nfs related, services rup requests) is listening on all interfaces, but all remaining ports(rpc.statd & rpc.lockd) are listening only on localhost and the first interface. I can start a second rpc.lockd with that -b argument and a hostname or ip address, but I cannot start a statd. My NFS clients are having locking issues that are preventing them from functioning. I know the easy fix is to tell my NFS clients to mount via the primary IP instead of the aliases, but I am seeking an alternative solution for various reasons. Thanks, -- Jay R. Wren Systems Programmer Oakland University Rochester, Michigan