• Solaris 10 镜像同步维护


    Solaris 10 镜像同步维护

    欢迎来到 来到大浪涛天的博客

    solaris 10镜像同步维护

    1. 查看镜像发现有镜像块需要被维护
      root@WEBServer # metastat
      d20: Mirror
      Submirror 0: d21
        State: Okay    
      Submirror 1: d22
        State: Needs maintenance 
      Resync in progress: 0 % done
      Pass: 1
      Read option: roundrobin (default)
      Write option: parallel (default)
      Size: 277764096 blocks
    2. 对需要维护的镜像做重新同步操作
      #metareplace -e d20 c0t0d0s0 

      查看mirror状态,看到同步过程Resyncing。

      root@WEBServer # metastat
      d20: Mirror
      Submirror 0: d21
        State: Resyncing    
      Submirror 1: d22
        State: Needs maintenance 
      Resync in progress: 0 % done
      Pass: 1
      Read option: roundrobin (default)
      Write option: parallel (default)
      Size: 277764096 blocks
      d21: Submirror of d20
      State: Resyncing    
      Size: 277764096 blocks
      Stripe 0:
          Device              Start Block  Dbase State        Hot Spare
          c0t0d0s0                   0     No    Resyncing   
      d22: Submirror of d20
      State: Needs maintenance 
      Size: 277764096 blocks
      Stripe 0:
          Device              Start Block  Dbase State        Hot Spare
          c0t1d0s0                   0     No    Last Erred  
    3. 等d21完成后,再同步d22。时间很长,每步要等4-5小时。
      #metareplace -e d20 c0t1d0s0  
    4. 最后执行metastat查看状态正常
      root@WEBServer # metastat
      d20: Mirror
      Submirror 0: d21
        State: Okay         
      Submirror 1: d22
        State: Okay         
      Pass: 1
      Read option: roundrobin (default)
      Write option: parallel (default)
      Size: 277764096 blocks
      d21: Submirror of d20
      State: Okay         
      Size: 277764096 blocks
      Stripe 0:
          Device              Start Block  Dbase State        Hot Spare
          c0t0d0s0                   0     No    Okay   
  • 相关阅读:
    file_put_contents 和php://input 实现存储数据进图片中
    Oracle PL/SQL游标的学习
    三层的再理解
    取出字符串中任意的顺序匹配
    oracle的正则表达式(regular expression)简单介绍
    oracle动态游标的简单实现方法
    存储过程之游标笔记小结
    char,varchar,nvarchar的区别
    大连惊魂记
    让asp.net默认的上传组件支持进度条反映(转)
  • 原文地址:https://www.cnblogs.com/chacha51/p/13764869.html
Copyright © 2020-2023  润新知