From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?=22Martin_R=F8nde_Andersen_-_mail=2Edk=22?= Newsgroups: gmane.os.tru64.managers,gmane.spam.detected Subject: SUMMARY: cfsmgr relocation error, /usr relocation, what is ( reason 22 ) ? Date: Sun, 13 Jan 2008 16:02:59 +0100 Message-ID: <478A2823.2040009@mail.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200236621 32635 80.91.229.12 (13 Jan 2008 15:03:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Jan 2008 15:03:41 +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 Sun Jan 13 16:04:00 2008 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by lo.gmane.org with smtp (Exim 4.50) id 1JE4NN-0002lR-TL for gotm-tru64-unix-managers@gmane.org; Sun, 13 Jan 2008 16:03:54 +0100 Original-Received: (qmail 4731 invoked by uid 49509); 13 Jan 2008 15:03:18 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 4721 invoked by uid 49501); 13 Jan 2008 15:03:17 -0000 Original-Received: from 160.91.4.110 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.110):SA:0(-2.6/5.0):. Processed in 1.637928 secs); 13 Jan 2008 15:03:17 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute3.ornl.gov (160.91.4.110) by sws1.ornl.gov with SMTP; 13 Jan 2008 15:03:15 -0000 Original-Received: from emroute3.ornl.gov ([127.0.0.1]) by emroute3.ornl.gov (PMDF V6.3-x14 #31501) with ESMTP id <0JUL00MKS8HFT9@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 13 Jan 2008 10:03:15 -0500 (EST) Original-Received: from CONVERSION-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.3-x14 #31501) id <0JUL008018HFUR@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 13 Jan 2008 10:03:15 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.3-x14 #31501) id <0JUL008028H9UO@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 13 Jan 2008 10:03:15 -0500 (EST) Original-Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by emroute3.ornl.gov (PMDF V6.3-x14 #31501) with ESMTP id <0JUL0082X8H8KA@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 13 Jan 2008 10:03:09 -0500 (EST) Original-Received: from [127.0.0.1] (0x50a1bf1a.hrnxx5.adsl.tele.dk [80.161.191.26]) by pfepc.post.tele.dk (Postfix) with ESMTP id 85D958A0021 for ; Sun, 13 Jan 2008 16:03:07 +0100 (CET) X-Envelope-from: martin.roende@mail.dk User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on spam3.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.2.3 X-Spam-Report: 6.5 points; * 4.9 SPF_FAIL SPF: sender does not match SPF record (fail) * [SPF failed: Please see http://spf.pobox.com/why.html?sender=martin.roende%40mail.dk&ip=160.91.1.101&receiver=lo] * 1.6 DNS_FROM_RFC_POST RBL: Envelope sender in postmaster.rfc-ignorant.org Xref: news.gmane.org gmane.os.tru64.managers:9268 gmane.spam.detected:3016406 Archived-At: Hello list .. Here is a finding/SUMMARY , for a question not asked to the list, but maybe to the interest of other users : :-) In short, collect has to be shut down, while relocating, with a "# /sbin/init.d/collect stop" on both nodes I had a problem relocation the /usr in a 5.1B cluster. This is a LSM mirrored rootvol, varvol and usrvol. PROBLEM: Commands issued: node1:/> cfsmgr -r -a SERVER=node1 /var # this worked node1:/> cfsmgr -v -r -a SERVER=node2 /usr # did not work Server Relocation Failed Failure Reason: Invalid Relocation node1:/> tail /var/adm/messages Jan 13 15:12:42 node1 vmunix: Recovering filesystem mounted at / to this node (member id 1) Jan 13 15:12:42 node1 vmunix: Recovery to this node (member id 1) complete for filesystem mounted at / Jan 13 15:14:51 node1 vmunix: Recovering filesystem mounted at /var to this node (member id 1) Jan 13 15:14:52 node1 vmunix: Recovery to this node (member id 1) complete for filesystem mounted at /var Jan 13 15:15:07 node1 vmunix: CFS: Relocation request for /usr rejected by : node 1 (reason 22) Jan 13 15:15:38 node1 vmunix: CFS: Relocation request for /usr rejected by : node 1 (reason 22) node1:/> cfsmgr -cev /usr Domain or filesystem name = /usr Server Name = node1 Server Status : OK SOLUTION: from http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_ACRO_DUX/ARHH1ETE.PDF 2.6.2 CFS Relocation Failures Involving Applications That Wire Memory Applications that use the plock( ) or mlock( ) system call to lock pages of physical memory can cause the cfsmgr command to fail when performing a manual relocation. If the application uses plock( ), the domain or file system that contains the application executable cannot relocate. In the case of mlock( ), if the locked pages are associated with files, the file systems where those files reside cannot relocate. In the event of failure, the cfsmgr command returns the following message: Server Relocation Failed Failure Reason: Invalid Relocation To allow the relocation to complete for the domain or file system on which the executables reside, kill the processes that are running the executables using the plock( ) and mlock( ) system calls. Find out whether collect is running. If it is, kill collect and restart it with the -l (do not lock pages into memory) option.