overlaps with device in metadevice state database

From: Brian Lucas (BLucas@accela.com)
Date: Tue Sep 16 2003 - 16:43:58 EDT


We just had a tremendous power spike that knocked one of our 5200 SENA boxes
offline. It has restarted but I have a problem. I have searched the
sunmanagers.org archive and sun but to no immediate avail and I need this
resolved ASAP.

The logical volumes now show disks needing maintenance. No big deal. I do
a metareplace -e but this time, which is different than times past, I get an
error that the disk "overlaps with device in metadevice state database"
Upon further investigation, I notice that the controller number has changed
and now instead of c3t1d0s2 being used, the disk needing maintenance shows
as c4t1d0s2.

What can I do to resync my logical volumes? Here's an example of one of
them:

# metastat d2
d2: Mirror
    Submirror 0: d21
      State: Needs maintenance
    Submirror 1: d22
      State: Needs maintenance
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 141435392 blocks

d21: Submirror of d2
    State: Needs maintenance
    Invoke: metareplace d2 c4t5d0s2 <new device>
    Size: 141435392 blocks
    Stripe 0: (interlace: 32 blocks)
        Device Start Block Dbase State Reloc Hot Spare
        c4t3d0s2 9424 No Okay Yes
        c4t4d0s2 9424 No Okay Yes
        c4t5d0s2 9424 No Maintenance Yes
        c4t6d0s2 9424 No Maintenance Yes

d22: Submirror of d2
    State: Needs maintenance
    Invoke: after replacing "Maintenance" components:
                metareplace d2 c0t21d0s2 <new device>
    Size: 141435392 blocks
    Stripe 0: (interlace: 32 blocks)
        Device Start Block Dbase State Reloc Hot Spare
        c0t19d0s2 9424 No Okay Yes
        c0t20d0s2 9424 No Okay Yes
        c0t21d0s2 4712 No Last Erred Yes
        c0t22d0s2 9424 Yes Last Erred Yes

Device Relocation Information:
Device Reloc Device ID
c4t3d0 Yes id1,ssd@w2000002037ba289e
c4t4d0 Yes id1,ssd@w2000002037605c5d
c4t5d0 Yes id1,ssd@w2000002037467108
c4t6d0 Yes id1,ssd@w20000020375b1ae5
c0t19d0 Yes id1,ssd@w2000002037ae67f7
c0t20d0 Yes id1,ssd@w2000002037ae940f
c0t21d0 Yes id1,ssd@w200000203760148c
c0t22d0 Yes id1,ssd@w20000020376e7e31
#

Brian Lucas, MCSE, OCP
IT Engineer
_______________________________________________
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:27:07 EDT