Red Hat Training

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

3.3. 配置儲存裝置

預設上,DM-Multipath 支援大部分支援 DM-Multipath 的儲存陣列。預設配置值,包括受支援的裝置,可在 multipath.conf.defaults 檔案中找到。
如果您需要新增預設上不支援的儲存裝置,使其成為 multipath 裝置的一員,請編輯 /etc/multipath.conf 檔案,加入適當的裝置資訊。
舉例來說,若要新增有關於 HP Open-V 系列裝置的相關資訊,此項目將會看似(%n 代表裝置名稱):
devices {
     device {
            vendor "HP"
            product "OPEN-V."
            getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
     }
}
欲取得更多配置檔案的 devices 一節的相關資訊,請參閱〈節 4.5, “配置檔案裝置”〉。