PowerPath/Linux:デバイス名を「emcpowerX」に変更しようとすると「ERROR: can not use a target device that is in use」エラーが発生します。

Summary: PowerPath/Linux:デバイス名を「emcpowerX」に変更しようとすると「ERROR: can not use a target device that is in use」エラーが発生します。

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

擬似名「emcpowerX」に関連付けられている古いデバイスが削除され、新しいデバイス名「emcpowerY」(この場合はemcpowerb)を「emcpowerX」に変更しようとすると、「ERROR: can not use a target device that is in use」というエラーが表示されます。

Cause

このケースで問題と思われる点:

-- emcpowerXに関連付けられている古いデバイスが、最初にPowerPathレベルから削除されずにバックエンドから削除された。
-- PowerPathの古いインスタンスのクリーンアップを実行せずに、PowerPath v7.2のアンインストール後にv7.3がインストールされた。

疑似デバイスをリリースして再起動を複数回試行した後でも、emcpowerXエントリーがusedpseudos下にリストされます。

[root@xxxxx ~]# emcpadm getusedpseudos
PowerPath pseudo device names in use:
 
Pseudo Device Name      Major# Minor#
        emcpowerX         120      0
        emcpowerb         120     16
        emcpowerc         120     32

[root@xxxxxx ~]# emcpadm renamepseudo -s emcpowerb -t emcpowerX



Resolution

この場合、PowerPathデータベースを手動でクリーンアップすることで問題は解決します。また、必要に応じてデバイスの名前を変更できます。
 

1)すべてのI/Oが停止していて、アレイに対するすべてのファイル システムがアンマウントされていることを確認します。

2)PowerPathを停止します。

3)古い設定ファイルの/etc/emcp_devicesDB.datおよび/etc/emcp_devicesDB.idxを削除します。

4)/etc/emc/archiveディレクトリーを削除します。

5)PowerPathを起動します。

6)新しい設定を保存します(powermt save)。

メモ:このような問題を回避するには、まずPowerPathレベルからデバイスを削除した後で、デバイスをバックエンドから削除することをお勧めします。また、予期しない問題を回避するため、古いインストール インスタンスをクリーンアップすることをお勧めします。

Affected Products

PowerPath for Linux
Article Properties
Article Number: 000189392
Article Type: Solution
Last Modified: 27 Aug 2022
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.