SVM One-Way Mirrors & Errors

From: Hackett, Peter (PHackett@talisman-energy.com)
Date: Wed Jan 31 2007 - 20:57:47 EST


All,

I've setup SVM on some of my servers with one way mirrors and frequently
encounter errors in form of 'needs maintenance' on the one submirror.
Although all the underlying filesystem are OK, and it doesn't appear to
be a real problem, it's an annoyance I would like to resolve. The disk
here in this case come from a SAN, but I have also seen this when done
with DAS as well. The errors are not there on metadevice creation, but
appear after a while. I like the flexibiltiy that one-way mirrors
provide when using SVM in a SAN environment when VxVM is not available,
but the errors do cause problems as far as monitoring goes.

One a box which has 8 one-way mirrors, 2 of them are in 'need
maintenance' state. Below is a metastat output which shows one-way
mirrors at d40, d50, d60, d65, d70, d75, d80, & d85.

My questions are why would I have errors on my one-way mirrors at d60
and d80 when all the disks and filesystems are OK.

Is there anything wrong with doing one-way mirrors?

Is there a gracefull way to correct these errors and bring these back
into an Okay state.

Any and all help and feedback appreciated.

Thanks,
Peter

--
box123 # metastat
d0: Mirror
    Submirror 0: d1
      State: Okay
    Submirror 1: d2
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 16393536 blocks (7.8 GB)
d1: Submirror of d0
    State: Okay
    Size: 16393536 blocks (7.8 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s0          0     No            Okay   Yes
d2: Submirror of d0
    State: Okay
    Size: 16393536 blocks (7.8 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s0          0     No            Okay   Yes
d5: Mirror
    Submirror 0: d6
      State: Okay
    Submirror 1: d7
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 32776896 blocks (15 GB)
d6: Submirror of d5
    State: Okay
    Size: 32776896 blocks (15 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s1          0     No            Okay   Yes
d7: Submirror of d5
    State: Okay
    Size: 32776896 blocks (15 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s1          0     No            Okay   Yes
d10: Mirror
    Submirror 0: d11
      State: Okay
    Submirror 1: d12
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 24585216 blocks (11 GB)
d11: Submirror of d10
    State: Okay
    Size: 24585216 blocks (11 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s3          0     No            Okay   Yes
d12: Submirror of d10
    State: Okay
    Size: 24585216 blocks (11 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s3          0     No            Okay   Yes
d15: Mirror
    Submirror 0: d16
      State: Okay
    Submirror 1: d17
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 28594560 blocks (13 GB)
d16: Submirror of d15
    State: Okay
    Size: 28594560 blocks (13 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s5          0     No            Okay   Yes
d17: Submirror of d15
    State: Okay
    Size: 28594560 blocks (13 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s5          0     No            Okay   Yes
d20: Mirror
    Submirror 0: d21
      State: Okay
    Submirror 1: d22
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 40968576 blocks (19 GB)
d21: Submirror of d20
    State: Okay
    Size: 40968576 blocks (19 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s4          0     No            Okay   Yes
d22: Submirror of d20
    State: Okay
    Size: 40968576 blocks (19 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s4          0     No            Okay   Yes
d30: Mirror
    Submirror 0: d31
      State: Okay
    Submirror 1: d32
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 286678272 blocks (136 GB)
d31: Submirror of d30
    State: Okay
    Size: 286678272 blocks (136 GB)
    Stripe 0: (interlace: 32 blocks)
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t2d0s0          0     No            Okay   Yes
        c1t4d0s0      10176     No            Okay   Yes
d32: Submirror of d30
    State: Okay
    Size: 286678272 blocks (136 GB)
    Stripe 0: (interlace: 32 blocks)
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t3d0s0          0     No            Okay   Yes
        c1t5d0s0      10176     No            Okay   Yes
d40: Mirror
    Submirror 0: d41
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 495022080 blocks (236 GB)
d41: Submirror of d40
    State: Okay
    Size: 495022080 blocks (236 GB)
    Stripe 0:
        Device                                    Start Block  Dbase
State Reloc Hot Spare
        c4t60020F200000578641C31FC00006723Fd0s0          0     No
Okay   Yes
d50: Mirror
    Submirror 0: d51
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 495022080 blocks (236 GB)
d51: Submirror of d50
    State: Okay
    Size: 495022080 blocks (236 GB)
    Stripe 0:
        Device                                    Start Block  Dbase
State Reloc Hot Spare
        c4t60020F200000578641C31FF4000495D6d0s0          0     No
Okay   Yes
d60: Mirror
    Submirror 0: d61
      State: Needs maintenance
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 428863488 blocks (204 GB)
d61: Submirror of d60
    State: Needs maintenance
    Invoke: after replacing "Maintenance" components:
                metareplace d60 c4t60020F200000607E4071E2CA0001A386d0s0
<new device>
    Size: 428863488 blocks (204 GB)
    Stripe 0:
        Device                                    Start Block  Dbase
State Reloc Hot Spare
        c4t60020F200000607E4071E2CA0001A386d0s0          0     No
Last Erred   Yes
d65: Mirror
    Submirror 0: d66
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 428863488 blocks (204 GB)
d66: Submirror of d65
    State: Okay
    Size: 428863488 blocks (204 GB)
    Stripe 0:
        Device                                    Start Block  Dbase
State Reloc Hot Spare
        c4t60020F200000607E4071E2E30009C708d0s0          0     No
Okay   Yes
d70: Mirror
    Submirror 0: d71
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 428863488 blocks (204 GB)
d71: Submirror of d70
    State: Okay
    Size: 428863488 blocks (204 GB)
    Stripe 0:
        Device                                    Start Block  Dbase
State Reloc Hot Spare
        c4t60020F200000607E4071E247000F3A5Ed0s0          0     No
Okay   Yes
d75: Mirror
    Submirror 0: d76
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 428863488 blocks (204 GB)
d76: Submirror of d75
    State: Okay
    Size: 428863488 blocks (204 GB)
    Stripe 0:
        Device                                    Start Block  Dbase
State Reloc Hot Spare
        c4t60020F200000607E4071E267000C7513d0s0          0     No
Okay   Yes
d80: Mirror
    Submirror 0: d81
      State: Needs maintenance
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 1000681472 blocks (477 GB)
d81: Submirror of d80
    State: Needs maintenance
    Invoke: after replacing "Maintenance" components:
                metareplace d80 c4t60020F200000ED6C430A01B100017AA8d0s0
<new device>
    Size: 1000681472 blocks (477 GB)
    Stripe 0:
        Device                                    Start Block  Dbase
State Reloc Hot Spare
        c4t60020F200000ED6C430A01B100017AA8d0s0          0     No
Last Erred   Yes
d85: Mirror
    Submirror 0: d86
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 786544640 blocks (375 GB)
d86: Submirror of d85
    State: Okay
    Size: 786544640 blocks (375 GB)
    Stripe 0:
        Device                                    Start Block  Dbase
State Reloc Hot Spare
        c4t60020F200000ED6C434C17AF0003BE9Fd0s0          0     No
Okay   Yes
----END
_______________________________________________
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:41:34 EDT