温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

双机环境下的A5200在线更换硬盘(转)

发布时间:2020-08-10 23:31:17 阅读:193 作者:rainytag 栏目:编程语言

作者:东方蜘蛛 发表于:2007-07-03 18:25:37

[size=2]硬件环境:2xE3500+2xA5200
软件环境:Solaris 2.6+Sun Cluster2.2+vxvm3.0
[/size]

[size=2]一、故障硬盘更换前系统情况:[/size]

 # uname -aSunOS fsmsdb1 5.6 Generic_105181-29 sun4u sparc SUNW,Ultra-Enterprise


查看cluster状态:
# hastatGetting Information from all the nodes ......              HIGH AVAILABILITY CONFIGURATION AND STATUS               -------------------------------------------LIST OF NODES CONFIGURED IN  CLUSTER      fsmsdb1 fsmsdb2CURRENT MEMBERS OF THE CLUSTER     fsmsdb1 is a cluster member     fsmsdb2 is a cluster memberCONFIGURATION STATE OF THE CLUSTER     Configuration State on fsmsdb1: Stable     Configuration State on fsmsdb2: StableUPTIME 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.03LOGICAL HOSTS MASTERED BY THE CLUSTER MEMBERSLogical Hosts Mastered on fsmsdb1:        fsmsdbLogical Hosts for which fsmsdb1 is Backup Node:        NoneLogical Hosts Mastered on fsmsdb2:        NoneLogical Hosts for which fsmsdb2 is Backup Node:        fsmsdbLOGICAL HOSTS IN MAINTENANCE STATE     NoneSTATUS OF PRIVATE NETS IN THE CLUSTER     Status of Interconnects on fsmsdb1:        interconnect0: selected        interconnect1: up     Status of private nets on fsmsdb1:        To fsmsdb1 - UP        To fsmsdb2 - UP     Status of Interconnects on fsmsdb2:        interconnect0: selected        interconnect1: up     Status of private nets on fsmsdb2:        To fsmsdb1 - UP        To fsmsdb2 - UPSTATUS OF PUBLIC NETS IN THE CLUSTERStatus of Public Network On fsmsdb1:bkggrp  r_adp   status  fo_time live_adpnafo0   hme1:hme3       OK      NEVER   hme1Status of Public Network On fsmsdb2:bkggrp  r_adp   status  fo_time live_adpnafo0   hme1:hme3       OK      NEVER   hme1STATUS OF DATA SERVICES RUNNING IN THE CLUSTERStatus Of Registered Data Services       sybase:                  On       nfs:                     OffStatus Of Data Services Running On fsmsdb1       Data Service "sybase":       Database Status on fsmsdb1:        SYBASE_BAK - running;         smsserver - running; Status Of Data Services Running On fsmsdb2       Data Service "sybase":       Not being managed on this systemRECENT  ERROR MESSAGES FROM THE CLUSTERRecent Error Messages on fsmsdb1Jun 12 03:02:13 fsmsdb1 unix: NFS server backupserver okJun 15 14:57:59 fsmsdb1 su: 'su root' failed for sybase on /dev/pts/0Jun 15 14:58:08 fsmsdb1 last message repeated 1 timeJun 26 02:00:10 fsmsdb1 unix: NFS server backupserver not responding still tryingJun 26 03:23:39 fsmsdb1 unix: NFS server backupserver okJun 29 11:57:08 fsmsdb1 explorer: Explorer startedJun 29 12:03:42 fsmsdb1 explorer: Explorer finishedRecent Error Messages on fsmsdb2Jun 29 12:25:19 fsmsdb2 unix: pseudo-device: lockstat0Jun 29 12:25:19 fsmsdb2 unix: lockstat0 is /pseudo/lockstat@0Jun 29 12:26:36 fsmsdb2 unix: WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2200002037c85404,0 (ssd8):^M^MJun 29 12:26:36 fsmsdb2 unix:   transport rejected (-2)^M^MJun 29 12:26:47 fsmsdb2 unix:   Vendor 'SEAGATE', product 'ST318304FSUN18G', (unknown capacity)^MJun 29 12:28:36 fsmsdb2 last message repeated 8 timesJun 29 12:29:12 fsmsdb2 explorer: Explorer finished


# formatSearching for disks...doneAVAILABLE DISK SELECTIONS:       0. c0t0d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037c85404,0       1. c0t5d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037d80498,0       2. c0t10d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037d803f1,0       3. c0t16d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037c3b5a7,0       4. c0t19d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037c89c7b,0       5. c0t26d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037c3bf4f,0       6. c2t0d0           /sbus@6,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037e493db,0       7. c2t2d0           /sbus@6,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037d89d9a,0       8. c3t65d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037ba26b8,0       9. c3t69d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d84870,0      10. c3t74d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037c8546b,0      11. c3t80d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d83bf4,0      12. c3t84d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d89c41,0      13. c3t86d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d83b93,0      14. c3t90d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d8992a,0Specify disk (enter its number): ^D


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

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


查看Quorum device磁盘情况,如果坏的磁盘刚好是Quorum device磁盘,需要先行重新指定一块新的Quorum device磁盘,而且需要在两台主机都执行!
# scconf fsms -pChecking node status...Current Configuration for Cluster fsms  Hosts in cluster:        fsmsdb1 fsmsdb2    Private Network Interfaces for        fsmsdb1:        hme0 hme2        fsmsdb2:        hme0 hme2  Quorum Device InformationQuorum device for hosts fsmsdb1 and fsmsdb2: 0046L06SNX     //通过format和iostat命令可以看出坏的磁盘刚好是Quorum device磁盘  Logical Host Timeout Value :        Step10            :720        Step11            :720        Logical Host              :180Logical Host    : fsmsdb        Node List       : fsmsdb1 fsmsdb2        Disk Groups     : fsmsdg        Logical Address : fsmsdb                Logical Interface       : 1                Network Interface       : hme1 (fsmsdb1) hme1 (fsmsdb2)         Automatic Switchover    : no


# vxdisk listDEVICE       TYPE      DISK         GROUP        STATUSc0t0d0s2     sliced    -            -            errorc0t5d0s2     sliced    dm_c0t5d0    fsmsdg       onlinec0t10d0s2    sliced    dm_c0t10d0   fsmsdg       onlinec0t16d0s2    sliced    dm_c0t16d0   fsmsdg       onlinec0t19d0s2    sliced    dm_c0t19d0   fsmsdg       onlinec0t26d0s2    sliced    -            -            errorc2t0d0s2     sliced    -            -            errorc2t0d0s7     simple    c2t0d0s7     rootdg       onlinec2t2d0s2     sliced    -            -            errorc3t65d0s2    sliced    dm_c3t65d0   fsmsdg       onlinec3t69d0s2    sliced    dm_c3t69d0   fsmsdg       onlinec3t74d0s2    sliced    dm_c3t74d0   fsmsdg       onlinec3t80d0s2    sliced    dm_c3t80d0   fsmsdg       onlinec3t84d0s2    sliced    dm_c3t84d0   fsmsdg       onlinec3t86d0s2    sliced    -            -            errorc3t90d0s2    sliced    -            -            error-            -         dm_c0t0d0    fsmsdg       failed was:c0t0d0s2


 # vxprint -htDisk group: rootdgDG NAME         NCONFIG      NLOG     MINORS   GROUP-IDDM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATEV  NAME         USETYPE      KSTATE   STATE    LENGTH   READPOL   PREFPLEXPL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID MODESD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODESV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM    MODEdg rootdg       default      default  0        993346192.1026.fsmsdb1dm c2t0d0s7     c2t0d0s7     simple   1024     74367    -Disk group: fsmsdgDG NAME         NCONFIG      NLOG     MINORS   GROUP-IDDM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATEV  NAME         USETYPE      KSTATE   STATE    LENGTH   READPOL   PREFPLEXPL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID MODESD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODESV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM    MODEdg fsmsdg       default      default  51000    989998066.1084.fsmsdb1dm dm_c0t0d0    -            -        -        -        NODEVICEdm dm_c0t5d0    c0t5d0s2     sliced   4711     35363560 -dm dm_c0t10d0   c0t10d0s2    sliced   4711     35363560 -dm dm_c0t16d0   c0t16d0s2    sliced   4711     35363560 -dm dm_c0t19d0   c0t19d0s2    sliced   4711     35363560 -dm dm_c3t65d0   c3t65d0s2    sliced   4711     35363560 -dm dm_c3t69d0   c3t69d0s2    sliced   4711     35363560 -dm dm_c3t74d0   c3t74d0s2    sliced   4711     35363560 -dm dm_c3t80d0   c3t80d0s2    sliced   4711     35363560 -dm dm_c3t84d0   c3t84d0s2    sliced   4711     35363560 -。。。v  lv_fsmsdb4   gen          ENABLED  ACTIVE   8388608  SELECT    -pl lv_fsmsdb4-01 lv_fsmsdb4  DISABLED NODEVICE 8392072  CONCAT    -        RWsd dm_c0t0d0-06 lv_fsmsdb4-01 dm_c0t0d0 25694536 8392072 0        -        RLOCpl lv_fsmsdb4-02 lv_fsmsdb4  ENABLED  ACTIVE   8392072  CONCAT    -        RWsd dm_c0t10d0-05 lv_fsmsdb4-02 dm_c0t10d0 33568288 1795272 0      c0t10d0  ENAsd dm_c0t16d0-05 lv_fsmsdb4-02 dm_c0t16d0 33568288 1795272 1795272 c0t16d0 ENAsd dm_c3t69d0-05 lv_fsmsdb4-02 dm_c3t69d0 33568288 1795272 3590544 c3t69d0 ENAsd dm_c0t5d0-07 lv_fsmsdb4-02 dm_c0t5d0 33883992 212040 5385816   c0t5d0   ENAsd dm_c3t65d0-04 lv_fsmsdb4-02 dm_c3t65d0 16788856 1583232 5597856 c3t65d0 ENAsd dm_c3t84d0-05 lv_fsmsdb4-02 dm_c3t84d0 33568288 1210984 7181088 c3t84d0 ENA。。。

还好受到影响的就一个卷,而且还作了mirror,所以也就不贴其他卷出来显眼了!

 # luxadm probeFound Enclosure(s):SENA               Name:A1C0   Node WWN:50800200000ea490     Logical Path:/dev/es/ses0  Logical Path:/dev/es/ses1SENA               Name:A2C3   Node WWN:50800200000ead38     Logical Path:/dev/es/ses2  Logical Path:/dev/es/ses3Found Fibre Channel device(s):  Node WWN:2000002037d89d9a  Device Type:Disk device    Logical Path:/dev/rdsk/c2t2d0s2  Node WWN:2000002037e493db  Device Type:Disk device    Logical Path:/dev/rdsk/c2t0d0s2  # luxadm display 50800200000ea490                                   SENA                                             DISK STATUS SLOT   FRONT DISKS       (Node WWN)          REAR DISKS        (Node WWN)0      On (Bypassed:AB)                      On (O.K.)         2000002037c3b5a71      Not Installed                         Not Installed                     2      Not Installed                         Not Installed                     3      Not Installed                         On (O.K.)         2000002037c89c7b4      Not Installed                         Not Installed                     5      On (O.K.)         2000002037d80498    Not Installed                     6      Not Installed                         On (O.K.)         2000002037c54d3d                  7      Not Installed                         Not Installed                     8      Not Installed                         Not Installed                     9      Not Installed                         Not Installed                     10     On (O.K.)         2000002037d803f1    On (O.K.)         2000002037c3bf4f                                SUBSYSTEM STATUSFW Revision:1.09   Box ID:0   Node WWN:50800200000ea490   Enclosure Name:A1C0Power Supplies (0,2 in front, 1 in rear)        0 O.K.(rev.-02) 1 O.K.(rev.-02) 2 O.K.(rev.-02)Fans (0 in front, 1 in rear)        0 O.K.(rev.-04) 1 O.K.(rev.-00)ESI Interface board(IB) (A top, B bottom)        A: O.K.(rev.-04)                GBIC module (1 on left, 0 on right in IB)                0 O.K.(mod.-05)                1 Not Installed        B: O.K.(rev.-04)                GBIC module (1 on left, 0 on right in IB)                0 O.K.(mod.-05)                1 Not InstalledDisk backplane (0 in front, 1 in rear)        Front Backplane: O.K.(rev.-04)          Temperature sensors (on front backplane)          0:361:362:343:344:345:366:367:348:369:3610:36篊  (All temperatures are NORMAL.)        Rear Backplane:  O.K.(rev.-04)          Temperature sensors (on rear backplane)          0:361:362:363:364:365:346:367:348:349:3410:34篊  (All temperatures are NORMAL.)Interconnect assembly        O.K.(rev.-02)Loop  configuration        Loop A is configured as a single loop.        Loop B is configured as a single loop.Language        USA English   


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

 # luxadm display 50800200000ead38                                   SENA                                             DISK STATUS SLOT   FRONT DISKS       (Node WWN)          REAR DISKS        (Node WWN)0      Not Installed                         On (O.K.)         2000002037d83bf41      On (O.K.)         2000002037ba26b8    Not Installed                     2      Not Installed                         Not Installed                     3      Not Installed                         Not Installed                     4      Not Installed                         On (O.K.)         2000002037d89c415      On (O.K.)         2000002037d84870    Not Installed                     6      Not Installed                         On (O.K.)         2000002037d83b937      Not Installed                         Not Installed                     8      Not Installed                         Not Installed                     9      Not Installed                         Not Installed                     10     On (O.K.)         2000002037c8546b    On (O.K.)         2000002037d8992a                                SUBSYSTEM STATUSFW Revision:1.09   Box ID:2   Node WWN:50800200000ead38   Enclosure Name:A2C3Power Supplies (0,2 in front, 1 in rear)        0 O.K.(rev.-02) 1 O.K.(rev.-02) 2 O.K.(rev.-02)Fans (0 in front, 1 in rear)        0 O.K.(rev.-04) 1 O.K.(rev.-00)ESI Interface board(IB) (A top, B bottom)        A: O.K.(rev.-04)                GBIC module (1 on left, 0 on right in IB)                0 O.K.(mod.-05)                1 Not Installed        B: O.K.(rev.-04)                GBIC module (1 on left, 0 on right in IB)                0 O.K.(mod.-05)                1 Not InstalledDisk backplane (0 in front, 1 in rear)        Front Backplane: O.K.(rev.-04)          Temperature sensors (on front backplane)          0:361:362:363:364:345:366:367:348:349:3610:36篊  (All temperatures are NORMAL.)        Rear Backplane:  O.K.(rev.-04)          Temperature sensors (on rear backplane)          0:371:372:363:364:365:366:377:368:369:3610:36篊  (All temperatures are NORMAL.)Interconnect assembly        O.K.(rev.-02)Loop  configuration        Loop A is configured as a single loop.        Loop B is configured as a single loop.Language        USA English     

第二个A5200的状态正常。

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

1.重新指定一个新的Quorum device
 # scconf fsms -q fsmsdb1 fsmsdb2Checking node status...Checking host fsmsdb2 ...fsmsdb2 is aliveGetting device information for hosts fsmsdb1 and fsmsdb2This may take a few seconds to a few minutes...doneSelect quorum device for fsmsdb1 and fsmsdb2.Type the number corresponding to the desired selection.For example: 1 1) DISK:c0t10d0s2:0050L07FTE 2) DISK:c0t16d0s2:0044L062MP 3) DISK:c0t19d0s2:0047L07HMS 4) DISK:c0t26d0s2:0044L069NG 5) DISK:c0t5d0s2:0050L080EX 6) DISK:c3t65d0s2:0131L0AQ60 7) DISK:c3t69d0s2:0050L08BYB 8) DISK:c3t74d0s2:0046L06PDB 9) DISK:c3t80d0s2:0050L08EEY10) DISK:c3t84d0s2:0101L08S0011) DISK:c3t86d0s2:0050L08ETM12) DISK:c3t90d0s2:0101L08R9DQuorum device: 1Disk c0t10d0s2 with serial id 0050L07FTE has been chosenas the quorum device.

从上面信息可以看到Quorum device磁盘已经在这里看到不了!

查看Quorum device是否已经被更新:
 # scconf fsms -pChecking node status...Current Configuration for Cluster fsms  Hosts in cluster:        fsmsdb1 fsmsdb2    Private Network Interfaces for        fsmsdb1:        hme0 hme2        fsmsdb2:        hme0 hme2  Quorum Device InformationQuorum device for hosts fsmsdb1 and fsmsdb2: 0050L07FTE  Logical Host Timeout Value :        Step10            :720        Step11            :720        Logical Host              :180Logical Host    : fsmsdb        Node List       : fsmsdb1 fsmsdb2        Disk Groups     : fsmsdg        Logical Address : fsmsdb                Logical Interface       : 1                Network Interface       : hme1 (fsmsdb1) hme1 (fsmsdb2)         Automatic Switchover    : no


登录到node2主机更新Quorum device:
 # rlogin fsmsdb2Last login: Fri Jun 29 14:18:26 from fsmsdb1Sun Microsystems Inc.   SunOS 5.6       Generic August 1997 # scconf fsms -pChecking node status...Current Configuration for Cluster fsms  Hosts in cluster:        fsmsdb1 fsmsdb2    Private Network Interfaces for        fsmsdb1:        hme0 hme2        fsmsdb2:        hme0 hme2  Quorum Device InformationQuorum device for hosts fsmsdb1 and fsmsdb2: 0046L06SNX  Logical Host Timeout Value :        Step10            :720        Step11            :720        Logical Host              :180Logical Host    : fsmsdb        Node List       : fsmsdb1 fsmsdb2        Disk Groups     : fsmsdg        Logical Address : fsmsdb                Logical Interface       : 1                Network Interface       : hme1 (fsmsdb1) hme1 (fsmsdb2)         Automatic Switchover    : no # scconf fsms -q fsmsdb1 fsmsdb2Checking node status...Checking host fsmsdb1 ...fsmsdb1 is aliveGetting device information for hosts fsmsdb1 and fsmsdb2This may take a few seconds to a few minutes...doneSelect quorum device for fsmsdb1 and fsmsdb2.Type the number corresponding to the desired selection.For example: 1 1) DISK:c0t10d0s2:0050L07FTE 2) DISK:c0t16d0s2:0044L062MP 3) DISK:c0t19d0s2:0047L07HMS 4) DISK:c0t26d0s2:0044L069NG 5) DISK:c0t5d0s2:0050L080EX 6) DISK:c3t65d0s2:0131L0AQ60 7) DISK:c3t69d0s2:0050L08BYB 8) DISK:c3t74d0s2:0046L06PDB 9) DISK:c3t80d0s2:0050L08EEY10) DISK:c3t84d0s2:0101L08S0011) DISK:c3t86d0s2:0050L08ETM12) DISK:c3t90d0s2:0101L08R9DQuorum device: 1Disk c0t10d0s2 with serial id 0050L07FTE has been chosenas the quorum device. # scconf fsms -pChecking node status...Current Configuration for Cluster fsms  Hosts in cluster:        fsmsdb1 fsmsdb2    Private Network Interfaces for        fsmsdb1:        hme0 hme2        fsmsdb2:        hme0 hme2  Quorum Device InformationQuorum device for hosts fsmsdb1 and fsmsdb2: 0050L07FTE  Logical Host Timeout Value :        Step10            :720        Step11            :720        Logical Host              :180Logical Host    : fsmsdb        Node List       : fsmsdb1 fsmsdb2        Disk Groups     : fsmsdg        Logical Address : fsmsdb                Logical Interface       : 1                Network Interface       : hme1 (fsmsdb1) hme1 (fsmsdb2)         Automatic Switchover    : no


2.使用vxdiskadm命令更换坏盘

 # vxdiskadmVolume Manager Support OperationsMenu: VolumeManager/Disk 1      Add or initialize one or more disks 2      Encapsulate one or more disks 3      Remove a disk 4      Remove a disk for replacement 5      Replace a failed or removed disk 6      Mirror volumes on a disk 7      Move volumes from a disk 8      Enable access to (import) a disk group 9      Remove access to (deport) a disk group 10     Enable (online) a disk device 11     Disable (offline) a disk device 12     Mark a disk as a spare for a disk group 13     Turn off the spare flag on a disk list   List disk information ?      Display help about menu ??     Display help about the menuing system q      Exit from menusSelect an operation to perform: 4Remove a disk for replacementMenu: VolumeManager/Disk/RemoveForReplace  Use this menu operation to remove a physical disk from a disk  group, while retaining the disk name.  This changes the state  for the disk name to a "removed" disk.  If there are any  initialized disks that are not part of a disk group, you will be  given the option of using one of these disks as a replacement.Enter disk name [,list,q,?] listDisk group: rootdgDM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATEdm c2t0d0s7     c2t0d0s7     simple   1024     74367    -Disk group: fsmsdgDM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATEdm dm_c0t0d0    -            -        -        -        NODEVICEdm dm_c0t5d0    c0t5d0s2     sliced   4711     35363560 -dm dm_c0t10d0   c0t10d0s2    sliced   4711     35363560 -dm dm_c0t16d0   c0t16d0s2    sliced   4711     35363560 -dm dm_c0t19d0   c0t19d0s2    sliced   4711     35363560 -dm dm_c3t65d0   c3t65d0s2    sliced   4711     35363560 -dm dm_c3t69d0   c3t69d0s2    sliced   4711     35363560 -dm dm_c3t74d0   c3t74d0s2    sliced   4711     35363560 -dm dm_c3t80d0   c3t80d0s2    sliced   4711     35363560 -dm dm_c3t84d0   c3t84d0s2    sliced   4711     35363560 -Enter disk name [,list,q,?] dm_c0t0d0  The following volumes will lose mirrors as a result of this  operation:        fsmsdg-stat lv_fsmsdb1 lv_fsmsdb10 lv_fsmsdb11 lv_fsmsdb12 lv_fsmsdb13 lv_fsmsdb14 lv_fsmsdb15 lv_fsmsdb16 lv_fsmsdb2 lv_fsmsdb3 lv_fsmsdb4 lv_fsmsdb5 lv_fsmsdb6 lv_fsmsdb7 lv_fsmsdb8 lv_fsmsdb9 lv_fsmsdbfs lv_mdbs lv_mlogdbs  No data on these volumes will be lost.  The requested operation is to remove disk dm_c0t0d0 from disk group  fsmsdg.  The disk name will be kept, along with any volumes using  the disk, allowing replacement of the disk.  Select "Replace a failed or removed disk" from the main menu  when you wish to replace the disk.Continue with operation? [y,n,q,?] (default: y) y  Removal of disk dm_c0t0d0 completed successfully.Remove another disk? [y,n,q,?] (default: n) nVolume Manager Support OperationsMenu: VolumeManager/Disk 1      Add or initialize one or more disks 2      Encapsulate one or more disks 3      Remove a disk 4      Remove a disk for replacement 5      Replace a failed or removed disk 6      Mirror volumes on a disk 7      Move volumes from a disk 8      Enable access to (import) a disk group 9      Remove access to (deport) a disk group 10     Enable (online) a disk device 11     Disable (offline) a disk device 12     Mark a disk as a spare for a disk group 13     Turn off the spare flag on a disk list   List disk information ?      Display help about menu ??     Display help about the menuing system q      Exit from menusSelect an operation to perform: 11Disable (offline) a disk deviceMenu: VolumeManager/Disk/OfflineDisk  Use this menu operation to disable all access to a disk device  by the Volume Manager.  This operation can be applied only to  disks that are not currently in a disk group.  Use this operation  if you intend to remove a disk from a system without rebooting.  NOTE:  Many systems do not support disks that can be removed from         a system during normal operation.  On such systems, the         offline operation is seldom useful.Select a disk device to disable [,list,q,?] listDEVICE       DISK         GROUP        STATUSc0t0d0       -            -            errorc0t5d0       dm_c0t5d0    fsmsdg       onlinec0t10d0      dm_c0t10d0   fsmsdg       onlinec0t16d0      dm_c0t16d0   fsmsdg       onlinec0t19d0      dm_c0t19d0   fsmsdg       onlinec0t26d0      -            -            errorc2t0d0       -            -            errorc2t0d0       c2t0d0s7     rootdg       onlinec2t2d0       -            -            errorc3t65d0      dm_c3t65d0   fsmsdg       onlinec3t69d0      dm_c3t69d0   fsmsdg       onlinec3t74d0      dm_c3t74d0   fsmsdg       onlinec3t80d0      dm_c3t80d0   fsmsdg       onlinec3t84d0      dm_c3t84d0   fsmsdg       onlinec3t86d0      -            -            errorc3t90d0      -            -            errorSelect a disk device to disable [,list,q,?] c0t0d0Disable another device? [y,n,q,?] (default: n) Volume Manager Support OperationsMenu: VolumeManager/Disk 1      Add or initialize one or more disks 2      Encapsulate one or more disks 3      Remove a disk 4      Remove a disk for replacement 5      Replace a failed or removed disk 6      Mirror volumes on a disk 7      Move volumes from a disk 8      Enable access to (import) a disk group 9      Remove access to (deport) a disk group 10     Enable (online) a disk device 11     Disable (offline) a disk device 12     Mark a disk as a spare for a disk group 13     Turn off the spare flag on a disk list   List disk information ?      Display help about menu ??     Display help about the menuing system q      Exit from menusSelect an operation to perform: q   # vxprint -htDisk group: rootdgDG NAME         NCONFIG      NLOG     MINORS   GROUP-IDDM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATEV  NAME         USETYPE      KSTATE   STATE    LENGTH   READPOL   PREFPLEXPL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID MODESD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODESV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM    MODEdg rootdg       default      default  0        993346192.1026.fsmsdb1dm c2t0d0s7     c2t0d0s7     simple   1024     74367    -Disk group: fsmsdgDG NAME         NCONFIG      NLOG     MINORS   GROUP-IDDM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATEV  NAME         USETYPE      KSTATE   STATE    LENGTH   READPOL   PREFPLEXPL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID MODESD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODESV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM    MODEdg fsmsdg       default      default  51000    989998066.1084.fsmsdb1dm dm_c0t0d0    -            -        -        -        REMOVEDdm dm_c0t5d0    c0t5d0s2     sliced   4711     35363560 -dm dm_c0t10d0   c0t10d0s2    sliced   4711     35363560 -dm dm_c0t16d0   c0t16d0s2    sliced   4711     35363560 -dm dm_c0t19d0   c0t19d0s2    sliced   4711     35363560 -dm dm_c3t65d0   c3t65d0s2    sliced   4711     35363560 -dm dm_c3t69d0   c3t69d0s2    sliced   4711     35363560 -dm dm_c3t74d0   c3t74d0s2    sliced   4711     35363560 -dm dm_c3t80d0   c3t80d0s2    sliced   4711     35363560 -dm dm_c3t84d0   c3t84d0s2    sliced   4711     35363560 -。。。v  lv_fsmsdb4   gen          ENABLED  ACTIVE   8388608  SELECT    -pl lv_fsmsdb4-01 lv_fsmsdb4  DISABLED REMOVED  8392072  CONCAT    -        RWsd dm_c0t0d0-06 lv_fsmsdb4-01 dm_c0t0d0 25694536 8392072 0        -        RLOCpl lv_fsmsdb4-02 lv_fsmsdb4  ENABLED  ACTIVE   8392072  CONCAT    -        RWsd dm_c0t10d0-05 lv_fsmsdb4-02 dm_c0t10d0 33568288 1795272 0      c0t10d0  ENAsd dm_c0t16d0-05 lv_fsmsdb4-02 dm_c0t16d0 33568288 1795272 1795272 c0t16d0 ENAsd dm_c3t69d0-05 lv_fsmsdb4-02 dm_c3t69d0 33568288 1795272 3590544 c3t69d0 ENAsd dm_c0t5d0-07 lv_fsmsdb4-02 dm_c0t5d0 33883992 212040 5385816   c0t5d0   ENAsd dm_c3t65d0-04 lv_fsmsdb4-02 dm_c3t65d0 16788856 1583232 5597856 c3t65d0 ENAsd dm_c3t84d0-05 lv_fsmsdb4-02 dm_c3t84d0 33568288 1210984 7181088 c3t84d0 ENA。。。 # vxdisk listDEVICE       TYPE      DISK         GROUP        STATUSc0t0d0s2     sliced    -            -            offlinec0t5d0s2     sliced    dm_c0t5d0    fsmsdg       onlinec0t10d0s2    sliced    dm_c0t10d0   fsmsdg       onlinec0t16d0s2    sliced    dm_c0t16d0   fsmsdg       onlinec0t19d0s2    sliced    dm_c0t19d0   fsmsdg       onlinec0t26d0s2    sliced    -            -            errorc2t0d0s2     sliced    -            -            errorc2t0d0s7     simple    c2t0d0s7     rootdg       onlinec2t2d0s2     sliced    -            -            errorc3t65d0s2    sliced    dm_c3t65d0   fsmsdg       onlinec3t69d0s2    sliced    dm_c3t69d0   fsmsdg       onlinec3t74d0s2    sliced    dm_c3t74d0   fsmsdg       onlinec3t80d0s2    sliced    dm_c3t80d0   fsmsdg       onlinec3t84d0s2    sliced    dm_c3t84d0   fsmsdg       onlinec3t86d0s2    sliced    -            -            errorc3t90d0s2    sliced    -            -            error-            -         dm_c0t0d0    fsmsdg       removed was:c0t0d0s2


 # luxadm remove_device -F /dev/rdsk/c0t0d0s2 WARNING!!! Please ensure that no filesystems are mounted on these device(s). All data on these devices should have been backed up.Inquiry failed for /devices/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037c85404,0:c,raw # luxadm remove_device -F A1C0,f0 WARNING!!! Please ensure that no filesystems are mounted on these device(s). All data on these devices should have been backed up.A1C0,f0 is bypassed (Port:AB). Could not get device specific information.


到这里看来只能直接去拔盘了。。。在A5200液晶面板看到这个磁盘的状态已经是Offline了。。。拔出坏盘插入新盘。。。

 # luxadm insert_device A1C0,f0Notice: A1C0,f0 may already be present.The list of devices which will be inserted is:  1: Box Name:    "A1C0" front slot 0Please verify the above list of devices andthen enter 'c' or  to Continue or 'q' to Quit. [Default: c]: Hit  after inserting the device(s).  Drive in Box Name "A1C0" front slot 0  Logical Nodes under /dev/dsk and /dev/rdsk :        c0t0d0s0        c0t0d0s1        c0t0d0s2        c0t0d0s3        c0t0d0s4        c0t0d0s5        c0t0d0s6        c0t0d0s7


 # luxadm display 50800200000ea490                                   SENA                                             DISK STATUS SLOT   FRONT DISKS       (Node WWN)          REAR DISKS        (Node WWN)0      On (O.K.)         200000203788ecc0    On (O.K.)         2000002037c3b5a71      Not Installed                         Not Installed                     2      Not Installed                         Not Installed                     3      Not Installed                         On (O.K.)         2000002037c89c7b4      Not Installed                         Not Installed                     5      On (O.K.)         2000002037d80498    Not Installed                     6      Not Installed                         On (Bypassed:AB)                  7      Not Installed                         Not Installed                     8      Not Installed                         Not Installed                     9      Not Installed                         Not Installed                     10     On (O.K.)         2000002037d803f1    On (O.K.)         2000002037c3bf4f                                SUBSYSTEM STATUSFW Revision:1.09   Box ID:0   Node WWN:50800200000ea490   Enclosure Name:A1C0Power Supplies (0,2 in front, 1 in rear)        0 O.K.(rev.-02) 1 O.K.(rev.-02) 2 O.K.(rev.-02)Fans (0 in front, 1 in rear)        0 O.K.(rev.-04) 1 O.K.(rev.-00)ESI Interface board(IB) (A top, B bottom)        A: O.K.(rev.-04)                GBIC module (1 on left, 0 on right in IB)                0 O.K.(mod.-05)                1 Not Installed        B: O.K.(rev.-04)                GBIC module (1 on left, 0 on right in IB)                0 O.K.(mod.-05)                1 Not InstalledDisk backplane (0 in front, 1 in rear)        Front Backplane: O.K.(rev.-04)          Temperature sensors (on front backplane)          0:361:362:343:344:345:366:367:348:369:3610:36篊  (All temperatures are NORMAL.)        Rear Backplane:  O.K.(rev.-04)          Temperature sensors (on rear backplane)          0:361:362:363:364:365:346:367:348:349:3610:34篊  (All temperatures are NORMAL.)Interconnect assembly        O.K.(rev.-02)Loop  configuration        Loop A is configured as a single loop.        Loop B is configured as a single loop.Language        USA English      #  # drvconfig;disks # formatSearching for disks...doneAVAILABLE DISK SELECTIONS:       0. c0t0d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w210000203788ecc0,0       1. c0t5d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037d80498,0       2. c0t10d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037d803f1,0       3. c0t16d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037c3b5a7,0       4. c0t19d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037c89c7b,0       5. c0t26d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037c3bf4f,0       6. c2t0d0           /sbus@6,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037e493db,0       7. c2t2d0           /sbus@6,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037d89d9a,0       8. c3t65d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037ba26b8,0       9. c3t69d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d84870,0      10. c3t74d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037c8546b,0      11. c3t80d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d83bf4,0      12. c3t84d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d89c41,0      13. c3t86d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d83b93,0      14. c3t90d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d8992a,0Specify disk (enter its number): ^D


下面走了点弯路。。。不好意思。。。看来这是老了,脑子被摔坏了:oops::em23:。。。

# vxdisksetup -i c0t0d0vxvm:vxdisk: ERROR: Device c0t0d0s2: online failed:        Device path not valid # vxdisk listDEVICE       TYPE      DISK         GROUP        STATUSc0t0d0s2     sliced    -            -            errorc0t5d0s2     sliced    dm_c0t5d0    fsmsdg       onlinec0t10d0s2    sliced    dm_c0t10d0   fsmsdg       onlinec0t16d0s2    sliced    dm_c0t16d0   fsmsdg       onlinec0t19d0s2    sliced    dm_c0t19d0   fsmsdg       onlinec0t26d0s2    sliced    -            -            errorc2t0d0s2     sliced    -            -            errorc2t0d0s7     simple    c2t0d0s7     rootdg       onlinec2t2d0s2     sliced    -            -            errorc3t65d0s2    sliced    dm_c3t65d0   fsmsdg       onlinec3t69d0s2    sliced    dm_c3t69d0   fsmsdg       onlinec3t74d0s2    sliced    dm_c3t74d0   fsmsdg       onlinec3t80d0s2    sliced    dm_c3t80d0   fsmsdg       onlinec3t84d0s2    sliced    dm_c3t84d0   fsmsdg       onlinec3t86d0s2    sliced    -            -            errorc3t90d0s2    sliced    -            -            error-            -         dm_c0t0d0    fsmsdg       removed was:c0t0d0s2 # vxdiskadmVolume Manager Support OperationsMenu: VolumeManager/Disk 1      Add or initialize one or more disks 2      Encapsulate one or more disks 3      Remove a disk 4      Remove a disk for replacement 5      Replace a failed or removed disk 6      Mirror volumes on a disk 7      Move volumes from a disk 8      Enable access to (import) a disk group 9      Remove access to (deport) a disk group 10     Enable (online) a disk device 11     Disable (offline) a disk device 12     Mark a disk as a spare for a disk group 13     Turn off the spare flag on a disk list   List disk information ?      Display help about menu ??     Display help about the menuing system q      Exit from menusSelect an operation to perform: 10Enable (online) a disk deviceMenu: VolumeManager/Disk/OnlineDisk  Use this operation to enable access to a disk that was disabled  with the "Disable (offline) a disk device" operation.  You can also use this operation to re-scan a disk that may have  been changed outside of the Volume Manager.  For example, If a  disk is shared between two systems, the Volume Manager running on  the other system may have changed the disk.  If so, you can use  this operation to re-scan the disk.  NOTE: Many voldiskadm operations re-scan disks without user        intervention.  This will eliminate most needs to online a        disk directly, except when the disk is directly offlined.Select a disk device to enable [,list,q,?] listDEVICE       DISK         GROUP        STATUSc0t0d0       -            -            errorc0t5d0       dm_c0t5d0    fsmsdg       onlinec0t10d0      dm_c0t10d0   fsmsdg       onlinec0t16d0      dm_c0t16d0   fsmsdg       onlinec0t19d0      dm_c0t19d0   fsmsdg       onlinec0t26d0      -            -            errorc2t0d0       -            -            errorc2t0d0       c2t0d0s7     rootdg       onlinec2t2d0       -            -            errorc3t65d0      dm_c3t65d0   fsmsdg       onlinec3t69d0      dm_c3t69d0   fsmsdg       onlinec3t74d0      dm_c3t74d0   fsmsdg       onlinec3t80d0      dm_c3t80d0   fsmsdg       onlinec3t84d0      dm_c3t84d0   fsmsdg       onlinec3t86d0      -            -            errorc3t90d0      -            -            errorSelect a disk device to enable [,list,q,?] c0t0d0  vxvm:vxdisk: ERROR: Device c0t0d0s2: online failed:        Device path not validEnable another device? [y,n,q,?] (default: n) Volume Manager Support OperationsMenu: VolumeManager/Disk 1      Add or initialize one or more disks 2      Encapsulate one or more disks 3      Remove a disk 4      Remove a disk for replacement 5      Replace a failed or removed disk 6      Mirror volumes on a disk 7      Move volumes from a disk 8      Enable access to (import) a disk group 9      Remove access to (deport) a disk group 10     Enable (online) a disk device 11     Disable (offline) a disk device 12     Mark a disk as a spare for a disk group 13     Turn off the spare flag on a disk list   List disk information ?      Display help about menu ??     Display help about the menuing system q      Exit from menusSelect an operation to perform: 5Replace a failed or removed diskMenu: VolumeManager/Disk/ReplaceDisk  Use this menu operation to specify a replacement disk for a disk  that you removed with the "Remove a disk for replacement" menu  operation, or that failed during use.  You will be prompted for  a disk name to replace and a disk device to use as a replacement.  You can choose an uninitialized disk, in which case the disk will  be initialized, or you can choose a disk that you have already  initialized using the Add or initialize a disk menu operation.Select a removed or failed disk [,list,q,?] listDisk group: rootdgDM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATEDisk group: fsmsdgDM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATEdm dm_c0t0d0    -            -        -        -        REMOVEDSelect a removed or failed disk [,list,q,?] dm_c0t0d0Select disk device to initialize [,list,q,?] listDEVICE       DISK         GROUP        STATUSc0t0d0       -            -            errorc0t5d0       dm_c0t5d0    fsmsdg       onlinec0t10d0      dm_c0t10d0   fsmsdg       onlinec0t16d0      dm_c0t16d0   fsmsdg       onlinec0t19d0      dm_c0t19d0   fsmsdg       onlinec0t26d0      -            -            errorc2t0d0       -            -            errorc2t0d0       c2t0d0s7     rootdg       onlinec2t2d0       -            -            errorc3t65d0      dm_c3t65d0   fsmsdg       onlinec3t69d0      dm_c3t69d0   fsmsdg       onlinec3t74d0      dm_c3t74d0   fsmsdg       onlinec3t80d0      dm_c3t80d0   fsmsdg       onlinec3t84d0      dm_c3t84d0   fsmsdg       onlinec3t86d0      -            -            errorc3t90d0      -            -            errorSelect disk device to initialize [,list,q,?] c0t0d0  The following disk device has a valid VTOC, but does not appear to have  been initialized for the Volume Manager.  If there is data on the disk  that should NOT be destroyed you should encapsulate the existing disk  partitions as volumes instead of adding the disk as a new disk.  Output format: [Device_Name]  c0t0d0Encapsulate this device? [y,n,q,?] (default: y) Select a different device? [y,n,q,?] (default: n) Replace a different disk? [y,n,q,?] (default: n) Volume Manager Support OperationsMenu: VolumeManager/Disk 1      Add or initialize one or more disks 2      Encapsulate one or more disks 3      Remove a disk 4      Remove a disk for replacement 5      Replace a failed or removed disk 6      Mirror volumes on a disk 7      Move volumes from a disk 8      Enable access to (import) a disk group 9      Remove access to (deport) a disk group 10     Enable (online) a disk device 11     Disable (offline) a disk device 12     Mark a disk as a spare for a disk group 13     Turn off the spare flag on a disk list   List disk information ?      Display help about menu ??     Display help about the menuing system q      Exit from menusSelect an operation to perform: qGoodbye. # vxdisk listDEVICE       TYPE      DISK         GROUP        STATUSc0t0d0s2     sliced    -            -            errorc0t5d0s2     sliced    dm_c0t5d0    fsmsdg       onlinec0t10d0s2    sliced    dm_c0t10d0   fsmsdg       onlinec0t16d0s2    sliced    dm_c0t16d0   fsmsdg       onlinec0t19d0s2    sliced    dm_c0t19d0   fsmsdg       onlinec0t26d0s2    sliced    -            -            errorc2t0d0s2     sliced    -            -            errorc2t0d0s7     simple    c2t0d0s7     rootdg       onlinec2t2d0s2     sliced    -            -            errorc3t65d0s2    sliced    dm_c3t65d0   fsmsdg       onlinec3t69d0s2    sliced    dm_c3t69d0   fsmsdg       onlinec3t74d0s2    sliced    dm_c3t74d0   fsmsdg       onlinec3t80d0s2    sliced    dm_c3t80d0   fsmsdg       onlinec3t84d0s2    sliced    dm_c3t84d0   fsmsdg       onlinec3t86d0s2    sliced    -            -            errorc3t90d0s2    sliced    -            -            error-            -         dm_c0t0d0    fsmsdg       removed was:c0t0d0s2 # formatSearching for disks...doneAVAILABLE DISK SELECTIONS:       0. c0t0d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w210000203788ecc0,0       1. c0t5d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037d80498,0       2. c0t10d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037d803f1,0       3. c0t16d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037c3b5a7,0       4. c0t19d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037c89c7b,0       5. c0t26d0           /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037c3bf4f,0       6. c2t0d0           /sbus@6,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037e493db,0       7. c2t2d0           /sbus@6,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037d89d9a,0       8. c3t65d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037ba26b8,0       9. c3t69d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d84870,0      10. c3t74d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037c8546b,0      11. c3t80d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d83bf4,0      12. c3t84d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d89c41,0      13. c3t86d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d83b93,0      14. c3t90d0           /sbus@6,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037d8992a,0Specify disk (enter its number): 0selecting c0t0d0[disk formatted]FORMAT MENU:        disk       - select a disk        type       - select (define) a disk type        partition  - select (define) a partition table        current    - describe the current disk        format     - format and analyze the disk        repair     - repair a defective sector        label      - write label to the disk        analyze    - surface analysis        defect     - defect list management        backup     - search for backup labels        verify     - read and display labels        save       - save new disk/partition definitions        inquiry    - show vendor, product and revision        volname    - set 8-character volume name        !     - execute , then return        quitformat> verPrimary label contents:Volume name = <        >ascii name  = pcyl        = 7508ncyl        = 7506acyl        =    2nhead       =   19nsect       =  248AI问一下细节
            
                推荐阅读:
                
                                                                        
                                IBM Aix系统 rootvg 镜像卷更换坏硬盘步骤
                            
                                                                                                
                                windows下,ruby环境的安装,与sass,compass的使用方法
                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
            
            
            
                免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。
                
                
                    
                                                    a5200
                                                    更换
                                                    双机
                                            
                
            
            
                
                                            上一篇新闻:mysqlbinlog用法
                                                                下一篇新闻:实战:tcpdump抓包分析三次握手四次挥手
                                    
            
            
                
                    猜你喜欢
                
                
                    
                                                    香港多ip虚拟主机租用需要备案吗
                                                    自架云服务器有哪些优点和缺点
                                                    云服务器系统镜像有什么用
                                                    免费论坛虚拟主机软件有哪些
                                                    免费论坛虚拟主机搭建要注意什么
                                                    电脑开机密码忘了怎么办
                                                    怎么启用javascript功能
                                                    linux云服务器连接的方法是什么
                                                    云服务器ping端口不通怎么解决
                                                    安徽虚拟主机空间租用怎么搭建
                                            
                
            
        
AI