<div dir="ltr"><span style="font-size:12.8px">   I have a piece of hardware, a 16 bay storagetek  optically connected SAN to</span><br style="font-size:12.8px"><span style="font-size:12.8px">be specific, that returns empty string for Device id.</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">   I did the following patch to resolve the issue, it basically allows empty</span><br style="font-size:12.8px"><span style="font-size:12.8px">string for vendor and product, I couldn't find anywhere that had an issue with</span><br style="font-size:12.8px"><span style="font-size:12.8px">it..</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">diff --git a/libmultipath/discovery.c b/libmultipath/discovery.c</span><br style="font-size:12.8px"><span style="font-size:12.8px">index 663c8ea..92d0e49 100644</span><br style="font-size:12.8px"><span style="font-size:12.8px">--- a/libmultipath/discovery.c</span><br style="font-size:12.8px"><span style="font-size:12.8px">+++ b/libmultipath/discovery.c</span><br style="font-size:12.8px"><span style="font-size:12.8px">@@ -1149,12 +1149,12 @@ scsi_sysfs_pathinfo (struct path * pp, vector hwtable)</span><br style="font-size:12.8px"><span style="font-size:12.8px">        if (!attr_path || pp->sg_id.host_no == -1)</span><br style="font-size:12.8px"><span style="font-size:12.8px">                return 1;</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">-       if (sysfs_get_vendor(parent, pp->vendor_id, SCSI_VENDOR_SIZE) <= 0)</span><br style="font-size:12.8px"><span style="font-size:12.8px">+       if (sysfs_get_vendor(parent, pp->vendor_id, SCSI_VENDOR_SIZE) < 0)</span><br style="font-size:12.8px"><span style="font-size:12.8px">                return 1;</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">        condlog(3, "%s: vendor = %s", pp->dev, pp->vendor_id);</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">-       if (sysfs_get_model(parent, pp->product_id, SCSI_PRODUCT_SIZE) <= 0)</span><br style="font-size:12.8px"><span style="font-size:12.8px">+       if (sysfs_get_model(parent, pp->product_id, SCSI_PRODUCT_SIZE) < 0)</span><br style="font-size:12.8px"><span style="font-size:12.8px">                return 1;</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">        condlog(3, "%s: product = %s", pp->dev, pp->product_id);</span><br style="font-size:12.8px"></div>