tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Stuart Walker <stuartw@sydney.net>
Cc: Stuart Walker <StuartW@becons.com.au>
Subject: "Moving" drd devices
Date: Thu, 20 Feb 2003 08:30:29 +0000	[thread overview]
Message-ID: <200302200830.h1K8UTvj025912@sydney.net> (raw)

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


                 reply	other threads:[~2003-02-20  8:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox