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 인스턴스를 정리하지 않고 v7.2를 제거한 후 PowerPath 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.