由于主机上的xyz磁盘组的一个硬盘损坏需要对这个硬盘进行更换,更换的步骤如下:
1、 通过vxdisk –g xyz list显示的信息确定磁盘已经损坏。(以及从图形界面上看到的相关信息)
bash-2.03# vxdisk -g xyz list
DEVICE TYPE DISK GROUP STATUS
c2t66d0s2 sliced c2t66d0s2 xyz online
c2t67d0s2 sliced c2t67d0s2 xyz online
c2t69d0s2 sliced c2t69d0s2 xyz online
c2t82d0s2 sliced c2t82d0s2 xyz online
c2t83d0s2 sliced c2t83d0s2 xyz online failing
c2t85d0s2 sliced xyz01 xyz online spare
由于损坏的磁盘为:c2t83d0s2根据磁盘的t83确定磁盘为A5000后部的第4块磁(slot (因为A5000是按照box ID 2的规则进行编码的)。(现在A5000的状况图如下:)
2、移出坏盘并且替换新盘(损坏的磁盘是建立在一个RAID5卷上的)
1) 运行vxdiskadm,选择4:Remove a disk for replacement 使用list查看逻辑盘域物理盘的对应情况,然后选择故障盘c2t83d0s2,将该盘根据系统提示逐步移去。
2) 运行luxadm remove_device Aa,r3 将c0t83d0从系统中移出(我在运行这个步骤的时候,由于开始没有成功所以使用了-F参数,对后面没有影响)。具体过程如下:
# luxadm remove_device –F Aa,r3
当提示回车继续时,从阵列上拆下硬盘。然后按回车键继续,直到硬盘成功从操作系统中移出。
3)将新硬盘插入阵列中,然后reboot,并利用ctrl+d进入系统。
4)系统启动完成后,运行
# luxadm insert_device Aa,r3
#vxdctl enable
将新盘加入到操作系统中。
5)运行vxdiskadm,选择5:Replace a failed or removed disk ,选择c2t83d0s2,在选择c0t83d0。
6)硬盘替换成功后,系统会根据你的log进行恢复你的RAID5卷的。可以使用vxtask list查看你同步运行的情况。
附:替换硬盘实例:
#################################
First :find the bad disk(c2t83d0s2)
#################################
(1)Remove the bad disk
#vxdiskadm
Volume Manager Support Operations
Menu: VolumeManager/Disk
1 Add or initialize one or more disks
| 论坛热门帖子: | [lch203] 写得蛮好的linux学习笔记(10-21) [黑马制造] 学习java的30个目标(10-19) [笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19) [udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18) [沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18) |
| TAG标签: | 步骤 硬盘 更换 回复 可以 磁盘 A5000 这个 幻想 Aa 蜘蛛 |
注册
个人空间
