Unable to remove Powerpath when VERITAS VxVM is installed and configured.
book
Article ID: 100020893
calendar_today
Updated On:
Description
Error Message
# rpm -e EMCpower.LINUX-5.1.0-194
Unable to remove devices from the PowerPath configuration
Please make sure no PowerPath devices are in use, and then retry
error: %preun(EMCpower.LINUX-5.1.0-194.x86_64) scriptlet failed, exit status 1
Resolution
Remove all EMC devices from VxVM database.
Prior to running procedure below ensure no volumes being used by the emcpower devices are open.
Example,
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
emcpowera auto:cdsdisk - - online
emcpowerb auto:cdsdisk - - online
emcpowerc auto:cdsdisk - - online
emcpowerd auto:cdsdisk - - online
emcpowere auto:cdsdisk - - online
emcpowerf auto:cdsdisk - - online shared
emcpowerg auto:cdsdisk - - online shared
emcpowerh auto:cdsdisk - - online
emcpoweri auto:cdsdisk - - online
emcpowerj auto:cdsdisk - - online
emcpowerk auto:cdsdisk - - online
emcpowerl auto:cdsdisk - - online
emcpowerm auto:cdsdisk - - online
emcpowern auto:cdsdisk - - online
emcpowero auto:cdsdisk - - online
emcpowerp auto:cdsdisk - - online
emcpowerq auto:cdsdisk - - online
sdr auto:none - - online invalid
sds auto:none - - online invalid
1. You can use the following command to remove the devices from VxVM database.
# vxdisk rm
example:
# vxdisk rm emcpowera
2. You can also script it as follows. The command will remove all devices with names emcpower from the VxVM database.
# for i in `vxdisk list |grep emcpower |awk '{print $1}'`;do vxdisk rm $i;done
example output after running command above.
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
sdr auto:none - - onlineinvalid
sds auto:none - - onlineinvalid
3. Once devices have been removed from VxVM database you canremove powerpath.
rpm -e EMCpower.LINUX-5.1.0-194
Issue/Introduction
Unable to remove Powerpath when VERITAS VxVM is installed and configured.
Was this article helpful?
thumb_up
Yes
thumb_down
No