From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stuart Walker Newsgroups: gmane.os.tru64.managers Subject: "Moving" drd devices Date: Thu, 20 Feb 2003 08:30:29 +0000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200302200830.h1K8UTvj025912@sydney.net> Reply-To: stuartw@becons.com.au NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1045730173 30824 80.91.224.249 (20 Feb 2003 08:36:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Feb 2003 08:36:13 +0000 (UTC) Cc: Stuart Walker Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18lmBe-00080i-00 for ; Thu, 20 Feb 2003 09:36:10 +0100 Original-Received: (qmail 14687 invoked by uid 5); 20 Feb 2003 08:36:04 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 14678 invoked by uid 49493); 20 Feb 2003 08:36:04 -0000 Original-Received: from stuartw@sydney.net by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(0.8/5.0):. Processed in 0.463693 secs); 20 Feb 2003 08:36:04 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 20 Feb 2003 08:36:03 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HAL00MBZMK0SY@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 20 Feb 2003 03:36:03 -0500 (EST) Original-Received: from sydney.net (churchill.sydneywerks.com.au [203.22.101.2]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTPS id <0HAL00123MJS4J@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 20 Feb 2003 03:35:57 -0500 (EST) Original-Received: from sydney.net (churchill.sydneywerks.com.au [203.22.101.2] (may be forged)) by sydney.net (8.12.3/8.12.3/Debian -4) with SMTP id h1K8UTvj025912; Thu, 20 Feb 2003 19:30:29 +1100 Original-To: tru64-unix-managers@ornl.gov X-Mailer: TWIG 2.7.5 Xref: main.gmane.org gmane.os.tru64.managers:3387 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3387 Hi there. We have a 4.0F Tru64 system, running TruCluster 1.6. For various reasons (don't ask...), we need to "move" various drd device from one cluster service to another, keeping the same drd device number. Now, I know that asemgr automatically allocates a drd device when you "a) Add LSM volume or physical disk". Using an example: Service "X" : /dev/rdrd/drd1001 -> /dev/rrz1b /dev/rdrd/drd1002 -> /dev/rrz1d /dev/rdrd/drd1003 -> /dev/rrz2b Service "Y" : /dev/rdrd/drd1004 -> /dev/rrz2d /dev/rdrd/drd1005 -> /dev/rrz2e /dev/rdrd/drd1006 -> /dev/rrz2f We want to END UP with: Service "X" : /dev/rdrd/drd1001 -> /dev/rrz1b /dev/rdrd/drd1002 -> /dev/rrz1d /dev/rdrd/drd1003 -> /dev/rrz2b /dev/rdrd/drd1004 -> /dev/rrz2d /dev/rdrd/drd1005 -> /dev/rrz2e Service "Y" : /dev/rdrd/drd1006 -> /dev/rrz2f Naturally, I'd have to be careful of the order in which I deleted and created the devices in order to keep the drd -> disk-device relationship, but you get the idea. My suspicions are, however, that when a device is deleted, its "drd number" is not necessarily re-used immediately. i.e. I have no idea what algorithm/method asemgr uses when allocating these drd devices. Anyone got any ideas? The reaons for this are a little perverse, but necessary. Regards, Stuart E-mail: StuartW@BECons.com.au