首先确定这块硬盘不能够被访问并且可以和卷组通讯。使卷组online 状态,坏盘状态必须是missing或removed.如果硬盘是active 状态,这步骤将不执行。必须通过重新启动系统。
如果坏盘是状态是missing或removed,将按照下面的方法:
1。验证在坏盘上所有逻辑卷和文件系统 :lspv 、lslv、lsfs
2. unmount all file systems on failing desk : umount /dev/lv_xx
3.remove all file systems and LVs from failing disk:smit rmfs rm lv_xx
4.remove disk from volume group: reducevg vg_name hdiskY
5.remove disk form system rmdev -l hdiskY -d
6.add new disk to volume group:extendvg vg_name hdiskZ
7.re-create all LVS and file systems on new disk :mklv -y lv_xx smit crfs
8.restore file systems from backup :restore -rvqf /dev/rmt0