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: NFS automount problems Date: Tue, 28 Sep 2010 10:52:45 -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 1285691174 17634 80.91.229.12 (28 Sep 2010 16:26:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 28 Sep 2010 16:26:14 +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 Tue Sep 28 18:26:10 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 1P0d0I-0008SG-TW for gotm-tru64-unix-managers@lo.gmane.org; Tue, 28 Sep 2010 18:26:07 +0200 Original-Received: (qmail 9987 invoked by uid 49509); 28 Sep 2010 16:25:56 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 9977 invoked by uid 49501); 28 Sep 2010 16:25:56 -0000 Original-Received: from 160.91.4.119 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.119):SA:0(-2.5/5.0):. Processed in 7.106955 secs); 28 Sep 2010 16:25:56 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 Original-Received: from emroute1.ornl.gov (160.91.4.119) by sws1.ornl.gov with SMTP; 28 Sep 2010 16:25:49 -0000 Original-Received: from emroute1.ornl.gov ([127.0.0.1]) by emroute1.ornl.gov (PMDF V6.5-x1 #31823) with ESMTP id <0L9G00C75TN0TV@emroute1.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Tue, 28 Sep 2010 12:25:49 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.emroute1.ornl.gov by emroute1.ornl.gov (PMDF V6.5-x1 #31823) id <0L9G00E01TN068@emroute1.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Tue, 28 Sep 2010 12:25:48 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.ornl.gov by emroute1.ornl.gov (PMDF V6.5-x1 #31823) id <0L9G0072XTM7KQ@emroute1.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Tue, 28 Sep 2010 12:25:48 -0400 (EDT) Original-Received: from xmrc0101.northgrum.com (xmrc0101.northgrum.com [208.12.122.34]) by emroute1.ornl.gov (PMDF V6.5-x1 #31823) with ESMTP id <0L9G000YDS41DB@emroute1.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Tue, 28 Sep 2010 11:52:50 -0400 (EDT) Original-Received: from xbhc0001.northgrum.com ([157.127.103.104]) by xmrc0101.northgrum.com with InterScan Message Security Suite; Tue, 28 Sep 2010 11:58:07 -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); Tue, 28 Sep 2010 08:52:48 -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); Tue, 28 Sep 2010 10:52:47 -0500 X-Envelope-from: Eric.Milligan@ngc.com X-MIMEOLE: Produced By Microsoft Exchange V6.5 Thread-Topic: NFS automount problems Thread-Index: ActfJTEnX0dRjVpRRfmGBBKui94OJQ== Content-class: urn:content-classes:message X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on spam4.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-Relay-Country: US US US US X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 28 Sep 2010 15:52:47.0564 (UTC) FILETIME=[327C80C0:01CB5F25] Xref: news.gmane.org gmane.os.tru64.managers:9455 Archived-At: 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:=20 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=20 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=20 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) --- Eric