Professional Web Applications Themes

How to break a mirror? - Linux / Unix Administration

I have some bad disks on (d20: Submirror of d30). How do I detach that mirror? Thanks! [rootbeta-norm01:/etc]# metastat d30: Mirror Submirror 0: d10 State: Needs maintenance Submirror 1: d20 State: Needs maintenance Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 573315840 blocks d10: Submirror of d30 State: Needs maintenance Invoke: metareplace d30 c1t34d0s6 <new device> Size: 573315840 blocks Stripe 0: (interlace: 32 blocks) Device Start Block Dbase State Hot Spare c1t32d0s6 0 No Maintenance c1t33d0s6 10176 No Maintenance c1t34d0s6 10176 No Maintenance c1t35d0s6 10176 No Maintenance d20: Submirror of d30 State: Needs maintenance Invoke: after replacing ...

  1. #1

    Default How to break a mirror?

    I have some bad disks on (d20: Submirror of d30). How do I detach that
    mirror? Thanks!

    [rootbeta-norm01:/etc]# metastat
    d30: Mirror
    Submirror 0: d10
    State: Needs maintenance
    Submirror 1: d20
    State: Needs maintenance
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 573315840 blocks

    d10: Submirror of d30
    State: Needs maintenance
    Invoke: metareplace d30 c1t34d0s6 <new device>
    Size: 573315840 blocks
    Stripe 0: (interlace: 32 blocks)
    Device Start Block Dbase State Hot Spare
    c1t32d0s6 0 No Maintenance
    c1t33d0s6 10176 No Maintenance
    c1t34d0s6 10176 No Maintenance
    c1t35d0s6 10176 No Maintenance


    d20: Submirror of d30
    State: Needs maintenance
    Invoke: after replacing "Maintenance" components:
    metareplace d30 c1t38d0s6 <new device>
    Size: 573315840 blocks
    Stripe 0: (interlace: 32 blocks)
    Device Start Block Dbase State Hot Spare
    c1t36d0s6 0 No Last Erred
    c1t37d0s6 10176 No Okay
    c1t38d0s6 10176 No Last Erred
    c1t39d0s6 10176 No Last Erred

    kaka.hui@gmail.com Guest

  2. Moderated Post

    Default Re: How to break a mirror?

    Removed by Administrator
    pbeckhelm@gmail.com Guest
    Moderated Post

  3. #3

    Default Re: How to break a mirror?

    I just tried, but got the "operation would result in no readable
    submirrors". I googled a little more, I guess the not just the d20 is
    bad. I am thinking if the d10 is bad also, since it's in the
    "maintenence" status. What does the "maintenence" status mean? What
    should I do to fix the problem.

    # metadetach -f d30 d20
    metadetach: beta-norm01: d30: operation would result in no readable
    submirrors

    # metaoffline -f d30 d20
    metaoffline: beta-norm01: d30: operation would result in no readable
    submirrors

    kaka.hui@gmail.com Guest

  4. #4

    Default Re: How to break a mirror?

    com wrote: 

    Look: It tells you how to fix it. Actually, you
    need to add an extra switch to make it work (I
    think -i, it's been several years).
     

    Note that this one is the one marked bad.
     

    Uh-oh. Second bad one. See how it tells you the order
    to do the replacements, that this one is to be done
    second. It does indeed look like you have a bad drive
    on each side of the mirror and it is using the
    non-overlapping parts to keep running.
     

    That's the sick one per the above lines.
     

    When you add replacement drives, definitely add one more and
    make it a hot spare. You're losing too many.

    Doug Guest

Similar Threads

  1. Paragraph break and column break the same?
    By android@adobeforums.com in forum Adobe Indesign Macintosh
    Replies: 4
    Last Post: December 21st, 11:59 PM
  2. mirror
    By gs25 in forum Macromedia Director 3D
    Replies: 2
    Last Post: April 29th, 08:28 AM
  3. Mirror Mirror on the Wall
    By rctfan2@adobeforums.com in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 5
    Last Post: September 30th, 06:06 AM
  4. Mirror mirror on the wall.
    By rctfan2 in forum Adobe Photoshop Elements
    Replies: 3
    Last Post: September 3rd, 11:55 AM
  5. Mirror
    By Chris in forum Windows XP/2000/ME
    Replies: 0
    Last Post: July 24th, 01:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139