Mirror/removal question

From: Brian Lucas (BLucas_at_accela.com)
Date: 06/29/04

  • Next message: Brian Lucas: "SUMMARY: Mirror/removal question"
    Date: Tue, 29 Jun 2004 10:32:40 -0600
    To: <sunmanagers@sunmanagers.org>
    
    

    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


  • Next message: Brian Lucas: "SUMMARY: Mirror/removal question"

    Relevant Pages

    • strange disksuite problem e250
      ... producing the same messages as before - All disks in the mirror config ... Read option: roundrobin ... d10: Submirror of d0 ... State: Needs maintenance ...
      (comp.unix.solaris)
    • Disksuite Problem
      ... We recently used DiskSuite to Mirror the boot drive. ... d12: Submirror of d32 ... State: Needs maintenance ... Invoke: metasync d32 ...
      (SunManagers)
    • Disksuite SubMirror "Needs Maintenance"
      ... d30: Mirror ... Submirror 0: d10 ... State: Needs maintenance ... Stripe 0: ...
      (comp.unix.solaris)
    • Upgrade Solaris 9 with SVM Question
      ... d8: Mirror ... Submirror 0: d18 ... Stripe 0: ... o - replica active prior to last mddb configuration change ...
      (SunManagers)
    • Re: backing up mirrored root
      ... I had assumed an implicit sync in there. ... has no knowledge of what might be stored on the submirror. ... > normal hardware fault, sync up the mirror again, and restart the backup. ... > secondary submirror was taken offline. ...
      (comp.unix.solaris)