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



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@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • How to force destruction of disk suite mirror while resync is in progress
    ... I wish to completely destroy a disk suite mirror that I have mistakenly ... A resync is currently in progress between the two halves of the ... The -f option does not work (...resync in progress). ... Maybe there is a way to destroy the metaset, ...
    (SunManagers)
  • [PATCH] make dm-mirror not issue invalid resync requests
    ... I've been attempting to set up a RAID mirror with dm_mirror on ... configuration in question is a set of 9GB SCSI disks that have 17942584 ... there's any resync that needs to be done, and queues up any areas that ... areas outside of the RAID1 region. ...
    (Linux-Kernel)
  • Cloning through SDS Mirror, boot failure
    ... metadetach -f d31 d21 ... I'm using metadetach to break the mirror, ... metaclear d20 ... metattach d30 d20 ...
    (SunManagers)
  • Installing bigger disks, with SVM
    ... metadetach d37 d17 # detach submirror that will be in continued use ... metaclear -r d37 # clear the mirror ... directly with the underlying slices, ...
    (comp.unix.solaris)
  • SUMMARY: Patching with SVM mirroring boot drives
    ... The boot drives are using SVM in a mirror configuration. ... would like to do is metadetach one of each of the mirrors submirrors out of ... Edit /etc/vfstab entries to point to the disk ...
    (SunManagers)