SUMMARY: Moving multipack between machines

From: Gunnar Orvarsson (gunnaro@hafro.is)
Date: Thu Dec 04 1997 - 05:37:11 CST


Dear Sun Managers,

My original question described a situation where I had to move a multipack
containing Disksuite 4.0 metadevices and state databases from one machine
to another. I wanted how to preserve the metadevices and the file systems
they contained and my main concern was that the state databases would become
invalid if moved directly to the second system, where the name of the disk
controller would be different.

The following contributed to a solution:

Dave Holland - dave.holland@hexagen.co.uk
Richard Roberto - robertr@nwmarkets.co.jp
Jeff Wasilko - jeffw@smoe.org
Matthew Stier - Matthew.Stier@tddny.fujitsu.com
Rick Reineman - reineman1@llnl.gov
Arthur Darren Dunham - add@is.rice.edu

I also finally managed to find some other useful information in the Sun
Managers Summary Archive on http://www.latech.edu/sunman.html:
 
  1. Moving a Storage Array, August 1997
  2. How to move DiskSuite metadevices from one system to another, Oct 1996

What I did was to create an md.tab file on both machines with definitions for
the state databases (mddb01) and metadevices (using the metastat -p command
on the machine where the disks were coming from). These md.tab files were
identical, except that c0 was used on one machine and c1 on the other.

I issued the following commands on the machine were the disks were coming
from:

        metaclear -a
        metadb -d -f mddb01

Then I shut down the machine, moved the multipack across and booted with -r.
Then the following commands were issued:

        metadb -a -f mddb01
        metainit -a

followed by a reboot in order to create new state databases and get access
to the metadevices.

This did it for me, but I believe some additional steps or parameters may
be required for others, depending on the type of metadevices involved. I
only had concatenated stripes (no raid-5 or mirrors).

Best regards,

-- 
Gunnar Orvarsson                                 Internet:   gunnaro@hafro.is
Hafrannsoknastofnunin/Fiskistofa                 Telephone:  +354 5697909
(Marine Research Inst./Directorate of Fisheries) Fax:        +354 5697990
Ingolfsstraeti 1, Reykjavik, Iceland             Home phone: +354 5813253



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:11 CDT