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

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

Este artículo se aplica a Este artículo no se aplica a Este artículo no está vinculado a ningún producto específico. No se identifican todas las versiones del producto en este artículo.

Síntomas

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

Causa

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

-- 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



Resolución

この場合、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レベルからデバイスを削除した後で、デバイスをバックエンドから削除することをお勧めします。また、予期しない問題を回避するため、古いインストール インスタンスをクリーンアップすることをお勧めします。

Productos afectados

PowerPath for Linux
Propiedades del artículo
Número del artículo: 000189392
Tipo de artículo: Solution
Última modificación: 27 ago 2022
Versión:  5
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.