SUMMARY: (Update) How to move DiskSuite metadevices from one system to another

From: Fletcher Cocquyt (fletcherc@ttmc.com)
Date: Fri Oct 18 1996 - 16:53:49 CDT


Original Posting:

I will need to physically move a set of metadevices from my test environment
(Solaris 2.5, DiskSuite 4.0) to a new system, also Solaris 2.5, but which is
not yet running DiskSuite.

This does not appear to be covered in the DiskSuite Answerbook, so the
question is put to the collective wisdom of this list:

How to move the disks so the metadevices show up on the new system?

My best guess would be the following procedure:

1) Install DiskSuite and patches to new system (already done actually)
2) Copy configuration files from /etc/opt/SUNWmd on the old system to
   the new system
3) Bring down the new system, attach the drives and do a boot -r
4) Verify the metadevices and metadb's were recognized with metastat.
   If they aren't found, repeat step 2 and run metainit -a

Before I put these drives in production I would like to hear from people
who have successfully moved drives under control of DiskSuite 4.0
-----------------

I recently moved a 16Gb Raid metadisk using the following procedure from
SUN which is much cleaner than above (you don't need to edit or copy any
config files). (I wish they would document this somewhere! - My manpage
for metainit doesn't mention the -k option):

From: herby@multani.Corp.Sun.COM (Rupinder Multani)

1. Metaclear device on hostA.
1a. move disks to hostB
2. Create replicas on hostB, specify the controller #'s you want to
use for the replica. You can do a metadb -i to see how many replicas
you have now so you create the same # on hostB. You will need atleast
3 replicas.
3. metainit d# -r device1 device2 device3... -i # -k
  NOTE: the -i # can he obtained from metastat -p output. Use the same
   interlace # or else the data will be destroyed. I would suggest that
   you make sure that the same exact # is used. The -k is used so you
  do not zero out the data on the disks.

----------------------------------------------------------------------
Fletcher Cocquyt fletch@ttmc.com (441) 299-2900
System Administrator Trout Trading Hamilton, Bermuda
----------------------------------------------------------------------

PS: Has anyone tried attaching a 10+ disk Multipack to the SCSI bus on an
Ultra 2? Do you get Major SCSI parity errors? According to the Ultra2
answerbook, the SCSI on the Ultra2 is Fast/Wide Single ended - so this
should work...but so far it has given me the same errors on 2 identical
systems. I had to install a SunSwift card (2nd SCSI controller) to get the
Multipack going on the Ultra2.



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