We execute the multipath -ll output information as follows, and can not obtain the information about
the host's initiator and storage target that can be directly recognized , such as WWN. mpathe (360022a11000beb2a7fc8e9c500000001) dm-3 HUAWEI,S5500T size=512G features='1 retain_attached_hw_handler' hwhandler='0' wp=rw |-+- policy='service-time 0' prio=1 status=active | `- 6:0:0:1 sde 8:64 active ghost running `-+- policy='service-time 0' prio=1 status=enabled `- 7:0:0:1 sdd 8:48 active ready running mpathd (360022a11000beb2a7fca035a00000004) dm-2 HUAWEI,S5500T size=100M features='1 retain_attached_hw_handler' hwhandler='0' wp=rw |-+- policy='service-time 0' prio=1 status=active | `- 6:0:0:0 sdc 8:32 active ready running `-+- policy='service-time 0' prio=1 status=enabled `- 7:0:0:0 sdb 8:16 active ghost running We have a solution for the multipath path. Add a command to display the physical topology link information
from the host to the storage, and display the following information to quickly and easily find the host and initiator information on the storage. [root@redhat7 ~]# multipath -k link-6:0:0 host-WWNN=iqn.1994-05.com.redhat:86329aefccdb host-WWPN=[unknown] target-WWNN=iqn.2006-08.com.huawei:oceanstor:21000022a10beb2a::1020002:129.13.100.240
target-WWPN=[undef] link-7:0:0 host-WWNN=iqn.1994-05.com.redhat:86329aefccdb host-WWPN=[unknown] target-WWNN=iqn.2006-08.com.huawei:oceanstor:21000022a10beb2a::20003:129.13.100.241
target-WWPN=[undef] could you agree with this solution or have a better solution? I am looking forward to your reply.
Best wishes to you. |
-- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel