From owner-freebsd-hackers@FreeBSD.ORG Tue May 31 00:42:04 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C9C7106566B for ; Tue, 31 May 2011 00:42:04 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id EBAEA8FC13 for ; Tue, 31 May 2011 00:42:03 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap0EAHYx5E2DaFvO/2dsb2JhbABUhEmiWIhxqnOQRoErg2yBBwSQT4dAh3Y X-IronPort-AV: E=Sophos;i="4.65,294,1304308800"; d="scan'208";a="126315204" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 30 May 2011 20:13:20 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id D2F0FB3F61; Mon, 30 May 2011 20:13:20 -0400 (EDT) Date: Mon, 30 May 2011 20:13:20 -0400 (EDT) From: Rick Macklem To: Mark Saad Message-ID: <1385828099.1028129.1306800800853.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.203] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - IE7 (Win)/6.0.10_GA_2692) Cc: freebsd-hackers@freebsd.org, hackers@freebsd.org Subject: Re: Mount_nfs question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2011 00:42:04 -0000 > Hello All > So I am stumped on this one. I want to know what the IP of each > nfs server that is providing each nfs export. I am running 7.4-RELEASE > When I run "mount -t nfs" I see something like this > > VIP-01:/export/source on /mnt/src > VIP-02:/export/target on /mnt/target > VIP-01:/export/logs on /mnt/logs > VIP-02:/export/package on /mnt/pkg > > The issue is I use a load balanced nfs server , from isilon. So VIP-01 > could be any one of a group of IPs . I am trying to track down a > network congestion issue and I cant find a way to match the output of > lsof , and netstat to the output of mount -t nfs . Does anyone have > any ideas how I could track this down , is there a way to run mount > and have it show the IP and not the name of the source server ? > Just fire up wireshark (or tcpdump) and watch the traffic. tcpdump doesn't know much about NFS, but if al you want are the IP#s, it'll do. But, no, mount won't tell you more than what the argument looked like. rick