Re: [PATCH] add a cmd to display the topology links

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Guan,

On Tue, 2018-08-07 at 11:03 +0800, guanjunxiong 00401709 wrote:
> From: dingwenyi 00297106 <dingwenyi@xxxxxxxxxx>
> 
> This patch adds a new parameter which named -k to display links
> information in the multipath command.
> Command 'multipath -k' display paths with the same host wwn and
> target wwn as one link information.
> The cmd display the following information to quickly and easily find
> the host and target information.
> [root@localhost mp]# ./multipath -k
> link host_wwnn=0x20000024ff2e8092 host_wwpn=0x21000024ff2e8092
> target_wwnn=0x2100333435363738 target_wwpn=0x2201333435363738
> link host_wwnn=0x20000024ff2e8092 host_wwpn=0x21000024ff2e8092
> target_wwnn=0x2100333435363738 target_wwpn=0x2211333435363738

Thanks for the patch. But I have to say I see little value in adding
this option to multipath. What's wrong with simply running 
"multipathd list paths format %N %R %n %r", or wrapping that command in
a simple shell script? Actually, this has nothing to do with multipath
at all, it's really transport-related information similar to 
"lsscsi -t" output.

Regards,
Martin

-- 
Dr. Martin Wilck <mwilck@xxxxxxxx>, Tel. +49 (0)911 74053 2107
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)


--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux