How to add a metadb replica to a slice in a RAID after the fact?

From: Barry Callahan (barryc@rjlsystems.com)
Date: Fri Mar 12 2004 - 10:54:12 EST


Our fileserver (Ultra2, Solaris 9, A5000) was recently moved from one room to
another. When we brought it back up, one of the disks was non-responsive.

`Metadb -i` reported that the disk had problems with master blocks, and metastat
claimed that the disk had no database replicas.

I used metareplace to replace the disk with one off the shelf, then realized
that I hadn't created a database replica on it.

Now, that it's been attached to the RAID, I can't use metadetach, and metadb
won't let me add replicas to it while it's already attached to the RAID. Should
I connect another disk to the machine, use `metareplace` to swap it into the
RAID in place of my replica-less disk, create the database replica, and then
swap it back in? Or is there a cleaner solution?

Then again, since the other 13 disks in the A5000 all have database replicas on
them, one being without probably won't cause any major problems, but I'd be
happier if they were all homogenous.
_______________________________________________
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:28:15 EDT