ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 修复Needs maintenance的镜像

修复Needs maintenance的镜像

原创 Linux操作系统 作者:cqubityj 时间:2009-02-20 21:29:29 0 删除 编辑
root@ols00biiacc001:~ #> metastat
d30: Mirror
    Submirror 0: d31
      State: Needs maintenance
    Submirror 1: d32
      State: Okay         
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 16790400 blocks (8.0 GB)

d31: Submirror of d30
    State: Needs maintenance
    Invoke: metareplace d30 c1t0d0s5
    Size: 16790400 blocks (8.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s5          0     No     Maintenance   Yes


d32: Submirror of d30
    State: Okay         
    Size: 16790400 blocks (8.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s5          0     No            Okay   Yes
......

root@ols00biiacc001:~ #> metareplace -e d30 c1t0d0s5
d30: device c1t0d0s5 is enabled

root@ols00biiacc001:~ #> metastat
d30: Mirror
    Submirror 0: d31
      State: Resyncing   
    Submirror 1: d32
      State: Okay        
    Resync in progress: 5 % done
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 16790400 blocks (8.0 GB)

d31: Submirror of d30
    State: Resyncing   
    Size: 16790400 blocks (8.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s5          0     No       Resyncing   Yes


d32: Submirror of d30
    State: Okay        
    Size: 16790400 blocks (8.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s5          0     No            Okay   Yes
......

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/228190/viewspace-557237/,如需转载,请注明出处,否则将追究法律责任。

上一篇: 查看HBA卡的WWN号
请登录后发表评论 登录
全部评论

注册时间:2007-12-19

  • 博文量
    133
  • 访问量
    425962