Mirror/removal question

From: Brian Lucas (BLucas@accela.com)
Date: Tue Jun 29 2004 - 12:32:40 EDT


Mighty gurus! I have a mirror that I want to rebuild. Though there is
no data on the volume, and the volume is not mounted, I cannot blast
away the mirror because of one submirror that clings to life. It has a
disk in a Last Erred state and no amount of "metaoffline -f" "metadetach
-f" "metaclear" or anything else will let me destroy this mirror and
submirror. All errors return as "operation would result in no readable
submirrors" or "attempted to clear mirror with submirror(s) in invalid
state" or something to that effect to which I respond, in this case
only, "who cares?! Do what I want!"

I have even tried to replace the "Last Erred" disk with "metareplace -e
d3 c0t24d0s2" but that also fails. "metasync" does nothing Without
rebooting, what options are left? The mirror had 2 submirrors, I
removed one but I was still unable to kill the whole mirror because the
"Last Erred" one was hanging me up. I have listed the output from a
metastat command.

Thanks,
Brian

# metastat d3
d3: Mirror
    Submirror 0: d31
      State: Needs maintenance
    Submirror 1: d32
      State: Needs maintenance
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 141435392 blocks

d31: Submirror of d3
    State: Needs maintenance
    Invoke: metasync d3
    Size: 141435392 blocks
    Stripe 0: (interlace: 32 blocks)
        Device Start Block Dbase State Reloc Hot Spare
        c3t10d0s2 9424 No Okay Yes
        c3t7d0s2 9424 No Okay Yes
        c3t8d0s2 9424 No Okay Yes
        c3t9d0s2 4712 No Okay Yes

d32: Submirror of d3
    State: Needs maintenance
    Invoke: after replacing "Maintenance" components:
                metareplace d3 c0t24d0s2 <new device>
    Size: 141435392 blocks
    Stripe 0: (interlace: 32 blocks)
        Device Start Block Dbase State Reloc Hot Spare
        c0t23d0s2 9424 No Okay Yes
        c0t24d0s2 9424 No Last Erred Yes
        c0t25d0s2 9424 No Okay Yes
        c0t26d0s2 9424 No Okay Yes

Device Relocation Information:
Device Reloc Device ID
c3t10d0 Yes id1,ssd@w2000002037397d13
c3t7d0 Yes id1,ssd@w20000020374670af
c3t8d0 Yes id1,ssd@w20000020375b1bbb
c3t9d0 Yes id1,ssd@w20000020375b9aa3
c0t23d0 Yes id1,ssd@w20000020375b997f
c0t24d0 Yes id1,ssd@w20000020376014c3
c0t25d0 Yes id1,ssd@w20000020376e8092
c0t26d0 Yes id1,ssd@w20000020375b1324
#
_______________________________________________
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:58 EDT