From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Milligan, Eric T \(ES\)" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: NFS automount problems Date: Wed, 03 Nov 2010 09:39:53 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1288795435 9758 80.91.229.12 (3 Nov 2010 14:43:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 3 Nov 2010 14:43:55 +0000 (UTC) To: tru64-unix-managers@ornl.gov Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Nov 03 15:43:51 2010 Return-path: Envelope-to: gotm-tru64-unix-managers@lo.gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1PDeZ4-00020B-5Q for gotm-tru64-unix-managers@lo.gmane.org; Wed, 03 Nov 2010 15:43:50 +0100 Original-Received: (qmail 23829 invoked by uid 49509); 3 Nov 2010 14:43:36 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 23817 invoked by uid 49501); 3 Nov 2010 14:43:36 -0000 Original-Received: from 160.91.86.17 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.86.17):SA:0(-2.5/5.0):. Processed in 7.096839 secs); 03 Nov 2010 14:43:36 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 Original-Received: from emroute2.ornl.gov (160.91.86.17) by sws1.ornl.gov with SMTP; 3 Nov 2010 14:43:29 -0000 Original-Received: from emroute2.ornl.gov ([127.0.0.1]) by emroute2.ornl.gov (PMDF V6.5-x1 #31823) with ESMTP id <0LBB007BNCWG6F@emroute2.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Wed, 03 Nov 2010 10:43:29 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.emroute2.ornl.gov by emroute2.ornl.gov (PMDF V6.5-x1 #31823) id <0LBB00C01CWG4I@emroute2.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Wed, 03 Nov 2010 10:43:28 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute2.ornl.gov by emroute2.ornl.gov (PMDF V6.5-x1 #31823) id <0LBB00547CVYCO@emroute2.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Wed, 03 Nov 2010 10:43:28 -0400 (EDT) Original-Received: from xmrc0101.northgrum.com (xmrc0101.northgrum.com [208.12.122.34]) by emroute2.ornl.gov (PMDF V6.5-x1 #31823) with ESMTP id <0LBB00HXGCQRXP@emroute2.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Wed, 03 Nov 2010 10:40:03 -0400 (EDT) Original-Received: from xbhc0001.northgrum.com ([157.127.103.104]) by xmrc0101.northgrum.com with InterScan Message Security Suite; Wed, 03 Nov 2010 10:45:49 -0400 Original-Received: from XBHIL103.northgrum.com ([134.223.165.23]) by xbhc0001.northgrum.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 03 Nov 2010 07:40:02 -0700 Original-Received: from XMBIL113.northgrum.com ([134.223.165.143]) by XBHIL103.northgrum.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 03 Nov 2010 09:39:57 -0500 X-Envelope-from: Eric.Milligan@ngc.com X-MIMEOLE: Produced By Microsoft Exchange V6.5 Thread-Topic: SUMMARY: NFS automount problems Thread-Index: ActfZ9vdyeG6zwI0Q1W0gBlr7wSlhAb/DO/g Content-class: urn:content-classes:message X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on spam5.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 X-Spam-Virus: No X-Spam-Timing: total 8730 ms - signal_user_changed: 14 (0.2%), parse: 5 (0.1%), extract_message_metadata: 32 (0.4%), get_uri_detail_list: 22 (0.3%), tests_pri_-1000: 31 (0.4%), tests_pri_-950: 3 (0.0%), tests_pri_-900: 3 (0.0%), tests_pri_-400: 148 (1.7%), check_bayes: 125 (1.4%), tests_pri_0: 3561 (40.8%), check_dkim_signature: 3 (0.0%), check_dkim_adsp: 11 (0.1%), check_spf: 202 (2.3%), poll_dns_idle: 180 (2.1%), check_razor2: 796 (9.1%), check_dcc: 346 (4.0%), check_pyzor: 411 (4.7%), tests_pri_500: 16 (0.2%), tests_pri_1000: 30 (0.3%), total_awl: 27 (0.3%), check_awl: 3 (0.0%), update_awl: 16 (0.2%), learn: 4830 (55.3%), rewrite_mail: 0.00 (0.0%) X-Spam-Relay-Country: US US US US X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 03 Nov 2010 14:39:57.0930 (UTC) FILETIME=[FCDA44A0:01CB7B64] Xref: news.gmane.org gmane.os.tru64.managers:9459 Archived-At: Thanks to James Sainsbury and Ric Werme for their suggestions. In the end, because automount maps did work, that was the direction we took. Still seems like the original problem is a bug, though :( James suggested an NFS version mismatch and trying to force the mount to use NFS version 3, and also the use of direct/indirect maps. =20 Ric suggested doing tcpdumps against the mount operations, which I didn't actually get around to investigating, and also turning up the verbosity on the automount command, which didn't yield any useful information. --- Eric -----Original Message----- > We have a few older Tru64/Digital Unix 4.0F clients (needed for support > reasons - 5.1B clients work fine) on our network that are having some > issues connecting to newer Linux NFS fileservers. Up until this point, > we've just been pointing them to older servers for their needs, but > we're coming under pressure to remove the legacy fileservers and the > problem has reared its ugly head again. Hoping someone here has some > insight. Thanks all! > > Please direct replies to eric.milligan@ngc.com; I will summarize and > post solutions to the list. > > Problem: > v4.0F and below can't correctly automount NFS shares on newer Linux > servers. Manual mounts work fine. > > Steps to reproduce: > Set up a new Linux NFS server, share a directory via /etc/exports. Try > mounting said share on a Tru64 4.0F or older machine using automount. > > Details: > This problem seems to coincide with Linux kernels 2.6 and above; this > may be just a correlation with newer versions of nfs-utils. > > > ------------------------------------------------------------------------ > ---------------- > > Client (Tru64) info: > Digital UNIX V4.0F (Rev. 1229); Tue Jan 29 10:15:07 EST 2002 > Patch Kits: DUV40FAS0006-20010620 OSF440 and DUV40FB22AS0008-20030730 > OSF440 (different clients, same result) > >> grep -i auto /etc/rc.config > AUTOMOUNT=3D"1" > export AUTOMOUNT > AUTOMOUNT_ARGS=3D"-M /.automount /net -hosts" > export AUTOMOUNT_ARGS > >> showmount -e bengsh01 > Exports list on bengsh01: > /users * > /data * > >> cd /net/bengsh01/data > /net/bengsh01/data: No such file or directory. > >> mount bengsh01:/data /mnt; mount | grep bengsh01 > bengsh01:/data on /mnt type nfs (v3, rw, udp, hard, intr) > >> cd /mnt; ls -al > total 50 > drwxr-xr-x 3 root system 4096 Sep 28 09:30 . > drwxr-xr-x 37 root system 2048 Jul 20 10:38 .. > -rw------- 1 root system 6144 Sep 28 09:30 aquota.group > -rw------- 1 root system 6144 Sep 28 09:30 aquota.user > drwx------ 2 root system 16384 Sep 28 07:53 lost+found > -rw-r--r-- 1 root system 0 Sep 28 09:48 test > >> cd /net/fry/riss; ls -al > total 97 > dr-xr-xr-x 21 root system 4096 Jul 27 15:23 . > dr-xr-xr-x 3 root system 512 May 2 11:20 .. > drwx------ 4 root system 4096 Jul 22 13:47 .Trash-0 > drwx--S--- 4 1000 csm_cm 4096 May 11 17:42 .Trash-1000 > drwx--S--- 2 root csm_cm 4096 Jun 22 15:40 .Trash-root > drwxrwsr-x 3 proulst swcm 4096 Mar 31 2008 act > drwxr-xr-x 2 root system 4096 Jul 27 15:23 archive_home > drwxrwxr-x 13 proulst swcm 4096 Mar 3 2010 cm > -rwxr--r-- 1 root system 1685 May 14 15:27 daily.check > drwxrwxr-x 14 root riss 4096 May 19 10:46 devel > dr-xr-xr-x 3 proulst swcm 4096 Dec 4 2008 eoss > >> mount | grep fry > fry:/riss on /.automount/net/fry/riss type nfs (v3, rw, udp, hard, intr) > > > ------------------------------------------------------------------------ > ---------------- > > Non-working server info: > bengsh01:~> uname -a; cat /etc/redhat-release; rpm -qa | grep nfs > Linux bengsh01.amherst.com 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT > 2010 x86_64 x86_64 x86_64 GNU/Linux > Red Hat Enterprise Linux Server release 5.5 (Tikanga) > nfs-utils-lib-1.0.8-7.6.el5 > nfs-utils-1.0.9-44.el5 > > bengsh01:~> cat /etc/exports > /data *(rw,sync,no_root_squash) > /users *(rw,sync,no_root_squash) > > No log messages pertaining to server access from the automount requests > that fail - it's like it never makes it that far. I do see log messages > for the manual mount. > > ------------------------------------------------------------------------ > ---------------- > > > Working server info: > fry:/> uname -a; cat /etc/redhat-release; rpm -qa | grep nfs > Linux fry 2.4.27 #4 Wed Oct 6 17:29:46 EDT 2004 i686 i686 i386 GNU/Linux > > Red Hat Linux release 9 (Shrike) > nfs-utils-1.0.1-2.9 > > fry:/> cat /etc/exports > /riss (rw,sync,no_root_squash) --=20 Eric