linux7上powerpath卸载

umount挂接点后,直接卸载powerpath告警

[root@hydb2 ~]# rpm -qa |grep EMCpower
EMCpower.LINUX-6.3.0.01.00-001.ol7.x86_64
[root@hydb2 ~]# rpm -e EMCpower.LINUX-6.3.0.01.00
Unable to remove devices from the PowerPath configuration
Please make sure no PowerPath devices are in use, and then retry
error: %preun(EMCpower.LINUX-6.3.0.01.00-001.ol7.x86_64) scriptlet failed, exit status 1
error: EMCpower.LINUX-6.3.0.01.00-001.ol7.x86_64: erase failed

reboot重启主机后再次卸载正常

[root@hydb2 ~]# rpm -e EMCpower.LINUX-6.3.0.01.00
depmod: ERROR: fstatat(4, oracleacfs.ko): No such file or directory
depmod: ERROR: fstatat(4, oracleadvm.ko): No such file or directory
depmod: ERROR: fstatat(4, oracleoks.ko): No such file or directory
depmod: ERROR: fstatat(4, oracleacfs.ko): No such file or directory
depmod: ERROR: fstatat(4, oracleadvm.ko): No such file or directory
depmod: ERROR: fstatat(4, oracleoks.ko): No such file or directory
 

常用命令

查看IO状态  # powermt display every=5

查看链路  # powermt display paths

查看聚合的磁盘 # powermt display dev=all

查看emc powerpath的license  # emcpreg -list 

你可能感兴趣的:(Linux,linux,运维,服务器)