Problem with LVM: Both submirrors "need maintenance"

From: Harald Husemann (harald.husemann@materna.de)
Date: Mon Aug 16 2004 - 07:39:04 EDT


Hi gurus,

I have a big problem here with Solaris Volume Manager on a V240, running
Sol. 9.

One of the mirrors (unfortunately the root-mirror...) is in
maintenance-state:

root@plato # metastat d10
d10: Mirror
    Submirror 0: d11
      State: Needs maintenance
    Submirror 1: d12
      State: Needs maintenance
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 62211726 blocks (29 GB)

d11: Submirror of d10
    State: Needs maintenance
    Invoke: after replacing "Maintenance" components:
                metareplace d10 c1t0d0s0 <new device>
    Size: 62211726 blocks (29 GB)
    Stripe 0:
        Device Start Block Dbase State Reloc Hot Spare
        c1t0d0s0 0 No Last Erred Yes

d12: Submirror of d10
    State: Needs maintenance
    Invoke: metasync d10
    Size: 62211726 blocks (29 GB)
    Stripe 0:
        Device Start Block Dbase State Reloc Hot Spare
        c1t1d0s0 0 No Okay Yes

Device Relocation Information:
Device Reloc Device ID
c1t0d0 Yes id1,sd@SSEAGATE_ST336607LSUN36G_3JA7CQQX0000743600J4
c1t1d0 Yes id1,sd@SSEAGATE_ST336607LC______3JA14LFQ00007311AATB

Okay, I tried a metareplace:

root@plato # metareplace -e d10 c1t0d0s0
metareplace: plato: d10: c1t0d0s0: component in invalid state to replace
- Replace "Maintenance" components first

root@plato #

Hm, well, the the metasync first. The sync starts, and after syncing
abt. 8%, it stops without any message.

I hope, anyone out there has an idea what I can do to fix this?? It's a
productive machine, so rebooting it would not be a good idea...

Thanks a lot,

Harald

-- 
============================================
Harald Husemann
Systems Engineer
Teammanager Unix administration and Configuration Management
Materna Gmbh - Vo_kuhle 37 -
D-44141 Dortmund, Germany
Phone:  +49-231-5599-8684
_______________________________________________
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:29:17 EDT