SDS big problem

From: Rick von Richter (rickv@mwh.com)
Date: Tue Jun 18 2002 - 18:45:38 EDT


I have a rather large install of SDS which is being used as my NFS server.
It is in a state that I am having a hard time trying to figure out how to
fix.

System
------
E3500, Sol 2.6, 6 Photon arrays (2x5000, 2x5100, 2x5200)
This server was sharing the arrays with another E3500 but it is alone now.
SDS configuration is RAID 0+1.
All of my data disks are in a diskset (nfs). OS disks are in the root set.
I am using trans and logging devices for all of my mirrors.
I have hot spare pools configured.
I have over 500 metadevices. (not fun to recreate)
Three arrays are mirrored to three identical arrays.

Problem
-------
I needed to remove three of the arrays for a new project so I broke the
mirrors and removed the arrays. I needed these arrays because we are
setting up a new NFS system and I needed these three arrays. The idea was
to set up the new system and migrate the data from the old system then add
the remaining three arrays as mirrors to the new system.

We hit some snags on the new install and since i was very nervous about
running w/no mirrors I procurred three more arrays to become temp mirrors
on the old system. (Don't ask)

That is when the fun started. I added (plugged in) the arrays and was able
to get the OS to see them. The are not the same controller/target numbers
as the old arrays. So, when I tried to add the new disks to the metaset it
refused to let me saying that one of the disks in the current set does not
exist. Example: the disk c3t0d0 was one of the original disks from one of
the arrays that I removed. I want to add c9t0d0 (one of the new disks) to
the metaset. Here is what I get;

# metaset -s nfs -a c9t0d0
metaset: /dev/rdsk/c3t0d0s7: No such file or directory

When I try to remove the old drive (c3t0d0) is get this;

# metaset -s nfs -d -f c3t0d0
metaset: c3t0d0: not a valid drive name

Where I erred is that I failed to remove the devices (drives) from the
diskset.

I believe the information for the diskset is in the metadatabases defined
for the diskset or it is in slice 7 of each of the disks defined in the
diskset.

Here is one possible solution but I don't know whether my data will be
intact afterwards.
I have a full md.tab file I can use for a 'metainit -s nfs -a' command.
I would remove all of the metadb's and then recreate them and use the
metainit command to rebuild all of the mirrors.
Would this work?

Does anyone have any suggestions? (No laughing please.)

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Rick von Richter Production Support Manager       Voice: 858-831-2222
  rickv@mwh.com    Maintenance Warehouse/Home Depot   Fax: 858-831-2221
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  The box says: Win98, WinNT or BETTER. That's why I installed Linux.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[demime 0.99c.7 removed an attachment of type text/x-vcard which had a name of rickv.vcf]
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:28 EDT