IBM服务器更换rootvg故障磁盘操作指南(3)


lscfg -vpl 确认硬盘的Part number或FRU Number号是否一样,如一样说明硬盘型号一样。
[IBMP740-1:root:/]#lscfg -vpl hdisk0
  hdisk0          U78AA.001.WZSHLUK-P2-D1  SAS Disk Drive (300000 MB)

Manufacturer................IBM
        Machine Type and Model......ST9300653SS
        FRU Number..................74Y6496
        ROS Level and ID............37343044
        Serial Number...............6XN12EQS
        EC Level....................N23780
        Part Number.................74Y6486
        Device Specific.(Z0)........000006329F001002
        Device Specific.(Z1)........0301740D
        Device Specific.(Z2)........0021
        Device Specific.(Z3)........12136
        Device Specific.(Z4)........
        Device Specific.(Z5)........22
        Device Specific.(Z6)........N23780
        Hardware Location Code......U78AA.001.WZSHLUK-P2-D1


  PLATFORM SPECIFIC

Name:  disk
    Node:  disk
    Device Type:  block
[IBMP740-1:root:/]#lscfg -vpl hdisk1
  hdisk1          U78AA.001.WZSHLUK-P2-D2  SAS Disk Drive (300000 MB)

Manufacturer................IBM
        Machine Type and Model......ST9300653SS
        FRU Number..................74Y6496
        ROS Level and ID............37343044
        Serial Number...............6XN1F0V1
        EC Level....................N23780
        Part Number.................74Y6486
        Device Specific.(Z0)........000006329F001002
        Device Specific.(Z1)........0301740D
        Device Specific.(Z2)........0021
        Device Specific.(Z3)........12217
        Device Specific.(Z4)........
        Device Specific.(Z5)........22
        Device Specific.(Z6)........N23780
        Hardware Location Code......U78AA.001.WZSHLUK-P2-D2


  PLATFORM SPECIFIC

Name:  disk
    Node:  disk
    Device Type:  block由上可知,hdisk0与hdisk1型号、大小一致,可以做rootvg镜像。


#一般基本上除了haview ,netwiew ( Tivoli)的包以外,所有的hacmp的包都要安装。
1.2 配制rootvg镜像
 首先将hdisk1硬盘加入到rootvg中
# extendvg rootvg hdisk1
0516-014 linstallpv: The physical volume appears to belong to another
        volume group.
005d027c00004c00
0516-631 extendvg: Warning, all data belonging to physical
        volume hdisk1 will be destroyed.
extendvg: Do you wish to continue? y(es) n(o)? y
# lspv
hdisk0          0057908c7251c07a                    rootvg
hdisk1          0057908cea9403a2                    rootvg
hdisk2          005d03fc9859db6c                    datavg


给rootvg做镜像
# mirrorvg rootvg hdisk1
0516-1124 mirrorvg: Quorum requirement turned off, reboot system for this
        to take effect for rootvg.
0516-1126 mirrorvg: rootvg successfully mirrored, user should perform
        bosboot of system to initialize boot records.  Then, user must modify
        bootlist to include:  hdisk0 hdisk1.

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/12da17b0df5c1a018eb669da8b47dfaa.html