linux社区爱心援助Linux认证系列教程业界动态站务新闻公司招聘建议留言网址大全LPI专题CISCO专题
设为首页
加入收藏
管理团队
JSP  
JAVA  
PERL  
 您的位置:首页 > article > unix > unix入门 >
栏目导栏
资料搜索
热门文章
·SCO OpenServer系统手册
·solaris迅速查找手册
·UNIX常用命令-目录及文件操作命
·常见的“压缩与解压缩”方法
·SUN的入门培训资料
·Solaris FAQ 1.2
·UNIX系统操作入门篇
·unix大全下载基地
·教你如何配置安全的SOLARIS系统
·吐血奉献.samba安装设置!
·solaris常用命令及简单解释
·UNIX 常识总集~!
·Windows XP 与 Solaris 10 双操
·隆重推荐:Solaris硬盘分区简介
·UNIX基础知识
最新文章
·Solaris SSH的配置和管理介绍
·在Unix环境下mount ISO文件
·Solaris 管理员常用的168条命令
·solaris raid 制作大集合
·在Solaris下使用USB存储设备
·SecureCRT访问HPUX没办法用vi问
·scounix网络设置心得
·solaris网络配置
·solaris上直接运行linux二进制
·HP Unix的补丁安装
·系统备份与恢复命令:fbackup+
·Oracle 10g基于Solaris 9 x86平
·完全硬盘安装solaris10
·solaris点滴9.29-10.07
·solaris volume manager do RA
Google
 
双机环境下的A5200在线更换硬盘
[ 作者:  加入时间:2007-10-24 11:59:58  来自:Linux联盟收集整理 ]

硬件环境:2xE3500+2xA5200软件环境:Solaris 2.6+Sun Cluster2.2+vxvm3.0一、故障硬盘更换前系统情况: # uname -ayy3Linux联盟
SunOS fsmsdb1 5.6 Generic_105181-29 sun4u sparc SUNW,Ultra-Enterpriseyy3Linux联盟
  yy3Linux联盟
 查看cluster状态: yy3Linux联盟
 

# hastatyy3Linux联盟
Getting Information from all the nodes ......yy3Linux联盟
              HIGH AVAILABILITY CONFIGURATION AND STATUS yy3Linux联盟
              -------------------------------------------

LIST OF NODES CONFIGURED IN <fsms> CLUSTERyy3Linux联盟
      fsmsdb1 fsmsdb2

CURRENT MEMBERS OF THE CLUSTER

     fsmsdb1 is a cluster member

     fsmsdb2 is a cluster member

CONFIGURATION STATE OF THE CLUSTER

     Configuration State on fsmsdb1: Stable

     Configuration State on fsmsdb2: Stable

UPTIME OF NODES IN THE CLUSTER

     uptime of fsmsdb1:          3:29pm  up 456 day(s), 13:03,  1 user,  load average: 0.62, 0.67, 0.71

     uptime of fsmsdb2:          3:28pm  up 429 day(s), 22:22,  0 users,  load average: 0.01, 0.02, 0.03

LOGICAL HOSTS MASTERED BY THE CLUSTER MEMBERS

Logical Hosts Mastered on fsmsdb1:yy3Linux联盟
        fsmsdbyy3Linux联盟
Logical Hosts for which fsmsdb1 is Backup Node:yy3Linux联盟
        None

Logical Hosts Mastered on fsmsdb2:yy3Linux联盟
        Noneyy3Linux联盟
Logical Hosts for which fsmsdb2 is Backup Node:yy3Linux联盟
        fsmsdb

LOGICAL HOSTS IN MAINTENANCE STATE

     None

STATUS OF PRIVATE NETS IN THE CLUSTER

     Status of Interconnects on fsmsdb1:yy3Linux联盟
        interconnect0: selectedyy3Linux联盟
        interconnect1: upyy3Linux联盟
     Status of private nets on fsmsdb1:yy3Linux联盟
        To fsmsdb1 - UPyy3Linux联盟
        To fsmsdb2 - UP

     Status of Interconnects on fsmsdb2:yy3Linux联盟
        interconnect0: selectedyy3Linux联盟
        interconnect1: upyy3Linux联盟
     Status of private nets on fsmsdb2:yy3Linux联盟
        To fsmsdb1 - UPyy3Linux联盟
        To fsmsdb2 - UP

STATUS OF PUBLIC NETS IN THE CLUSTER

Status of Public Network On fsmsdb1:

bkggrp  r_adp   status  fo_time live_adpyy3Linux联盟
nafo0   hme1:hme3       OK      NEVER   hme1

Status of Public Network On fsmsdb2:

bkggrp  r_adp   status  fo_time live_adpyy3Linux联盟
nafo0   hme1:hme3       OK      NEVER   hme1

STATUS OF DATA SERVICES RUNNING IN THE CLUSTER

Status Of Registered Data Servicesyy3Linux联盟
       sybase:                  Onyy3Linux联盟
       nfs:                     Off

Status Of Data Services Running On fsmsdb1yy3Linux联盟
       Data Service "sybase":yy3Linux联盟
       Database Status on fsmsdb1:yy3Linux联盟
        SYBASE_BAK - running; yy3Linux联盟
        smsserver - running;

yy3Linux联盟
Status Of Data Services Running On fsmsdb2yy3Linux联盟
       Data Service "sybase":yy3Linux联盟
       Not being managed on this system

RECENT  ERROR MESSAGES FROM THE CLUSTER

Recent Error Messages on fsmsdb1

Jun 12 03:02:13 fsmsdb1 unix: NFS server backupserver okyy3Linux联盟
Jun 15 14:57:59 fsmsdb1 su: 'su root' failed for sybase on /dev/pts/0yy3Linux联盟
Jun 15 14:58:08 fsmsdb1 last message repeated 1 timeyy3Linux联盟
Jun 26 02:00:10 fsmsdb1 unix: NFS server backupserver not responding still tryingyy3Linux联盟
Jun 26 03:23:39 fsmsdb1 unix: NFS server backupserver okyy3Linux联盟
Jun 29 11:57:08 fsmsdb1 explorer: Explorer startedyy3Linux联盟
Jun 29 12:03:42 fsmsdb1 explorer: Explorer finished

Recent Error Messages on fsmsdb2

Jun 29 12:25:19 fsmsdb2 unix: pseudo-device: lockstat0yy3Linux联盟
Jun 29 12:25:19 fsmsdb2 unix: lockstat0 is
/pseudo/lockstat@0yy3Linux联盟
Jun 29 12:26:36 fsmsdb2 unix: WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2200002037c85404,0 (ssd8):^M^Myy3Linux联盟
Jun 29 12:26:36 fsmsdb2 unix:   transport rejected (-2)^M^Myy3Linux联盟
Jun 29 12:26:47 fsmsdb2 unix:   Vendor 'SEAGATE', product 'ST318304FSUN18G', (unknown capacity)^Myy3Linux联盟
Jun 29 12:28:36 fsmsdb2 last message repeated 8 timesyy3Linux联盟
Jun 29 12:29:12 fsmsdb2 explorer: Explorer finished

 

# formatyy3Linux联盟
Searching for disks...done

yy3Linux联盟
AVAILABLE DISK SELECTIONS:yy3Linux联盟
       0. c0t0d0 <drive type unknown>yy3Linux联盟
         
/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037c85404,0yy3Linux联盟
       1. c0t5d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>yy3Linux联盟
         
/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037d80498,0yy3Linux联盟
       2. c0t10d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>yy3Linux联盟
         
/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037d803f1,0yy3Linux联盟
       3. c0t16d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>yy3Linux联盟
         
/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037c3b5a7,0yy3Linux联盟
       4. c0t19d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>yy3Linux联盟
         
/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037c89c7b,0yy3Linux联盟
       5. c0t26d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>yy3Linux联盟
         
/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037c3bf4f,0yy3Linux联盟
       6. c2t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>yy3Linux联盟
         
/sbus@6,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037e493db,0yy3Linux联盟
       7. c2t2d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>yy3Linux联盟
         
/sbus@6,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037d89d9a,0yy3Linux联盟
       8. c3t65d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>yy3Linux联盟
         
/sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037ba26b8,0yy3Linux联盟
       9. c3t69d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>yy3Linux联盟
         
/sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d84870,0yy3Linux联盟
      10. c3t74d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>yy3Linux联盟
         
/sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037c8546b,0yy3Linux联盟
      11. c3t80d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>yy3Linux联盟
         
/sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d83bf4,0yy3Linux联盟
      12. c3t84d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>yy3Linux联盟
         
/sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d89c41,0yy3Linux联盟
      13. c3t86d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>yy3Linux联盟
         
/sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d83b93,0yy3Linux联盟
      14. c3t90d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>yy3Linux联盟
         
/sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d8992a,0yy3Linux联盟
Specify disk (enter its number): ^D 

大家不要以为c0t0d0一定是本地磁盘哦,看仔细喽:mrgreen:

 

# iostat -Enyy3Linux联盟
c1t6d0          Soft Errors: 0 Hard Errors: 4 Transport Errors: 0 yy3Linux联盟
Vendor: TOSHIBA  Product: DVD-ROM SD-M1401 Revision: 1007 Serial No: 06/22/00 yy3Linux联盟
RPM: 0 Heads: 0 Size: 18446744073.71GB <-8589934591 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 3 No Device: 1 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
c2t2d0          Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 yy3Linux联盟
Vendor: SEAGATE  Product: ST318304FSUN18G  Revision: 042D Serial No: 0101L08R9T yy3Linux联盟
RPM: 7200 Heads: 19 Size: 18.11GB <18110967808 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
c2t0d0          Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 yy3Linux联盟
Vendor: SEAGATE  Product: ST318304FSUN18G  Revision: 042D Serial No: 0108L0AG1B yy3Linux联盟
RPM: 7200 Heads: 19 Size: 18.11GB <18110967808 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
c0t10d0         Soft Errors: 0 Hard Errors: 1 Transport Errors: 0 yy3Linux联盟
Vendor: SEAGATE  Product: ST318304FSUN18G  Revision: 042D Serial No: 0050L07FTE yy3Linux联盟
RPM: 7200 Heads: 19 Size: 18.11GB <18110967808 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 0 No Device: 1 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
c0t26d0         Soft Errors: 0 Hard Errors: 1 Transport Errors: 0 yy3Linux联盟
Vendor: SEAGATE  Product: ST318304FSUN18G  Revision: 0726 Serial No: 0044L069NG yy3Linux联盟
RPM: 7200 Heads: 19 Size: 18.11GB <18110967808 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 0 No Device: 1 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
c0t5d0          Soft Errors: 0 Hard Errors: 1 Transport Errors: 0 yy3Linux联盟
Vendor: SEAGATE  Product: ST318304FSUN18G  Revision: 042D Serial No: 0050L080EX yy3Linux联盟
RPM: 7200 Heads: 19 Size: 18.11GB <18110967808 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 0 No Device: 1 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
c0t19d0         Soft Errors: 0 Hard Errors: 1 Transport Errors: 0 yy3Linux联盟
Vendor: SEAGATE  Product: ST318304FSUN18G  Revision: 0726 Serial No: 0047L07HMS yy3Linux联盟
RPM: 7200 Heads: 19 Size: 18.11GB <18110967808 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 0 No Device: 1 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
c0t16d0         Soft Errors: 0 Hard Errors: 1 Transport Errors: 0 yy3Linux联盟
Vendor: SEAGATE  Product: ST318304FSUN18G  Revision: 0726 Serial No: 0044L062MP yy3Linux联盟
RPM: 7200 Heads: 19 Size: 18.11GB <18110967808 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 0 No Device: 1 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
c0t0d0          Soft Errors: 0 Hard Errors: 0 Transport Errors: 34 yy3Linux联盟
Vendor: SEAGATE  Product: ST318304FSUN18G  Revision: 042D Serial No: 0046L06SNX yy3Linux联盟
RPM: 7200 Heads: 19 Size: 18.11GB <18110967808 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
c3t69d0         Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 yy3Linux联盟
Vendor: SEAGATE  Product: ST318304FSUN18G  Revision: 042D Serial No: 0050L08BYB yy3Linux联盟
RPM: 7200 Heads: 19 Size: 18.11GB <18110967808 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
c3t84d0         Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 yy3Linux联盟
Vendor: SEAGATE  Product: ST318304FSUN18G  Revision: 042D Serial No: 0101L08S00 yy3Linux联盟
RPM: 7200 Heads: 19 Size: 18.11GB <18110967808 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
c3t90d0         Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 yy3Linux联盟
Vendor: SEAGATE  Product: ST318304FSUN18G  Revision: 042D Serial No: 0101L08R9D yy3Linux联盟
RPM: 7200 Heads: 19 Size: 18.11GB <18110967808 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
c3t86d0         Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 yy3Linux联盟
Vendor: SEAGATE  Product: ST318304FSUN18G  Revision: 042D Serial No: 0050L08ETM yy3Linux联盟
RPM: 7200 Heads: 19 Size: 18.11GB <18110967808 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
c3t80d0         Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 yy3Linux联盟
Vendor: SEAGATE  Product: ST318304FSUN18G  Revision: 042D Serial No: 0050L08EEY yy3Linux联盟
RPM: 7200 Heads: 19 Size: 18.11GB <18110967808 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
c3t74d0         Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 yy3Linux联盟
Vendor: SEAGATE  Product: ST318304FSUN18G  Revision: 042D Serial No: 0046L06PDB yy3Linux联盟
RPM: 7200 Heads: 19 Size: 18.11GB <18110967808 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
c3t65d0         Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 yy3Linux联盟
Vendor: SEAGATE  Product: ST318304FSUN18G  Revision: 0726 Serial No: 0131L0AQ60 yy3Linux联盟
RPM: 7200 Heads: 19 Size: 18.11GB <18110967808 bytes>yy3Linux联盟
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 yy3Linux联盟
Illegal Request: 0 Predictive Failure Analysis: 0 yy3Linux联盟
rmt/0           Soft Errors: 578 Hard Errors: 20 Transport Errors: 0 yy3Linux联盟
Vendor: HP       Product: C1537A           Revision: L706 Serial No:   62

查看Quorum device磁盘情况,如果坏的磁盘刚好是Quorum device磁盘,需要先行重新指定一块新的Quorum device磁盘,而且需要在两台主机都执行! yy3Linux联盟
 

# scconf fsms -pyy3Linux联盟
Checking node status...yy3Linux联盟
Current Configuration for Cluster fsms

  Hosts in cluster:yy3Linux联盟
        fsmsdb1 fsmsdb2 

  Private Network Interfaces foryy3Linux联盟
        fsmsdb1:        hme0 hme2yy3Linux联盟
        fsmsdb2:        hme0 hme2

  Quorum Device Informationyy3Linux联盟
Quorum device for hosts fsmsdb1 and fsmsdb2: 0046L06SNX     //通过format和iostat命令可以看出坏的磁盘刚好是Quorum device磁盘

  Logical Host Timeout Value :yy3Linux联盟
        Step10            :720yy3Linux联盟
        Step11            :720yy3Linux联盟
        Logical Host              :180

Logical Host    : fsmsdb

        Node List       : fsmsdb1 fsmsdb2yy3Linux联盟
        Disk Groups     : fsmsdgyy3Linux联盟
        Logical Address : fsmsdbyy3Linux联盟
                Logical Interface       : 1yy3Linux联盟
                Network Interface       : hme1 (fsmsdb1) hme1 (fsmsdb2)

        Automatic Switchover    : noyy3Linux联盟
  yy3Linux联盟
 

# vxdisk listyy3Linux联盟
DEVICE       TYPE      DISK         GROUP        STATUSyy3Linux联盟
c0t0d0s2     sliced    -            -            erroryy3Linux联盟
c0t5d0s2     sliced    dm_c0t5d0    fsmsdg       onlineyy3Linux联盟
c0t10d0s2    sliced    dm_c0t10d0   fsmsdg       onlineyy3Linux联盟
c0t16d0s2    sliced    dm_c0t16d0   fsmsdg       onlineyy3Linux联盟
c0t19d0s2    sliced    dm_c0t19d0   fsmsdg       onlineyy3Linux联盟
c0t26d0s2    sliced    -            -            erroryy3Linux联盟
c2t0d0s2     sliced    -            -            erroryy3Linux联盟
c2t0d0s7     simple    c2t0d0s7     rootdg       onlineyy3Linux联盟
c2t2d0s2     sliced    -            -            erroryy3Linux联盟
c3t65d0s2    sliced    dm_c3t65d0   fsmsdg       onlineyy3Linux联盟
c3t69d0s2    sliced    dm_c3t69d0   fsmsdg       onlineyy3Linux联盟
c3t74d0s2    sliced    dm_c3t74d0   fsmsdg       onlineyy3Linux联盟
c3t80d0s2    sliced    dm_c3t80d0   fsmsdg       onlineyy3Linux联盟
c3t84d0s2    sliced    dm_c3t84d0   fsmsdg       onlineyy3Linux联盟
c3t86d0s2    sliced    -            -            erroryy3Linux联盟
c3t90d0s2    sliced    -            -            erroryy3Linux联盟
-            -         dm_c0t0d0    fsmsdg       failed was:c0t0d0s2

 # vxprint -htyy3Linux联盟
Disk group: rootdg

DG NAME         NCONFIG      NLOG     MINORS   GROUP-IDyy3Linux联盟
DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATEyy3Linux联盟
V  NAME         USETYPE      KSTATE   STATE    LENGTH   READPOL   PREFPLEXyy3Linux联盟
PL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID MODEyy3Linux联盟
SD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODEyy3Linux联盟
SV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM    MODE

dg rootdg       default      default  0        993346192.1026.fsmsdb1

dm c2t0d0s7     c2t0d0s7     simple   1024     74367    -

Disk group: fsmsdg

DG NAME         NCONFIG      NLOG     MINORS   GROUP-IDyy3Linux联盟
DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATEyy3Linux联盟
V  NAME         USETYPE      KSTATE   STATE    LENGTH   READPOL   PREFPLEXyy3Linux联盟
PL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID MODEyy3Linux联盟
SD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODEyy3Linux联盟
SV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM    MODE

dg fsmsdg       default      default  51000    989998066.1084.fsmsdb1

dm dm_c0t0d0    -            -        -        -        NODEVICEyy3Linux联盟
dm dm_c0t5d0    c0t5d0s2     sliced   4711     35363560 -yy3Linux联盟
dm dm_c0t10d0   c0t10d0s2    sliced   4711     35363560 -yy3Linux联盟
dm dm_c0t16d0   c0t16d0s2    sliced   4711     35363560 -yy3Linux联盟
dm dm_c0t19d0   c0t19d0s2    sliced   4711     35363560 -yy3Linux联盟
dm dm_c3t65d0   c3t65d0s2    sliced   4711     35363560 -yy3Linux联盟
dm dm_c3t69d0   c3t69d0s2    sliced   4711     35363560 -yy3Linux联盟
dm dm_c3t74d0   c3t74d0s2    sliced   4711     35363560 -yy3Linux联盟
dm dm_c3t80d0   c3t80d0s2    sliced   4711     35363560 -yy3Linux联盟
dm dm_c3t84d0   c3t84d0s2    sliced   4711     35363560 -

。。。yy3Linux联盟
v  lv_fsmsdb4   gen          ENABLED  ACTIVE   8388608  SELECT    -yy3Linux联盟
pl lv_fsmsdb4-01 lv_fsmsdb4  DISABLED NODEVICE 8392072  CONCAT    -        RWyy3Linux联盟
sd dm_c0t0d0-06 lv_fsmsdb4-01 dm_c0t0d0 25694536 8392072 0        -        RLOCyy3Linux联盟
pl lv_fsmsdb4-02 lv_fsmsdb4  ENABLED  ACTIVE   8392072  CONCAT    -        RWyy3Linux联盟
sd dm_c0t10d0-05 lv_fsmsdb4-02 dm_c0t10d0 33568288 1795272 0      c0t10d0  ENAyy3Linux联盟
sd dm_c0t16d0-05 lv_fsmsdb4-02 dm_c0t16d0 33568288 1795272 1795272 c0t16d0 ENAyy3Linux联盟
sd dm_c3t69d0-05 lv_fsmsdb4-02 dm_c3t69d0 33568288 1795272 3590544 c3t69d0 ENAyy3Linux联盟
sd dm_c0t5d0-07 lv_fsmsdb4-02 dm_c0t5d0 33883992 212040 5385816   c0t5d0   ENAyy3Linux联盟
sd dm_c3t65d0-04 lv_fsmsdb4-02 dm_c3t65d0 16788856 1583232 5597856 c3t65d0 ENAyy3Linux联盟
sd dm_c3t84d0-05 lv_fsmsdb4-02 dm_c3t84d0 33568288 1210984 7181088 c3t84d0 ENAyy3Linux联盟
。。。yy3Linux联盟
还好受到影响的就一个卷,而且还作了mirror,所以也就不贴其他卷出来显眼了!

 # luxadm probeyy3Linux联盟
Found Enclosure(s):yy3Linux联盟
SENA               Name:A1C0   Node WWN:50800200000ea490   yy3Linux联盟
  Logical Path:/dev/es/ses0yy3Linux联盟
  Logical Path:/dev/es/ses1yy3Linux联盟
SENA               Name:A2C3   Node WWN:50800200000ead38   yy3Linux联盟
  Logical Path:/dev/es/ses2yy3Linux联盟
  Logical Path:/dev/es/ses3

Found Fibre Channel device(s):yy3Linux联盟
  Node WWN:2000002037d89d9a  Device Type:Disk deviceyy3Linux联盟
    Logical Path:/dev/rdsk/c2t2d0s2yy3Linux联盟
  Node WWN:2000002037e493db  Device Type:Disk deviceyy3Linux联盟
    Logical Path:/dev/rdsk/c2t0d0s2yy3Linux联盟
 yy3Linux联盟
 # luxadm display 50800200000ea490

                                   SENA            yy3Linux联盟
                                 DISK STATUS yy3Linux联盟
SLOT   FRONT DISKS       (Node WWN)          REAR DISKS        (Node WWN)yy3Linux联盟
0      On (Bypassed:AB)                      On (O.K.)         2000002037c3b5a7yy3Linux联盟
1      Not Installed                         Not Installed                     yy3Linux联盟
2      Not Installed                         Not Installed                     yy3Linux联盟
3      Not Installed                         On (O.K.)         2000002037c89c7byy3Linux联盟
4      Not Installed                         Not Installed                     yy3Linux联盟
5      On (O.K.)         2000002037d80498    Not Installed                     yy3Linux联盟
6      Not Installed                         On (O.K.)         2000002037c54d3d                  yy3Linux联盟
7      Not Installed                         Not Installed                     yy3Linux联盟
8      Not Installed                         Not Installed                     yy3Linux联盟
9      Not Installed                         Not Installed                     yy3Linux联盟
10     On (O.K.)         2000002037d803f1    On (O.K.)         2000002037c3bf4fyy3Linux联盟
                                SUBSYSTEM STATUSyy3Linux联盟
FW Revision:1.09   Box ID:0   Node WWN:50800200000ea490   Enclosure Name:A1C0yy3Linux联盟
Power Supplies (0,2 in front, 1 in rear)yy3Linux联盟
        0 O.K.(rev.-02) 1 O.K.(rev.-02) 2 O.K.(rev.-02)yy3Linux联盟
Fans (0 in front, 1 in rear)yy3Linux联盟
        0 O.K.(rev.-04) 1 O.K.(rev.-00)yy3Linux联盟
ESI Interface board(IB) (A top, B bottom)yy3Linux联盟
        A: O.K.(rev.-04)yy3Linux联盟
                GBIC module (1 on left, 0 on right in IB)yy3Linux联盟
                0 O.K.(mod.-05)yy3Linux联盟
                1 Not Installedyy3Linux联盟
        B: O.K.(rev.-04)yy3Linux联盟
                GBIC module (1 on left, 0 on right in IB)yy3Linux联盟
                0 O.K.(mod.-05)yy3Linux联盟
                1 Not Installedyy3Linux联盟
Disk backplane (0 in front, 1 in rear)yy3Linux联盟
        Front Backplane: O.K.(rev.-04)yy3Linux联盟
          Temperature sensors (on front backplane)yy3Linux联盟
          0:36篊 1:36篊 2:34篊 3:34篊 4:34篊 5:36篊 yy3Linux联盟
          6:36篊 7:34篊 8:36篊 9:36篊 10:36篊  (All temperatures are NORMAL.)yy3Linux联盟
        Rear Backplane:  O.K.(rev.-04)yy3Linux联盟
          Temperature sensors (on rear backplane)yy3Linux联盟
          0:36篊 1:36篊 2:36篊 3:36篊 4:36篊 5:34篊 yy3Linux联盟
          6:36篊 7:34篊 8:34篊 9:34篊 10:34篊  (All temperatures are NORMAL.)yy3Linux联盟
Interconnect assemblyyy3Linux联盟
        O.K.(rev.-02)yy3Linux联盟
Loop  configurationyy3Linux联盟
        Loop A is configured as a single loop.yy3Linux联盟
        Loop B is configured as a single loop.yy3Linux联盟
Language        USA English     

通过上面命令可以看到前面板0号磁盘故障,这个柜子的名字叫A1C0。

 # luxadm display 50800200000ead38

                                   SENA            yy3Linux联盟
                                 DISK STATUS yy3Linux联盟
SLOT   FRONT DISKS       (Node WWN)          REAR DISKS        (Node WWN)yy3Linux联盟
0      Not Installed                         On (O.K.)         2000002037d83bf4yy3Linux联盟
1      On (O.K.)         2000002037ba26b8    Not Installed                     yy3Linux联盟
2      Not Installed                         Not Installed                     yy3Linux联盟
3      Not Installed                         Not Installed                     yy3Linux联盟
4      Not Installed                         On (O.K.)         2000002037d89c41yy3Linux联盟
5      On (O.K.)         2000002037d84870    Not Installed                     yy3Linux联盟
6      Not Installed                         On (O.K.)         2000002037d83b93yy3Linux联盟
7      Not Installed                         Not Installed                     yy3Linux联盟
8      Not Installed                         Not Installed                     yy3Linux联盟
9      Not Installed                         Not Installed                     yy3Linux联盟
10     On (O.K.)         2000002037c8546b    On (O.K.)         2000002037d8992ayy3Linux联盟
                                SUBSYSTEM STATUSyy3Linux联盟
FW Revision:1.09   Box ID:2   Node WWN:50800200000ead38   Enclosure Name:A2C3yy3Linux联盟
Power Supplies (0,2 in front, 1 in rear)yy3Linux联盟
        0 O.K.(rev.-02) 1 O.K.(rev.-02) 2 O.K.(rev.-02)yy3Linux联盟
Fans (0 in front, 1 in rear)yy3Linux联盟
        0 O.K.(rev.-04) 1 O.K.(rev.-00)yy3Linux联盟
ESI Interface board(IB) (A top, B bottom)yy3Linux联盟
        A: O.K.(rev.-04)yy3Linux联盟
                GBIC module (1 on left, 0 on right in IB)yy3Linux联盟
                0 O.K.(mod.-05)yy3Linux联盟
                1 Not Installedyy3Linux联盟
        B: O.K.(rev.-04)yy3Linux联盟
                GBIC module (1 on left, 0 on right in IB)yy3Linux联盟
                0 O.K.(mod.-05)yy3Linux联盟
                1 Not Installedyy3Linux联盟
Disk backplane (0 in front, 1 in rear)yy3Linux联盟
        Front Backplane: O.K.(rev.-04)yy3Linux联盟
          Temperature sensors (on front backplane)yy3Linux联盟
          0:36篊 1:36篊 2:36篊 3:36篊 4:34篊 5:36篊 yy3Linux联盟
          6:36篊 7:34篊 8:34篊 9:36篊 10:36篊  (All temperatures are NORMAL.)yy3Linux联盟
        Rear Backplane:  O.K.(rev.-04)yy3Linux联盟
          Temperature sensors (on rear backplane)yy3Linux联盟
          0:37篊 1:37篊 2:36篊 3:36篊 4:36篊 5:36篊 yy3Linux联盟
          6:37篊 7:36篊 8:36篊 9:36篊 10:36篊  (All temperatures are NORMAL.)yy3Linux联盟
Interconnect assemblyyy3Linux联盟
        O.K.(rev.-02)yy3Linux联盟
Loop  configurationyy3Linux联盟
        Loop A is configured as a single loop.yy3Linux联盟
        Loop B is configured as a single loop.yy3Linux联盟
Language        USA English     yy3Linux联盟
第二个A5200的状态正常。

[size=2]二、更换故障硬盘[/size]

1.重新指定一个新的Quorum device

yy3Linux联盟
 # scconf fsms -q fsmsdb1 fsmsdb2yy3Linux联盟
Checking node status...yy3Linux联盟
Checking host fsmsdb2 ...fsmsdb2 is alive

Getting device information for hosts fsmsdb1 and fsmsdb2yy3Linux联盟
This may take a few seconds to a few minutes...doneyy3Linux联盟
Select quorum device for fsmsdb1 and fsmsdb2.yy3Linux联盟
Type the number corresponding to the desired selection.yy3Linux联盟
For example: 1yy3Linux联盟
 1) DISK:c0t10d0s2:0050L07FTEyy3Linux联盟
 2) DISK:c0t16d0s2:0044L062MPyy3Linux联盟
 3) DISK:c0t19d0s2:0047L07HMSyy3Linux联盟
 4) DISK:c0t26d0s2:0044L069NGyy3Linux联盟
 5) DISK:c0t5d0s2:0050L080EXyy3Linux联盟
 6) DISK:c3t65d0s2:0131L0AQ60yy3Linux联盟
 7) DISK:c3t69d0s2:0050L08BYByy3Linux联盟
 8) DISK:c3t74d0s2:0046L06PDByy3Linux联盟
 9) DISK:c3t80d0s2:0050L08EEYyy3Linux联盟
10) DISK:c3t84d0s2:0101L08S00yy3Linux联盟
11) DISK:c3t86d0s2:0050L08ETMyy3Linux联盟
12) DISK:c3t90d0s2:0101L08R9Dyy3Linux联盟
Quorum device: 1yy3Linux联盟
Disk c0t10d0s2 with serial id 0050L07FTE has been chosenyy3Linux联盟
as the quorum device.yy3Linux联盟
从上面信息可以看到Quorum device磁盘已经在这里看到不了!

查看Quorum device是否已经被更新:

yy3Linux联盟
 # scconf fsms -pyy3Linux联盟
Checking node status...yy3Linux联盟
Current Configuration for Cluster fsms

  Hosts in cluster:yy3Linux联盟
        fsmsdb1 fsmsdb2 

  Private Network Interfaces foryy3Linux联盟
        fsmsdb1:        hme0 hme2yy3Linux联盟
        fsmsdb2:        hme0 hme2

  Quorum Device Informationyy3Linux联盟
Quorum device for hosts fsmsdb1 and fsmsdb2: 0050L07FTE

  Logical Host Timeout Value :yy3Linux联盟
        Step10            :720yy3Linux联盟
        Step11            :720yy3Linux联盟
        Logical Host              :180

Logical Host    : fsmsdb

        Node List       : fsmsdb1 fsmsdb2yy3Linux联盟
        Disk Groups     : fsmsdgyy3Linux联盟
        Logical Address : fsmsdbyy3Linux联盟
                Logical Interface       : 1yy3Linux联盟
                Network Interface       : hme1 (fsmsdb1) hme1 (fsmsdb2)

        Automatic Switchover    : no

登录到node2主机更新Quorum device: 

yy3Linux联盟
 # rlogin fsmsdb2yy3Linux联盟
Last login: Fri Jun 29 14:18:26 from fsmsdb1yy3Linux联盟
Sun Microsystems Inc.   SunOS 5.6       Generic August 1997yy3Linux联盟
 # scconf fsms -pyy3Linux联盟
Checking node status...yy3Linux联盟
Current Configuration for Cluster fsms

  Hosts in cluster:yy3Linux联盟
        fsmsdb1 fsmsdb2 

  Private Network Interfaces foryy3Linux联盟
        fsmsdb1:        hme0 hme2yy3Linux联盟
        fsmsdb2:        hme0 hme2

  Quorum Device Informationyy3Linux联盟
Quorum device for hosts fsmsdb1 and fsmsdb2: 0046L06SNX

  Logical Host Timeout Value :yy3Linux联盟
        Step10            :720yy3Linux联盟
        Step11            :720yy3Linux联盟
        Logical Host              :180

Logical Host    : fsmsdb

        Node List       : fsmsdb1 fsmsdb2yy3Linux联盟
        Disk Groups     : fsmsdgyy3Linux联盟
        Logical Address : fsmsdbyy3Linux联盟
                Logical Interface       : 1yy3Linux联盟
                Network Interface       : hme1 (fsmsdb1) hme1 (fsmsdb2)

        Automatic Switchover    : no

 # scconf fsms -q fsmsdb1 fsmsdb2yy3Linux联盟
Checking node status...yy3Linux联盟
Checking host fsmsdb1 ...yy3Linux联盟
fsmsdb1 is alive

Getting device information for hosts fsmsdb1 and fsmsdb2yy3Linux联盟
This may take a few seconds to a few minutes...doneyy3Linux联盟
Select quorum device for fsmsdb1 and fsmsdb2.yy3Linux联盟
Type the number corresponding to the desired selection.yy3Linux联盟
For example: 1yy3Linux联盟
 1) DISK:c0t10d0s2:0050L07FTEyy3Linux联盟
 2) DISK:c0t16d0s2:0044L062MPyy3Linux联盟
 3) DISK:c0t19d0s2:0047L07HMSyy3Linux联盟
 4) DISK:c0t26d0s2:0044L069NGyy3Linux联盟
 5) DISK:c0t5d0s2:0050L080EXyy3Linux联盟
 6) DISK:c3t65d0s2:0131L0AQ60yy3Linux联盟
 7) DISK:c3t69d0s2:0050L08BYByy3Linux联盟
 8) DISK:c3t74d0s2:0046L06PDByy3Linux联盟
 9) DISK:c3t80d0s2:0050L08EEYyy3Linux联盟
10) DISK:c3t84d0s2:0101L08S00yy3Linux联盟
11) DISK:c3t86d0s2:0050L08ETMyy3Linux联盟
12) DISK:c3t90d0s2:0101L08R9Dyy3Linux联盟
Quorum device: 1yy3Linux联盟
Disk c0t10d0s2 with serial id 0050L07FTE has been chosenyy3Linux联盟
as the quorum device.yy3Linux联盟
 # scconf fsms -pyy3Linux联盟
Checking node status...yy3Linux联盟
Current Configuration for Cluster fsms

  Hosts in cluster:yy3Linux联盟
        fsmsdb1 fsmsdb2 

  Private Network Interfaces foryy3Linux联盟
        fsmsdb1:        hme0 hme2yy3Linux联盟
        fsmsdb2:        hme0 hme2

  Quorum Device Informationyy3Linux联盟
Quorum device for hosts fsmsdb1 and fsmsdb2: 0050L07FTE

  Logical Host Timeout Value :yy3Linux联盟
        Step10            :720yy3Linux联盟
        Step11            :720yy3Linux联盟
        Logical Host              :180

Logical Host    : fsmsdb

        Node List       : fsmsdb1 fsmsdb2yy3Linux联盟
        Disk Groups     : fsmsdgyy3Linux联盟
        Logical Address : fsmsdbyy3Linux联盟
                Logical Interface       : 1yy3Linux联盟
                Network Interface       : hme1 (fsmsdb1) hme1 (fsmsdb2)

        Automatic Switchover    : no

2.使用vxdiskadm命令更换坏盘

 # vxdiskadm

Volume Manager Support Operationsyy3Linux联盟
Menu: VolumeManager/Disk

 1      Add or initialize one or more disksyy3Linux联盟
 2      Encapsulate one or more disksyy3Linux联盟
 3      Remove a diskyy3Linux联盟
 4      Remove a disk for replacementyy3Linux联盟
 5      Replace a failed or removed diskyy3Linux联盟
 6      Mirror volumes on a diskyy3Linux联盟
 7      Move volumes from a diskyy3Linux联盟
 8      Enable access to (import) a disk groupyy3Linux联盟
 9      Remove access to (deport) a disk groupyy3Linux联盟
 10     Enable (online) a disk deviceyy3Linux联盟
 11     Disable (offline) a disk deviceyy3Linux联盟
 12     Mark a disk as a spare for a disk groupyy3Linux联盟
 13     Turn off the spare flag on a diskyy3Linux联盟
 list   List disk information

yy3Linux联盟
 ?      Display help about menuyy3Linux联盟
 ??     Display help about the menuing systemyy3Linux联盟
 q      Exit from menus

Select an operation to perform: 4yy3Linux联盟

Linux联盟收集整理 ,转贴请标明原始链接,如有任何疑问欢迎来本站Linux论坛讨论
评论】【加入收藏夹】【 】【打印】【关闭
※ 相关链接
无相关信息