PowerPath:powermt remove 在 Linux 上报告“设备正忙”
Summary: 在 Linux 上,无法删除 Powerpath 伪设备,因为 powermt remove 报告“设备正忙”
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
在 Linux 上,虽然后端 IO 路径仍处于活动状态(即 HBA 仍可以看到目标 LUN),但无法删除 Powerpath 伪设备,因为 powermt remove 报告“设备正忙”;已验证是否已从 LVM 或 Oracle ASM 等的管理中删除目标伪设备 重新启动主机也无法正常工作。
Cause
某些守护程序仍使伪设备和/或其本机路径保持打开状态。根据 PP 开发团队的说法,这就是 Powerpath 确定设备是否繁忙的方式:
PowerPath 只是跟踪从用户空间向下发送的打开,以确定是否有任何进程(或多个进程)正在使用设备,如果任何打开处于活动状态,则 PowerPath 将不允许从其控制中删除设备。 这包括在启动 PowerPath 之前设备上的打开次数。 但它不会跟踪打开设备的进程(如进程名称或进程 ID)。 因此,PowerPath 无法列出可能打开了设备的进程。
PowerPath 只是跟踪从用户空间向下发送的打开,以确定是否有任何进程(或多个进程)正在使用设备,如果任何打开处于活动状态,则 PowerPath 将不允许从其控制中删除设备。 这包括在启动 PowerPath 之前设备上的打开次数。 但它不会跟踪打开设备的进程(如进程名称或进程 ID)。 因此,PowerPath 无法列出可能打开了设备的进程。
Resolution
powermt unmanage dev=[target pseudo device],然后主机重新启动,可能能够根据需要从 PP 管理中删除目标设备。
Affected Products
PowerPath for LinuxProducts
PowerPath for LinuxArticle Properties
Article Number: 000057138
Article Type: Solution
Last Modified: 17 Oct 2025
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.