1 Reply Latest reply: May 11, 2014 3:39 AM by Syed_Fayaz_Solaris RSS

    SVM Both sub-mirrors are in "Needs maintenance" state

    1831467

      Please help here...

       

      I am replacing a drive with failures: c1t0d0

       

      # iostat -En | grep -i hard

      >>> c1t0d0          Soft Errors: 3 Hard Errors: 21 Transport Errors: 29

      c1t1d0          Soft Errors: 1 Hard Errors: 7 Transport Errors: 6

      c0t0d0          Soft Errors: 19 Hard Errors: 6 Transport Errors: 0

      #

      # metastat d8

      d8: Mirror

          Submirror 0: d7

            State: Needs maintenance

          Submirror 1: d6

            State: Needs maintenance

          Pass: 1

          Read option: roundrobin (default)

          Write option: parallel (default)

          Size: 4202688 blocks (2.0 GB)

       

      d7: Submirror of d8

          State: Needs maintenance

          Invoke: metasync d8

          Size: 4202688 blocks (2.0 GB)

          Stripe 0:

              Device     Start Block  Dbase        State Reloc Hot Spare

              c1t1d0s3          0     No       Resyncing   Yes

       

       

      d6: Submirror of d8

          State: Needs maintenance

          Invoke: after replacing "Maintenance" components:

                      metareplace d8 c1t0d0s3 <new device>

          Size: 4202688 blocks (2.0 GB)

          Stripe 0:

              Device     Start Block  Dbase        State Reloc Hot Spare

              c1t0d0s3          0     No      Last Erred   Yes

       

       

      Device Relocation Information:

      Device   Reloc  Device ID

      c1t1d0   Yes    id1,sd@SFUJITSU_MAU3073NCSUN72G_000517F009VP____ANC0P54009VP

      c1t0d0   Yes    id1,sd@SFUJITSU_MAU3073NCSUN72G_000517F009L9____ANC0P54009L9

      #


      I have this mirror with both sub-mirrors in "Needs maintenance" state. Please note the states "Resyncing" and "Last Erred" I previously tried below command with no luck:

       

      # metadetach -f d8 d6

      metadetach: HNLLCMTCLT: d8: operation would result in no readable submirrors

       

      Please assist.

       

      Thank you.