wjxlcc 发表于 2013-12-03 12:21

求m4000硬盘问题修复方法

d20: Mirror
    Submirror 0: d21
      State: Needs maintenance
    Submirror 1: d22
      State: Needs maintenance
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 102400000 blocks (48 GB)

d21: Submirror of d20
    State: Needs maintenance
    Invoke: metasync d20
    Size: 102400000 blocks (48 GB)
    Stripe 0:
      Device   Start BlockDbase      State Reloc Hot Spare
      c0t0d0s1          0   No            Okay   Yes


d22: Submirror of d20
    State: Needs maintenance
    Invoke: metasync d20
    Size: 102400000 blocks (48 GB)
    Stripe 0:
      Device   Start BlockDbase      State Reloc Hot Spare
      c0t1d0s1          0   No            Okay   Yes


d60: Mirror
    Submirror 0: d61
      State: Needs maintenance
    Submirror 1: d62
      State: Needs maintenance
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 30725000 blocks (14 GB)

d61: Submirror of d60
    State: Needs maintenance
    Invoke: metasync d60
    Size: 30725000 blocks (14 GB)
    Stripe 0:
      Device   Start BlockDbase      State Reloc Hot Spare
      c0t0d0s6          0   No            Okay   Yes


d62: Submirror of d60
    State: Needs maintenance
    Invoke: metasync d60
    Size: 30725000 blocks (14 GB)
    Stripe 0:
      Device   Start BlockDbase      State Reloc Hot Spare
      c0t1d0s6          0   No            Okay   Yes


d50: Mirror
    Submirror 0: d51
      State: Needs maintenance
    Submirror 1: d52
      State: Needs maintenance
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 30725000 blocks (14 GB)

d51: Submirror of d50
    State: Needs maintenance
    Invoke: metasync d50
    Size: 30725000 blocks (14 GB)
    Stripe 0:
      Device   Start BlockDbase      State Reloc Hot Spare
      c0t0d0s5          0   No            Okay   Yes


d52: Submirror of d50
    State: Needs maintenance
    Invoke: metasync d50
    Size: 30725000 blocks (14 GB)
    Stripe 0:
      Device   Start BlockDbase      State Reloc Hot Spare
      c0t1d0s5          0   No            Okay   Yes


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: 61450000 blocks (29 GB)

d11: Submirror of d10
    State: Needs maintenance
    Invoke: metasync d10
    Size: 61450000 blocks (29 GB)
    Stripe 0:
      Device   Start BlockDbase      State Reloc Hot Spare
      c0t0d0s0          0   No            Okay   Yes


d12: Submirror of d10
    State: Needs maintenance
    Invoke: metasync d10
    Size: 61450000 blocks (29 GB)
    Stripe 0:
      Device   Start BlockDbase      State Reloc Hot Spare
      c0t1d0s0          0   No            Okay   Yes


d40: Mirror
    Submirror 0: d41
      State: Needs maintenance
    Submirror 1: d42
      State: Needs maintenance
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 360587500 blocks (171 GB)

d41: Submirror of d40
    State: Needs maintenance
    Invoke: metasync d40
    Size: 360587500 blocks (171 GB)
    Stripe 0:
      Device   Start BlockDbase      State Reloc Hot Spare
      c0t0d0s4          0   No            Okay   Yes


d42: Submirror of d40
    State: Needs maintenance
    Invoke: metasync d40
    Size: 360587500 blocks (171 GB)
    Stripe 0:
      Device   Start BlockDbase      State Reloc Hot Spare
      c0t1d0s4          0   No            Okay   Yes

ahnhjw 发表于 2013-12-03 12:21

LZ能不能贴出metastat和format的全部内容?
如果SVM当中两个子镜像都坏了,系统盘的话可以进入到光盘或者网络单用户模式,拆除镜像,并且拔掉其中一块盘,新插进去一块盘,并使用ufsdump复制系统,并添加启动模块,如果正常的话应该可以起来。起来之后将另外一块坏盘换掉,再重新将镜像同步。
如果iostat -En当中没有发现有问题的话,直接metasync就可以了。
其他本地盘两个都坏了的话,也可以用ufsdump或者tar或者dd什么的复制系统,不需要到单用户模式下也可以,不过要停掉相关的应用。iostat -En没问题的话也是metasync

qianxia0_ 发表于 2013-12-03 12:46

iostat -En 看下盘的状态吧 messages里面有没有什么报错

watchsat 发表于 2013-12-03 12:58

#svcadm enable svc:/system/mdmonitor

wjxlcc 发表于 2013-12-03 13:09

回复 2# qianxia0_


    iostat -En

c0t1d0         Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATEProduct: ST930003SSUN300G Revision: 0868 Serial No: 1120740SN9
Size: 300.00GB <300000000000 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c0t3d0         Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: TEAC   Product: DV-W28SS-R       Revision: J.1A Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0
c0t0d0         Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATEProduct: ST930003SSUN300G Revision: 0868 Serial No: 111373H640
Size: 300.00GB <300000000000 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c2t0d31          Soft Errors: 0 Hard Errors: 1 Transport Errors: 0
Vendor: SUN      Product: Universal XportRevision: 0735 Serial No:
Size: 0.02GB <20971520 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 1 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0
c4t600A0B800076EAA0000003794FC29F03d0 Soft Errors: 0 Hard Errors: 153 Transport Errors: 0
Vendor: SUN      Product: LCSM100_F      Revision: 0735 Serial No:
Size: 1580.55GB <1580547964928 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 1 Recoverable: 0
Illegal Request: 2 Predictive Failure Analysis: 0
c1t2d31          Soft Errors: 0 Hard Errors: 1 Transport Errors: 0
Vendor: SUN      Product: Universal XportRevision: 0735 Serial No:
Size: 0.02GB <20971520 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 1 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0
c4t600A0B800076EAA0000003764FC29EE0d0 Soft Errors: 0 Hard Errors: 153 Transport Errors: 0
Vendor: SUN      Product: LCSM100_F      Revision: 0735 Serial No:
Size: 214.75GB <214748364800 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 1 Recoverable: 0
Illegal Request: 2 Predictive Failure Analysis: 0

qianxia0_ 发表于 2013-12-03 15:54

metasync d10
metasync d20
metasync d40
metasync d50
metasync d60

东方蜘蛛 发表于 2013-12-03 20:31

单用户了?

wjxlcc 发表于 2013-12-04 09:19

谢谢楼上的各位

119beyond 发表于 2013-12-04 09:23

怎么解决的?

东方蜘蛛 发表于 2013-12-04 09:59

我很无语。。。。。
页: [1] 2
查看完整版本: 求m4000硬盘问题修复方法