Hi,
I've recently built a system with a LSI SAS 9201-16i (LSISAS2116 chipset). Today I replaced two of the drives and I see something I didn't expect. From the LSI setup screen (prior to booting the OS) I see all the drives numbered from 0 upwards as they are physically connected to the server. However from within FreeBSD from camcontrol the two new drives which are replacements for the drives in slot 0 and 1 show as being targets 12 and 13 (there are 12 disks in total)
As can be seen this results in the device names for the disks in slot 0 and 1 being da10 and da11 rather than da0 and da1 as I would expect. I could start using device.hints to remap these but it seems to me every time a disk is replaced its target will change which would require messing with device.hints again.
I'd really rather the target, and therefore the disk device number, was representative of how the disks are physically connected. Does anyone know why I have this issue and what the cause is?
Thanks in advance! Andy.
I've recently built a system with a LSI SAS 9201-16i (LSISAS2116 chipset). Today I replaced two of the drives and I see something I didn't expect. From the LSI setup screen (prior to booting the OS) I see all the drives numbered from 0 upwards as they are physically connected to the server. However from within FreeBSD from camcontrol the two new drives which are replacements for the drives in slot 0 and 1 show as being targets 12 and 13 (there are 12 disks in total)
Code:
# camcontrol devlist -v
scbus0 on mps0 bus 0:
<ATA WDC WD30EZRX-00A 0A80> at scbus0 target 2 lun 0 (pass0,da0)
<ATA WDC WD30EZRX-00D 0A80> at scbus0 target 3 lun 0 (pass1,da1)
<ATA WDC WD30EZRX-00D 0A80> at scbus0 target 4 lun 0 (pass2,da2)
<ATA WDC WD30EZRX-00A 0A80> at scbus0 target 5 lun 0 (pass3,da3)
<ATA WDC WD30EZRX-00A 0A80> at scbus0 target 6 lun 0 (pass4,da4)
<ATA WDC WD30EZRX-00A 0A80> at scbus0 target 7 lun 0 (pass5,da5)
<ATA WDC WD30EZRX-00A 0A80> at scbus0 target 8 lun 0 (pass6,da6)
<ATA WDC WD30EZRX-00D 0A80> at scbus0 target 9 lun 0 (pass7,da7)
<ATA WDC WD30EZRX-00A 0A80> at scbus0 target 10 lun 0 (pass8,da8)
<ATA WDC WD30EZRX-00A 0A80> at scbus0 target 11 lun 0 (pass9,da9)
<ATA ST3160318AS CC38> at scbus0 target 12 lun 0 (pass10,da10)
<ATA ST3160318AS CC38> at scbus0 target 13 lun 0 (pass11,da11)
As can be seen this results in the device names for the disks in slot 0 and 1 being da10 and da11 rather than da0 and da1 as I would expect. I could start using device.hints to remap these but it seems to me every time a disk is replaced its target will change which would require messing with device.hints again.
I'd really rather the target, and therefore the disk device number, was representative of how the disks are physically connected. Does anyone know why I have this issue and what the cause is?
Thanks in advance! Andy.