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 配置设备
Environment:
OS:AIX(任何版本)
戴尔软件:PowerPath for AIX
戴尔阵列:任何
非戴尔软件:ASM
操作系统正在发现设备的所有路径,但 PowerPath 正在配置除 1 条之外的所有路径。
HBA 之间的负载似乎不平衡,缺少路径的 PowerPath 使用的 HBA 上的 I/O 更多。
例如,枚举 Symmetrix 设备 104 的所有路径(我们将对其他阵列类型使用类似的输出)(
来自 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
hdisk313 ...我们迷失的道路
当 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 AIXProducts
PowerPath for AIXArticle 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.