Description of problem: If iSCSI devices are mapped to /dev/sd* entries greater than /dev/sdz, the device and mode page data is not displayed for these LUNs. This is really great info to have for all the LUNs. Version-Release number of selected component (if applicable): iscsi-initiator-utils-3.6.2-4 How reproducible: - every time Steps to Reproduce: 1. Map enough iSCSI LUNs on the host so that at least one LUN gets mapped above /dev/sdz 2. issue "iscsi-ls -l" command 3. Note the displayed info for LUNs > /dev/sdz differs for <= /dev/sdz Actual results: Limited "iscsi-ls -l" output for devices > /dev/sdz Expected results: All /dev/sd* entries should display, up to the limit of the iSCSI driver and/or kernel limits. Additional info: Found at least one part of the problem - in the below snippit of code (probably not hard to fix). _get_devs_from_proc() contains this comment/code: /* FIXME: If there are > 26 scsi devices, we won't get those that have 2 letters in their names */ if(!isalpha(name[0]) || strncmp(name, "sd", 2) || (strlen(name) > 3)){ memset(name, 0, sizeof(name)); curproc = tmpproc + 1; memset(proc_line, 0, sizeof(proc_line)); continue; }
*** This bug has been marked as a duplicate of 145141 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.