更换SSA RAID阵列中硬盘的步骤

正在加载中...

试读已结束

继续阅读请 2 金币购买后下载

立即下载

资料简介:
建了RAID的磁盘阵列在使用过程中可能会发生硬盘出现故障需要更换的情况,本文介绍了安全更换硬盘而不破坏数据的详细步骤。
1. 首先需要从RAID定义中逻辑上删除故障硬盘。执行下面的命令:
# smit ssaraid
-> Change Member Disks in an SSA RAID Array
----> Remove a Disk from an SSA RAID Array
2. 屏幕显示出如下的阵列列表:
Change Member Disks in an SSA RAID Array
Move cursor to desired item and press Enter.
Remove a Disk From an SSA RAID Array
Add a Disk to an SSA RAID Array
Swap Members of an SSA RAID Array

-----------------------------------------------------------------------
SSA RAID Array

Move cursor to desired item and press Enter. Use arrow keys to scroll.

hdisk6 --6010337B163E30K good --2.3GB -RAID-5 array
hdisk5 --09523173A02137K good --2.3GB -RAID-5 array
F1=Help ---F2=Refresh ---F3=Cancel
F8=Image --F10=Exit -----Enter=Do
/=Find --- n=Find Next
-----------------------------------------------------------------------
选择要删除的硬盘所在的阵列的名称,在本例中选择 hdisk6。
3. 屏幕显示如下的信息:
Remove a Disk From an SSA RAID Array
Type or select values in entry fields.
Press Enter AFTER making all desired changes.

------------------------------------------[Entry Fields]
SSA RAID Manager ---------------------------ssa1
SSA RAID Array -----------------------------hdisk6
Connection Address / Array Name ------------6010337B163E30K
* Disk to Remove ---------------------------------------------+

F1=Help ---F2=Refresh ---F3=Cancel ---F4=List
F5=Reset --F6=Command ---F7=Edit -----F8=Image
F9=Shell --F10=Exit -----Enter=Do

按下F4键,列出属于该RAID阵列中的硬盘。
4. 硬盘列表显示如下:
Remove a Disk From an SSA RAID Array
Type or select values in entry fields.
Press Enter AFTER making all desired changes.

------------------------------------[Entry Fields]
SSA RAID Manager ---------------------ssa1
SSA RAID Array -----------------------hdisk6
Connection Address / Array Name ------6010337B163E30K
* Disk to Remove ---------------------------------------+

-------------------------------------------------------------------------
---------------------Disk to Remove

Move cursor to desired item and press Enter. Use arrow keys to scroll.

pdisk4 --0004AC50374D00D member --present --1.1GB --Physical
pdisk5 --0004AC510D9100D member --present --1.1GB --Physical
pdisk7 --0004AC510D9900D member --present --1.1GB-- Physical

F1=Help ---F2=Refresh --F3=Cancel
F8=Image --F10=Exit --- Enter=Do
/=Find --- n=Find Next
-----------------------------------------------------------------------
从上面显示的列表中选择需要删除的硬盘。
5. 使用“Set service Mode”服务帮助将需要删除的硬盘设置为维护模式。命令如下:
# diag
---> Task Selection (Service Aids )
------> SSA Service Aids
---------> Set Service Mode -- (选择硬盘)
------------> Set or Reset Service Mode
This will set the drive to service so the drive can
be replaced. You will see a > prompt displayed next
to the drive listing when service is set.
例:
--pdisk0 --AC503429 --00-03-P --1GB SSA C Physical Disk Drive
--pdisk1 --AC510D98 --00-03-P --1GB SSA C Physical Disk Drive
--pdisk2 --AC510D91 --00-03-P --1GB SSA C Physical Disk Drive
--pdisk3 --AC510D96 --00-03-P --1GB SSA C Physical Disk Drive
--pdisk4 --AC50374D --00-03-P --1GB SSA C Physical Disk Drive
> pdisk5 --AC510D91 --00-03-P --1GB SSA C Physical Disk Drive
--pdisk6 --AC510DBB --00-03-P --1GB SSA C Physical Disk Drive
--pdisk7 --AC510D99 --00-03-P --1GB SSA C Physical Disk Drive

6. 物理上拿掉故障硬盘。若不确定是那一块,可以看到故障硬盘的电源灯旁的黄色检查灯是亮的。
7. 物理上安装好替换的硬盘。
8. 按照步骤5的方法将硬盘从维护模式设置回普通模式。
9. 逻辑上从系统中删除旧的硬盘信息,再将新更换的硬盘配置起来:
# rmdev -dl pdisk* (其中,pdisk* 为具体的硬盘号,本例中为pdisk5。)
# cfgmgr
10. 下面需要将新更换的硬盘设置为阵列的候选盘:
# smitty ssaraid
---> Change/Show Use of an SSA Physical Disk
---- -> 选择正确的 SSA Raid卡。
从列表中选择正确的硬盘 (屏幕显示如下)
-----------------------------------------------------------------------
--------------------SSA Physical Disk
Move cursor to desired item and press Enter. Use arrow keys to scroll.

#################################################
# SSA physical disks that are members of arrays.
pdisk4 --0004AC50374D00D member --n/a --1.1GB --Physical
pdisk7 --0004AC510D9900D member --n/a --1.1GB --Physical
#################################################
# SSA physical disks that are AIX system disks.
pdisk5 --0004AC510D9300D system n/a --1.1GB Physical

F1=Help -- F2=Refresh --F3=Cancel
F8=Image --F10=Exit ----Enter=Do
/=Find ----n=Find Next
---------------------------------------------------------------------
Make sure the Current Use Parameter is set to Array Candidate Disk on
the next screen (listed below). Press Tab on Current Use to change
and then Enter to execute.
Change/Show Use of an SSA Physical Disk
Type or select values in entry fields.
Press Enter AFTER making all desired changes.

----------------------[Entry Fields]
SSA RAID Manager ------ssa1
SSA Physical Disk----- pdisk5
CONNECTION address ----0004AC510D9300D
Current Use -----------Array Candidate Disk
11. 将新更换的硬盘添加回RAID阵列中:
# smit ssaraid
---> Change Member Disks in an SSA RAID Array
------> Add a Disk to an SSA RAID Array
--------选择正确的RAID名称,
--------按F4选择硬盘
按回车后,选择的硬盘被加入到RAID阵列中,系统在该硬盘上自动重建信息。

12. 查看信息重建的状态:
# smit ssaraid
---> List Status Of All Defined SSA RAID Arrays
屏幕显示如下:
COMMAND STATUS
Command: OK ----stdout: yes ----stderr: no
Before command completion, additional instructions may appear below.
Unsynced Parity Strips Unbuilt Data Strips
hdisk2 ----3428 ------6856
F1=Help ----F2=Refresh --F3=Cancel --F6=Command
F8=Image ---F9=Shell ----F10=Exit ---/=Find
n=Find Next
2009-04-14
页数4
浏览15326
下载65

已下载用户的评价7.85分

您还未下载该资料,不能发表评价;
查看我的 待评价资源
nkj827nkj827项目经理长春长信华天2016-05-26
有用
不错不错,,,,学习啦,谢谢分享
loopwa291loopwa291网站开发工程师wisco2014-10-24
没用
谢谢!!!
feidaodaofeidaodao系统运维工程师GA2012-10-15
没用
收藏 重来没摸过。
414356153414356153技术经理专业技术支持人员江苏高登电子有限公司2012-10-15
没用
谢谢楼主分享,下载了
yangbin2001yangbin2001系统集成商/VAR 顾问昆明2012-09-26
没用
谢谢兄弟贡献,
huangzhe_06huangzhe_06系统管理员中信2012-02-16
没用
不错不错!支持一下!
chenlw2chenlw2系统工程师trustfar2012-02-16
没用
好东西 学习了
riceshellriceshell系统管理员shanghai2012-02-13
没用
谢谢了,收藏了
wikiweiwikiwei软件开发工程师futong2011-12-08
没用
感谢 分享资料
vincentjhonvincentjhon技术总监哈尔滨安信咨询有限公司2011-12-02
没用
有点小贵啊。。价格高了点...

贡献者

jamserit,eci
X社区推广