The order of the scsi_id for the mounted ATA disk is not correct, please see below.
The controller recognizes the disks correctly but it skips the scsi_id 8.
From the controller and from the operative system the information of the disks are the same.
1. scsi_id 1 is assigned for the disk that is inserted firstly. scsi_id 2 is assigned for the second disk, etc.
From the below logs, we can see after insert a disk to slot5(scsi id 7), we inserted a disk to slot24, whose scsi id is 8. And then insert a disk to slot7, whose scsi id is 9. But then the disk in slot 24 was removed. So it looks like that it skips the scsi_id 8.
2. We communicated with Broadcom. DID(scsi id) is used by LSI driver and FW. And Broadcom don’t provide the commands to use or modify the DID.
Besides, although we could modify the DID, when replace a disk, the value of DID will be changed too.
Broadcom don't provide the commands to use or modify the DID. Besides it is not necessary to modify DID because DID(scsi id) is just used by LSI driver and FW.