From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Cutts Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Purging entries from /etc/mountdtab on a cluster Date: Tue, 08 Aug 2006 09:21:55 +0100 Message-ID: <8AB35E44-7384-4C79-A68A-F2744F45DFDE@sanger.ac.uk> References: <18361F24-E40A-4E84-BCED-1851DB0BAB59@sanger.ac.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; format=flowed; delsp=yes; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1155025350 22900 80.91.229.2 (8 Aug 2006 08:22:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Aug 2006 08:22:30 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Aug 08 10:22:26 2006 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1GAMr2-0006S3-Mt for gotm-tru64-unix-managers@gmane.org; Tue, 08 Aug 2006 10:22:25 +0200 Original-Received: (qmail 24972 invoked by uid 49509); 8 Aug 2006 08:22:07 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 24960 invoked by uid 49501); 8 Aug 2006 08:22:07 -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 3.19342 secs); 08 Aug 2006 08:22:07 -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; 8 Aug 2006 08:22:04 -0000 Original-Received: from emroute1.ornl.gov (localhost [127.0.0.1]) by emroute1.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0J3O001F578R6A@emroute1.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 08 Aug 2006 04:22:03 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.ornl.gov by emroute1.ornl.gov (PMDF V6.2-1x9 #31038) id <0J3O0060278O9I@emroute1.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 08 Aug 2006 04:22:03 -0400 (EDT) Original-Received: from smtp.sanger.ac.uk (smtp.sanger.ac.uk [193.62.203.215]) by emroute1.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0J3O004B678NGB@emroute1.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 08 Aug 2006 04:22:00 -0400 (EDT) Original-Received: from ssh.sanger.ac.uk ([193.62.203.54] helo=[127.0.0.1]) by intmail1b.internal.sanger.ac.uk with esmtp (Exim 4.41) id 1GAMqc-0004yc-9j for tru64-unix-managers@ornl.gov; Tue, 08 Aug 2006 09:21:58 +0100 In-reply-to: <18361F24-E40A-4E84-BCED-1851DB0BAB59@sanger.ac.uk> Original-To: tru64-unix-managers@ornl.gov X-Envelope-from: tjrc@sanger.ac.uk X-Mailer: Apple Mail (2.752.2) X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on email.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.1.4 Xref: news.gmane.org gmane.os.tru64.managers:8991 Archived-At: Thanks to Eric Werme, who agreed that my suggestion was probably safest, probably combined with /sbin/init.d/nfs cluster_stop, but also thought it was reasonably safe to just delete the file anyway. As it happened, a network problem caused the cluster to crash about an hour after I sent my message, so a golden opportunity to clean up the file presented itself anyway! Tim On 4 Aug 2006, at 12:44 pm, Tim Cutts wrote: > Is there a procedure for purging old entries from /etc/mountdtab on > TruCluster NFS servers? > > The file has over 23,000 entries on one of our NFS servers, > including entries for several hundred Linux clients which no longer > exist. > This causes the RPC mountlist linked list to be so large that some > clients (notably am-utils on Linux) run out of stack space when > trying to work their way through it. > > Is there a safe way to purge entries from this file? Is it > sufficient to: > > 1) /sbin/init.d/nfs stop > on all TruCluster nodes > 2) Remove all the obsolete entries > 3) /sbin/init.d/nfs start > on all nodes > > ? > > Thanks in advance. > > Tim