https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246279
--- Comment #8 from Peter Eriksson <p...@lysator.liu.se> --- Created attachment 214328 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=214328&action=edit Patch to fix support for more than 48 drives in HBA mode The attached patch will fix a couple of bugs in the current ciss driver code where it incorrectly enumerates physical drives if the controller is in JBOD mode. There are two bugs/problems: 1. If you attach more physical drives to a controller than how many logical volumes the controller supports (yes, really - totally wrong logic here) the additional drives will not be available because the driver sets the max_target limit to the number of logical volumes, but the enumeration of hardware drives starts at 16. So for a controller that support say 64 logical volumes, only the first (64-16) drives will be detected. 2. The code also sets the initiator_id to same max logical volume number so any physical drive that happens to have the same target number will silently be skipped... The patch also enables a little more verbosity. This patch has been tested with HP H241 controllers in JBOD mode with 70 drives connected to a HP D6020 external SAS enclosure on FreeBSD 12.1-RELEASE-p3. This patch has not been tested with controllers in "RAID" mode but the patch should be compatible... -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"