由于一些变化,我必须强制重新扫描 CentOS 6 服务器上的光纤通道设备。
这是输出multipath -l
:
(...)
36000144000000010f01c857894aede59 dm-50 EMC,Invista
size=5.0T features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=0 status=active
|- 7:0:3:107 sdca 68:224 active undef unknown
|- 4:0:3:107 sdbd 67:112 active undef unknown
|- 7:0:4:107 sdeb 128:48 active undef unknown
`- 4:0:7:107 sddg 70:224 active undef unknown
3600601602bd14600351eb55f237aa77d dm-5 DGC,VRAID
size=3.0T features='0' hwhandler='1 emc' wp=rw
|-+- policy='round-robin 0' prio=0 status=active
| |- 7:0:7:39 sdq 65:0 failed undef unknown
| `- 4:0:6:39 sdei 128:160 failed undef unknown
`-+- policy='round-robin 0' prio=0 status=enabled
|- 7:0:0:39 sdx 65:112 active undef unknown
`- 4:0:0:39 sdk 8:160 active undef unknown
36000144000000010f01c857894aedd26 dm-14 EMC,Invista
size=5.0T features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=0 status=active
|- 7:0:3:94 sdba 67:64 failed undef unknown
|- 4:0:3:94 sdad 65:208 failed undef unknown
|- 7:0:4:94 sddb 70:144 failed undef unknown
`- 4:0:7:94 sdcg 69:64 failed undef unknown
(...)
运行multipath -f dm-5
或multipath -w 3600601602bd14600351eb55f237aa77d
不会删除该条目,即使在运行multipath
或重新启动 multipathd 服务后也不会删除。
这些条目不存在于/etc/multipath.conf
。
如何删除失败的条目?