SVM: tearing down and putting back a RAID 5 on the same system?
- From: Dan Stromberg <strombrg@xxxxxxxxxxxxxxx>
- Date: Fri, 16 Jun 2006 23:47:14 GMT
Hi folks.
I have a mail server that currently has its mail spool on 3 disks in a
RAID 5 with one hot spare.
We need to replace it with 2 larger disks in a mirror - not a root mirror,
just a plain old mirror. It probably goes without saying that I want to
minimize downtime on this server.
To do this, I've been planning to tear down the RAID 5, remove those
disks, and set up a mirror in the now-unoccupied drive bays. The
tearing-down commands I had in mind are:
metadb -f -d /dev/dsk/c0t8d0s7
metadb -f -d /dev/dsk/c0t10d0s7
metadb -f -d /dev/dsk/c0t12d0s7
metaclear -f hsp001
metaclear -f /dev/md/dsk/d6
....or perhaps just:
metaclear -f -r /dev/md/dsk/d6
My question is this: If for some reason the new root mirror doesn't work
out, is there a way to set the unchanged four disks in the RAID 5 back up
again, without losing the data that is on them? And are they truly
"unchanged" if I run the commands above? "metaimport -r" seems to
think they aren't importable on my test system, after running the
metaclear -r above.
Can disksets do this (tear down and put back without data loss)? And if
so, is this a Solaris 10-only feature? I'm doing this on Solaris 8 10/01.
Thanks!
.
- Follow-Ups:
- Prev by Date: Re: Force 100 Full Duplex (V210)
- Next by Date: installing Solaris 10 question?
- Previous by thread: Java on Xwindows soo slow
- Next by thread: Re: SVM: tearing down and putting back a RAID 5 on the same system?
- Index(es):
Relevant Pages
|