歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> 關於Unix >> 在AIX 5.1中建立熱後備(hot spare)磁盤

在AIX 5.1中建立熱後備(hot spare)磁盤

日期:2017/2/28 11:23:51   编辑:關於Unix


環境 AIX 5.1
問題 怎樣在AIX 5.1中建立熱後備(hot spare)磁盤?
解答 在AIX 5.1中可以在操作系統的級別上建立hot spare磁盤。 如需要在某一卷組(VG)中建立hot spare磁盤,必須滿足如下條件:
1. 邏輯卷(LV)在此卷組中必須進行鏡像(mirror)。
2. 作為hot spare的磁盤上不能有任何的邏輯卷或文件系統。
3. hot spare盤的容量應大於或等於此卷組中最大磁盤的容量。
當滿足以上條件後,可采用以下步驟(此處假設卷組名為testvg,
磁盤為hdisk6):
1. # exptendvg testvg hdisk6
將hdisk6加入卷組testvg。
2. # chpv -hy hdisk6
將hdisk6標記為hot spare磁盤。
3. #chvg -hy -sy testvg
將testvg標記為使用hot spare盤的卷組,並且當發生磁盤失效 時自動進行磁盤的替換並同步。
Copyright © Linux教程網 All Rights Reserved