PowerPath 缺少 1 條裝置路徑

Summary: 雖然作業系統能夠正確探索裝置的所有路徑,但 PowerPath 仍然缺少一個路徑。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

設定 ASM 的裝置

環境:
作業系統:AIX (任何版本)
DELL 軟體:AIX
DELL 陣列的 PowerPath:任何
非 DELL 軟體:ASM

作業系統正在探索裝置的所有路徑,但 PowerPath 會設定除了 1 個之外的所有路徑。

HBA 之間的負載似乎不平衡,PowerPath 使用的 HBA 上有更多 I/O 遺失路徑。

例如,列舉到 Symmetrix 裝置 104 的所有路徑 (我們會對其他陣列類型使用類似的輸出)
(from inq)

/dev/rhdiskpower26  :EMC     :SYMMETRIX       :5978  :2500104000       :   262145280
/dev/rhdisk44       :EMC     :SYMMETRIX       :5978  :2500104000       :   262145280
/dev/rhdisk121      :EMC     :SYMMETRIX       :5978  :250<0104000       :   262145280
/dev/rhdisk198      :EMC     :SYMMETRIX       :5978  :2500104<000       :   262145280
/dev/rhdisk313      :EMC     :SYMMETRIX       :5978  :2500104000       :   262145280

檢查偽設備時,我們有:

# powermt display dev=26
Pseudo name=hdiskpower26
Symmetrix ID=000xxxxxxx25
Logical device ID=00104
Device WWN=60000970000xxxxxxx25533030313034
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host ---------------   - Stor -  -- I/O Path --   -- Stats ---
###  HW Path               I/O Paths    Interf.  Mode     State   Q-IOs Errors
==============================================================================
   1 fscsi1                 hdisk198   FA  6d:09 active   alive      0      0
   0 fscsi0                 hdisk121   FA  3d:04 active   alive      0      0
   0 fscsi0                 hdisk44    FA  4d:04 active   alive      0      0

我們缺少 hdisk313。

 

Cause

ASM 用於主機上且設定不正確。配置 ASM 設備時,其主要或次要設備應與代表偽設備的主要或次要設備匹配。

如果我們查看原始偽設備的主要或次要,我們會發現:

# ls -l -Ralsi /dev/rhdiskpower26
87478    0 crw-rw----    1 root     system       36, 26 Jul 26 11:11 rhdiskpower26

ASM 裝置應以主要 36 和次要 26 建立。換句話說,我們應該有:

# ls -Ralsi /dev/ASM_104
87518    0 crw-rw-r--    1 grid     oinstall     36, 26  Jul 26 11:13 ASM_104

在我們的案例中,我們發現:

# ls -Ralsi /dev/ASM_104
87518    0 crw-rw-r--    1 grid     oinstall     19,313 Jul 26 11:13 ASM_104

如果我們尋找這個主要,次要對,我們會發現:

# ls -Ralsi /dev | grep  19,313
87518    0 crw-rw-r--    1 grid     oinstall     19,313 Jul 26 11:13 ASM_104
87438    0 brw-------    1 root     system       19,313 Jul 26 11:11 hdisk313
87439    0 crw-------    1 root     system       19,313 Jul 26 11:11 rhdisk313

硬碟313 ...我們缺少的路徑

當 PowerPath 嘗試設定虛擬裝置時,必須開啟所有路徑。如果這些是 hdisk313,則打開失敗,因為設備由 ASM 持有。PowerPath 無法擷取它。因此,ASM 裝置僅使用一個路徑 (無負載平衡),不受 PowerPath 管理。如果路徑失敗,應用程式將崩潰(無故障轉移)。這解釋了為什麼在處理此遺失路徑的 HBA 上,負載遠高於其他 HBA 上的負載 (在 fcstat fcsX 中可見)。

 

Resolution

解決方案包括正確建立 ASM 裝置。

# rm /dev/ASM_104
# mknod /dev/ASM_104 c 36 26     <<<<< the node is created in"raw" mode, with major 36 and minor 26, which are the major/minor of hdiskpower26.
# chown grid:oinstall /dev/ASM_104

 

Affected Products

PowerPath for AIX

Products

PowerPath for AIX
Article Properties
Article Number: 000058949
Article Type: Solution
Last Modified: 28 May 2026
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.