From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.0.4-1.3.1 Firefox/1.0.4
Description of problem:
sginfo contains a hardcode list of devices [char *devices] on which it will report. In RHEL4/sg3_utils-1.06, this list contains only ~30 disks [sda-sdad], so 'sginfo -l' will report on only the first 30 disks.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. on a system with >30 disks, try 'sginfo -l'
Actual Results: sginfo will report on only the 1st 30 disks [sda-sdad].
Expected Results: sginfo should have reported on all scsi disks supported by the kernel/drivers.
upstream sg3_utils-1.15 has expanded the table to support ~78 disks [sda-sdbz], but still doesn't report on all attached disks supported by the genhd and scsi-generic drivers. A more reliable method [scan /dev/sd* and/or /sys/block/sd*] for discovering configured disks would seem appropriate. With the introduction of libsgutils [~sg3_utils-1.09], perhaps the device scan could be shared between all sg utilities that need to discover ALL configured scsi devices. See boog 161570.
Same question as for bug 161670: Has this bug been sent to the sg3_utils
upstream maintainers and is there a fix available from them?
Read ya, Phil
Has been fixed in sg3_utils-1.17 and newer. As we're currently shipping
sg3_utils-1.22 with RHEL-4.6 i think we can close this bug.
Read ya, Phil