WWNs (WWIDs) are useful information for debugging setups where multipath is not (correctly) set up, as the WWN reveals which block devices point to the same LUN. The report currently does not provide WWNs in such scenarios. There is a symlink for the WWN under /dev/disk/by-id/wwn-*, but if there are multiple block devices with the same WWN, the symlink just points to one of them.
Hence, add the WWN column to the lsblk output. Signed-off-by: Friedrich Weber <f.we...@proxmox.com> --- PVE/Report.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Report.pm b/PVE/Report.pm index 1ed91c8e..8f53823e 100644 --- a/PVE/Report.pm +++ b/PVE/Report.pm @@ -117,7 +117,7 @@ my $init_report_cmds = sub { 'block devices' => { order => 80, cmds => [ - 'lsblk --ascii -M -o +HOTPLUG,ROTA,PHY-SEC,FSTYPE,MODEL,TRAN', + 'lsblk --ascii -M -o +HOTPLUG,ROTA,PHY-SEC,FSTYPE,MODEL,TRAN,WWN', 'ls -l /dev/disk/by-*/', 'iscsiadm -m node', 'iscsiadm -m session', -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel