Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

3.3. 配置儲存裝置

就預設值,DM Multipath 會支援大部分本身也支援 DM Multipath 的常見儲存陣列。欲取得更多有關於預設配置值(包括支援的裝置)上的相關資訊,請執行下列指令。
# multipathd show config
# multipath -t 
若您需要新增預設上不受支援的儲存裝置,使其成為 multipath 裝置的一員,請編輯 /etc/multipath.conf 檔案,加入適當的裝置資訊。
舉例來說,若要新增有關於 HP Open-V 系列裝置的相關資訊,此項目將會看似以下範例。此範例會在所有路徑失敗時,將裝置設置為排在佇列中一分鐘(或嘗試 12 次,一次等待五秒鐘)。
devices {
        device {
                vendor "HP"
                product "OPEN-V"
                no_path_retry 12
        }
}
欲取得更多配置檔案的 devices 一節的相關資訊,請參閱〈節 4.5, “配置檔案裝置”〉。