Chinaunix首页 | 论坛 | 博客
  • 博客访问: 643588
  • 博文数量: 128
  • 博客积分: 265
  • 博客等级: 二等列兵
  • 技术积分: 1464
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-27 20:44
个人简介

just do it

文章分类

全部博文(128)

文章存档

2023年(1)

2020年(1)

2019年(1)

2018年(3)

2017年(6)

2016年(17)

2015年(16)

2014年(39)

2013年(34)

2012年(10)

分类: SOLARIS

2015-08-17 22:18:48


点击(此处)折叠或打开

  1. 故障状态:
  2. # vxprint -g hds_preoradg 
  3. TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
  4. dg hds_preoradg hds_preoradg -        -        -        -        -       -
  5. dm hds_preoradg01 -          -        -        -        NODEVICE -       -
  6. dm hds_preoradg02 TagmaStore-USP0_8 - 1125580800 -      -        -       -
  7. dm hds_preoradg03 TagmaStore-USP0_33 - 1125580800 -     -        -       -
  8. v  orabakvol    fsgen        DISABLED 1124073472 -      CLEAN    -       -
  9. pl orabakvol-01 orabakvol    DISABLED 1124073472 -      CLEAN    -       -
  10. sd hds_preoradg03-01 orabakvol-01 ENABLED 1124073472 0  -        -       -
  11. v  orahomevol   fsgen        DISABLED 2248146944 -      ACTIVE   -       -
  12. pl orahomevol-01 orahomevol  DISABLED 2248146944 -      NODEVICE -       -
  13. sd hds_preoradg01-01 orahomevol-01 DISABLED 1125580800 0 NODEVICE -      -
  14. sd hds_preoradg02-01 orahomevol-01 ENABLED 1122566144 1125580800 - -     -
  15. 处理过程
  16. 1、移除磁盘组hds_preoradg中子磁盘hds_preoradg01:
  17.      #vxdg -g hds_preoradg -k rmdisk hds_preoradg01 
  18.      
  19.      查看VXVM状态:
  20.      # vxdisk -g hds_preoradg list
  21.      DEVICE       TYPE            DISK         GROUP        STATUS
  22.      TagmaStore-USP0_8 auto:sliced     hds_preoradg02  hds_preoradg online
  23.      TagmaStore-USP0_33 auto:sliced     hds_preoradg03  hds_preoradg online
  24.      -            -         hds_preoradg01 hds_preoradg removed was:TagmaStore-USP0_34
  25.      
  26.      # vxprint -g hds_preoradg
  27.      TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
  28.      dg hds_preoradg hds_preoradg -        -        -        -        -       -
  29.      
  30.      dm hds_preoradg01 -          -        -        -        REMOVED  -       -
  31.      dm hds_preoradg02 TagmaStore-USP0_8 - 1125580800 -      -        -       -
  32.      dm hds_preoradg03 TagmaStore-USP0_33 - 1125580800 -     -        -       -
  33.      
  34.      v  orabakvol    fsgen        DISABLED 1124073472 -      CLEAN    -       -
  35.      pl orabakvol-01 orabakvol    DISABLED 1124073472 -      CLEAN    -       -
  36.      sd hds_preoradg03-01 orabakvol-01 ENABLED 1124073472 0  -        -       -
  37.      
  38.      v  orahomevol   fsgen        DISABLED 2248146944 -      ACTIVE   -       -
  39.      pl orahomevol-01 orahomevol  DISABLED 2248146944 -      REMOVED  -       -
  40.      sd hds_preoradg01-01 orahomevol-01 DISABLED 1125580800 0 REMOVED -       -
  41.      sd hds_preoradg02-01 orahomevol-01 ENABLED 1122566144 1125580800 - -     -
  42. 2、添加子磁盘到hds_preoradg磁盘组:
  43.      vxdg -g hds_preoradg -k adddisk hds_preoradg01=TagmaStore-USP0_34 
  44.      
  45.      查看VXVM状态:
  46.      #vxdisk -g hds_preoradg list 
  47.      DEVICE       TYPE            DISK         GROUP        STATUS
  48.      TagmaStore-USP0_8 auto:sliced     hds_preoradg02  hds_preoradg online
  49.      TagmaStore-USP0_33 auto:sliced     hds_preoradg03  hds_preoradg online
  50.      TagmaStore-USP0_34 auto:sliced     hds_preoradg01  hds_preoradg online
  51.      
  52.      # vxprint -g hds_preoradg
  53.      TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
  54.      dg hds_preoradg hds_preoradg -        -        -        -        -       -
  55.      
  56.      dm hds_preoradg01 TagmaStore-USP0_34 - 1125580800 -     -        -       -
  57.      dm hds_preoradg02 TagmaStore-USP0_8 - 1125580800 -      -        -       -
  58.      dm hds_preoradg03 TagmaStore-USP0_33 - 1125580800 -     -        -       -
  59.      
  60.      v  orabakvol    fsgen        DISABLED 1124073472 -      CLEAN    -       -
  61.      pl orabakvol-01 orabakvol    DISABLED 1124073472 -      CLEAN    -       -
  62.      sd hds_preoradg03-01 orabakvol-01 ENABLED 1124073472 0  -        -       -
  63.      
  64.      v  orahomevol   fsgen        DISABLED 2248146944 -      ACTIVE   -       -
  65.      pl orahomevol-01 orahomevol  DISABLED 2248146944 -      RECOVER  -       -
  66.      sd hds_preoradg01-01 orahomevol-01 ENABLED 1125580800 0 -        -       -
  67.      sd hds_preoradg02-01 orahomevol-01 ENABLED 1122566144 1125580800 - -     -
  68. 3、offline掉plex orahomevol-01:
  69.      #vxmend -g hds_preoradg -o force off orahomevol-01 
  70.      # vxprint -g hds_preoradg                
  71.      TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
  72.      dg hds_preoradg hds_preoradg -        -        -        -        -       -
  73.      
  74.      dm hds_preoradg01 TagmaStore-USP0_34 - 1125580800 -     -        -       -
  75.      dm hds_preoradg02 TagmaStore-USP0_8 - 1125580800 -      -        -       -
  76.      dm hds_preoradg03 TagmaStore-USP0_33 - 1125580800 -     -        -       -
  77.      
  78.      v  orabakvol    fsgen        DISABLED 1124073472 -      CLEAN    -       -
  79.      pl orabakvol-01 orabakvol    DISABLED 1124073472 -      CLEAN    -       -
  80.      sd hds_preoradg03-01 orabakvol-01 ENABLED 1124073472 0  -        -       -
  81.      
  82.      v  orahomevol   fsgen        DISABLED 2248146944 -      ACTIVE   -       -
  83.      pl orahomevol-01 orahomevol  DISABLED 2248146944 -      OFFLINE  -       -
  84.      sd hds_preoradg01-01 orahomevol-01 ENABLED 1125580800 0 -        -       -
  85.      sd hds_preoradg02-01 orahomevol-01 ENABLED 1122566144 1125580800 - -     -
  86.   将plex状态置为stale
  87.      #vxmend -g hds_preoradg on orahomevol-01 
  88.      
  89.      # vxprint -g hds_preoradg
  90.      TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
  91.      dg hds_preoradg hds_preoradg -        -        -        -        -       -
  92.      
  93.      dm hds_preoradg01 TagmaStore-USP0_34 - 1125580800 -     -        -       -
  94.      dm hds_preoradg02 TagmaStore-USP0_8 - 1125580800 -      -        -       -
  95.      dm hds_preoradg03 TagmaStore-USP0_33 - 1125580800 -     -        -       -
  96.      
  97.      v  orabakvol    fsgen        DISABLED 1124073472 -      CLEAN    -       -
  98.      pl orabakvol-01 orabakvol    DISABLED 1124073472 -      CLEAN    -       -
  99.      sd hds_preoradg03-01 orabakvol-01 ENABLED 1124073472 0  -        -       -
  100.      
  101.      v  orahomevol   fsgen        DISABLED 2248146944 -      ACTIVE   -       -
  102.      pl orahomevol-01 orahomevol  DISABLED 2248146944 -      STALE    -       -
  103.      sd hds_preoradg01-01 orahomevol-01 ENABLED 1125580800 0 -        -       -
  104.      sd hds_preoradg02-01 orahomevol-01 ENABLED 1122566144 1125580800 - -     -
  105.      
  106.      
  107.      #vxmend -g hds_preoradg fix clean orahomevol-01 
  108.      
  109.      # vxprint -g hds_preoradg
  110.      TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
  111.      dg hds_preoradg hds_preoradg -        -        -        -        -       -
  112.      
  113.      dm hds_preoradg01 TagmaStore-USP0_34 - 1125580800 -     -        -       -
  114.      dm hds_preoradg02 TagmaStore-USP0_8 - 1125580800 -      -        -       -
  115.      dm hds_preoradg03 TagmaStore-USP0_33 - 1125580800 -     -        -       -
  116.      
  117.      v  orabakvol    fsgen        DISABLED 1124073472 -      CLEAN    -       -
  118.      pl orabakvol-01 orabakvol    DISABLED 1124073472 -      CLEAN    -       -
  119.      sd hds_preoradg03-01 orabakvol-01 ENABLED 1124073472 0  -        -       -
  120.      
  121.      v  orahomevol   fsgen        DISABLED 2248146944 -      ACTIVE   -       -
  122.      pl orahomevol-01 orahomevol  DISABLED 2248146944 -      CLEAN    -       -
  123.      sd hds_preoradg01-01 orahomevol-01 ENABLED 1125580800 0 -        -       -
  124.      sd hds_preoradg02-01 orahomevol-01 ENABLED 1122566144 1125580800 - -     -
  125. 4、启动组中所有卷:
  126.      #vxvol -g hds_preoradg startall
  127.      
  128.      # vxprint -g hds_preoradg
  129.      TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
  130.      dg hds_preoradg hds_preoradg -        -        -        -        -       -
  131.      
  132.      dm hds_preoradg01 TagmaStore-USP0_34 - 1125580800 -     -        -       -
  133.      dm hds_preoradg02 TagmaStore-USP0_8 - 1125580800 -      -        -       -
  134.      dm hds_preoradg03 TagmaStore-USP0_33 - 1125580800 -     -        -       -
  135.      
  136.      v  orabakvol    fsgen        ENABLED  1124073472 -      ACTIVE   -       -
  137.      pl orabakvol-01 orabakvol    ENABLED  1124073472 -      ACTIVE   -       -
  138.      sd hds_preoradg03-01 orabakvol-01 ENABLED 1124073472 0  -        -       -
  139.      
  140.      v  orahomevol   fsgen        ENABLED  2248146944 -      ACTIVE   -       -
  141.      pl orahomevol-01 orahomevol  ENABLED  2248146944 -      ACTIVE   -       -
  142.      sd hds_preoradg01-01 orahomevol-01 ENABLED 1125580800 0 -        -       -
  143.      sd hds_preoradg02-01 orahomevol-01 ENABLED 1122566144 1125580800 - -     -


阅读(2006) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~