/usr/bin/find /sys/devices/pci* -xtype f -name port* /sys/devices/pci0000:00/0000:00:1f.2/ata1/ata_port/ata1/port_no = [1] /sys/devices/pci0000:00/0000:00:1f.2/ata6/ata_port/ata6/port_no = [6] /sys/devices/pci0000:00/0000:00:1f.2/ata4/ata_port/ata4/port_no = [4] /sys/devices/pci0000:00/0000:00:1f.2/ata2/ata_port/ata2/port_no = [2] /sys/devices/pci0000:00/0000:00:1f.2/ata5/ata_port/ata5/port_no = [5] /sys/devices/pci0000:00/0000:00:1f.2/ata3/ata_port/ata3/port_no = [3] Controller [0000:00:14.0] flagged as a USB controller Controller [0000:01:00.0] Array [1] not assigned, assigned to port [1] Controller [0000:00:1f.2] Array [1] already assigned to port [1] Controller [0000:00:1f.2] Array [2] already assigned to port [2] Controller [0000:00:1f.2] Array [3] already assigned to port [4] Controller [0000:00:1f.2] Array [4] already assigned to port [5] Controller [0000:00:1f.2] Array [5] already assigned to port [6] Processing Key [0000:01:00.0] - TotalPorts: [0] Ports Count: [1] USB: [0] TotalPorts less than port array count, adjusted Creating empty drive array with [1] ports Moving row [1] to row [1] New drive port array assigned with [1] ports Processing Key [0000:00:1f.2] - TotalPorts: [6] Ports Count: [5] USB: [0] Creating empty drive array with [6] ports Moving row [1] to row [1] Moving row [2] to row [2] Moving row [3] to row [4] Moving row [4] to row [5] Moving row [5] to row [6] New drive port array assigned with [6] ports Processing Key [0000:00:14.0] - TotalPorts: [0] Ports Count: [1] USB: [1] TotalPorts less than port array count, adjusted /sys/devices/pci0000:00/0000:00:1f.2/ata8/ata_port/ata8/port_no = [4] /sys/devices/pci0000:00/0000:00:1f.2/ata6/ata_port/ata6/port_no = [2] /sys/devices/pci0000:00/0000:00:1f.2/ata9/ata_port/ata9/port_no = [5] /sys/devices/pci0000:00/0000:00:1f.2/ata7/ata_port/ata7/port_no = [3] /sys/devices/pci0000:00/0000:00:1f.2/ata5/ata_port/ata5/port_no = [1] /sys/devices/pci0000:00/0000:00:1f.2/ata10/ata_port/ata10/port_no = [6] /sys/devices/pci0000:00/0000:00:11.4/ata1/ata_port/ata1/port_no = [1] /sys/devices/pci0000:00/0000:00:11.4/ata4/ata_port/ata4/port_no = [4] /sys/devices/pci0000:00/0000:00:11.4/ata2/ata_port/ata2/port_no = [2] /sys/devices/pci0000:00/0000:00:11.4/ata3/ata_port/ata3/port_no = [3] Controller [0000:01:00.0] Array [1] not assigned, assigned to port [1] Controller [0000:00:1f.2] Array [1] already assigned to port [1] Controller [0000:00:1f.2] Array [2] already assigned to port [2] Controller [0000:00:1f.2] Array [3] already assigned to port [3] Controller [0000:00:1f.2] Array [4] already assigned to port [4] Controller [0000:00:1f.2] Array [5] already assigned to port [5] Controller [0000:00:1f.2] Array [6] already assigned to port [6] Controller [0000:00:11.4] Array [1] already assigned to port [3] Controller [0000:00:11.4] Array [2] already assigned to port [4] Processing Key [0000:01:00.0] - TotalPorts: [0] Ports Count: [1] USB: [0] TotalPorts less than port array count, adjusted Creating empty drive array with [1] ports Moving row [1] to row [1] New drive port array assigned with [1] ports Processing Key [0000:00:1f.2] - TotalPorts: [6] Ports Count: [6] USB: [0] Creating empty drive array with [6] ports Moving row [1] to row [1] Moving row [2] to row [2] Moving row [3] to row [3] Moving row [4] to row [4] Moving row [5] to row [5] Moving row [6] to row [6] New drive port array assigned with [6] ports Processing Key [0000:00:14.0] - TotalPorts: [0] Ports Count: [1] USB: [1] TotalPorts less than port array count, adjusted Processing Key [0000:00:11.4] - TotalPorts: [4] Ports Count: [2] USB: [0] Creating empty drive array with [4] ports Moving row [1] to row [3] Moving row [2] to row [4] New drive port array assigned with [4] ports /sys/devices/pci0000:00/0000:00:1f.2/ata8/ata_port/ata8/port_no = [4] /sys/devices/pci0000:00/0000:00:1f.2/ata6/ata_port/ata6/port_no = [2] /sys/devices/pci0000:00/0000:00:1f.2/ata9/ata_port/ata9/port_no = [5] /sys/devices/pci0000:00/0000:00:1f.2/ata7/ata_port/ata7/port_no = [3] /sys/devices/pci0000:00/0000:00:1f.2/ata5/ata_port/ata5/port_no = [1] /sys/devices/pci0000:00/0000:00:1f.2/ata10/ata_port/ata10/port_no = [6] /sys/devices/pci0000:00/0000:00:11.4/ata1/ata_port/ata1/port_no = [1] /sys/devices/pci0000:00/0000:00:11.4/ata4/ata_port/ata4/port_no = [4] /sys/devices/pci0000:00/0000:00:11.4/ata2/ata_port/ata2/port_no = [2] /sys/devices/pci0000:00/0000:00:11.4/ata3/ata_port/ata3/port_no = [3] Controller [0000:01:00.0] Array [1] not assigned, assigned to port [1] Controller [0000:00:1f.2] Array [1] already assigned to port [1] Controller [0000:00:1f.2] Array [2] already assigned to port [2] Controller [0000:00:1f.2] Array [3] already assigned to port [3] Controller [0000:00:1f.2] Array [4] already assigned to port [4] Controller [0000:00:1f.2] Array [5] already assigned to port [5] Controller [0000:00:1f.2] Array [6] already assigned to port [6] Controller [0000:00:11.4] Array [1] already assigned to port [3] Controller [0000:00:11.4] Array [2] already assigned to port [4] Processing Key [0000:01:00.0] - TotalPorts: [0] Ports Count: [1] USB: [0] TotalPorts less than port array count, adjusted Creating empty drive array with [1] ports Moving row [1] to row [1] New drive port array assigned with [1] ports Processing Key [0000:00:1f.2] - TotalPorts: [6] Ports Count: [6] USB: [0] Creating empty drive array with [6] ports Moving row [1] to row [1] Moving row [2] to row [2] Moving row [3] to row [3] Moving row [4] to row [4] Moving row [5] to row [5] Moving row [6] to row [6] New drive port array assigned with [6] ports Processing Key [0000:00:14.0] - TotalPorts: [0] Ports Count: [1] USB: [1] TotalPorts less than port array count, adjusted Processing Key [0000:00:11.4] - TotalPorts: [4] Ports Count: [2] USB: [0] Creating empty drive array with [4] ports Moving row [1] to row [3] Moving row [2] to row [4] New drive port array assigned with [4] ports