Summary - How to force destruction of disk suite mirror while resync is in progress

From: John Ladd <johnladd68_at_googlemail.com>
Date: Tue Feb 26 2008 - 09:16:13 EST
Hello,

Thanks to those who provided suggestions.  In the end I found a way of
solving the problem, albeit quite brutal : disconnecting a volume from the
host in question.  The volumes are connected to the machine from a SAN, so
it was easy to unmap one half of the mirror, and then use "metadetach -f"
and "metaclear" commands to remove the devices which were now in error
state.  I then re-mapped the volume to the machine.

Thanks,

John.

-------------------------

Original question:

Hello,

I wish to completely destroy a disk suite mirror that I have mistakenly
created.  A resync is currently in progress between the two halves of the
mirror, and as the volumes are quite large this will take some time.  Also,
as I am experimenting with various configurations I don't wish to wait for
the resync each time.

Is there a way to force metaclear and/or metadetach commands despite the
resync?  The -f option does not work (...resync in progress).

I thought about destroying the meta database but as there are other
metadevices involved that I want to keep this is not an option.  Besides,
I'm not certain of the impact of doing this.

The mirror in question is under control of a metaset, I'm not sure if that
is relevant:

# metastat -s test1 -p
test1/d100 -m test1/d101 test1/d102 1
test1/d101 1 1 /dev/dsk/c4t1d0s0
test1/d102 1 1 /dev/dsk/c4t1d0s0

Maybe there is a way to destroy the metaset, thereby destroying the mirror
underneath?

John
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Feb 26 09:16:28 2008

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:10 EST