Hello,
i have problems with the hard drive errors and sata ports being disabled aka satamapping problem
the synology webpage reports hard drives 1,2,3,6 broken and disabled, i dont know why its 4 drives since there are only 2 hdds (2x8TB) and the usb inserted
Loader results:
sudo ./rploader.sh satamap now
HBA: 00:1f.2 Disks : 6
SataPortMap=6
DiskIdxMap=00
so for me it looks ok -> 6 ports on 1st controller and mapping with no offset
tc@box:~$ lsscsi -Hv
[0] ahci
dir: /sys/class/scsi_host//host0
device dir: /sys/devices/pci0000:00/0000:00:1f.2/ata1/host0
[1] ahci
dir: /sys/class/scsi_host//host1
device dir: /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1
[2] ahci
dir: /sys/class/scsi_host//host2
device dir: /sys/devices/pci0000:00/0000:00:1f.2/ata3/host2
[3] ahci
dir: /sys/class/scsi_host//host3
device dir: /sys/devices/pci0000:00/0000:00:1f.2/ata4/host3
[4] ahci
dir: /sys/class/scsi_host//host4
device dir: /sys/devices/pci0000:00/0000:00:1f.2/ata5/host4
[5] ahci
dir: /sys/class/scsi_host//host5
device dir: /sys/devices/pci0000:00/0000:00:1f.2/ata6/host5
[6] usb-storage
dir: /sys/class/scsi_host//host6
device dir: /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0/host6
but i see the hdds are connected to sata port 3+4 on mainboard (error -> hdd 1,2,3,6 broken)
tc@box:~$ ls -ldtr /sys/class/scsi_host/host*/device/port*
ls: cannot access '/sys/class/scsi_host/host*/device/port*': No such file or directory
tc@box:~$ ls -ldtr /sys/class/scsi_host/host*/device/target*
drwxr-xr-x 4 root root 0 Mar 28 08:22 /sys/class/scsi_host/host4/device/target4:0:0/
drwxr-xr-x 4 root root 0 Mar 28 08:22 /sys/class/scsi_host/host3/device/target3:0:0/
drwxr-xr-x 4 root root 0 Mar 28 08:22 /sys/class/scsi_host/host6/device/target6:0:0/
tc@box:~$ ls -ldtr /sys/class/scsi_host/host*/device/phy*
ls: cannot access '/sys/class/scsi_host/host*/device/phy*': No such file or directory
when i change hdds to sata port 0+1 (without changing config) i get error on hdd 3,4,5,6
DiskStation> ls -ldtr /sys/class/scsi_host/host*/device/target*
drwxr-xr-x 4 root root 0 Jan 1 00:07 /sys/class/scsi_host/host6/device/target6:0:0
drwxr-xr-x 4 root root 0 Mar 28 2022 /sys/class/scsi_host/host1/device/target1:0:0
drwxr-xr-x 4 root root 0 Mar 28 2022 /sys/class/scsi_host/host0/device/target0:0:0
is it normal start it starts with index 6 and then counts down to 0 of the targets?
does someone have some hints for me with the setting of SataPortMap and DiskIdxMap?
some additional info outputs if maybe needed:
here fdisk -l with skipped /dev/ram0-7 and /dev/loop0-51
tc@box:~$ fdisk -l
Disk /dev/sda: 7.28 TiB, 8001563222016 bytes, 15628053168 sectors
Disk model: TOSHIBA HDWG480
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: xxx
Device Start End Sectors Size Type
/dev/sda1 2048 15628052479 15628050432 7.3T Microsoft basic data
Disk /dev/sdb: 7.28 TiB, 8001563222016 bytes, 15628053168 sectors
Disk model: TOSHIBA HDWG480
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: xxx
Device Start End Sectors Size Type
/dev/sdb1 2048 15628052479 15628050432 7.3T Microsoft basic data
Disk /dev/sdc: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Disk model: Flash Disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: xxx
Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 2048 100351 98304 48M 83 Linux
/dev/sdc2 100352 253951 153600 75M 83 Linux
/dev/sdc3 253952 2097151 1843200 900M 83 Linux
tc@box:~$ lspci -nnqk
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
Subsystem: Fujitsu Technology Solutions Device [1734:11e7]
Kernel driver in use: hsw_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
Subsystem: Fujitsu Technology Solutions Device [1734:11e7]
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
Subsystem: Fujitsu Technology Solutions Device [1734:11e7]
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 04)
Subsystem: Fujitsu Technology Solutions Device [1734:11ea]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
Subsystem: Fujitsu Technology Solutions Device [1734:11ea]
Kernel driver in use: mei_me
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-LM [8086:153a] (rev 04)
Subsystem: Fujitsu Technology Solutions Device [1734:11ed]
Kernel driver in use: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 04)
Subsystem: Fujitsu Technology Solutions Device [1734:11ea]
Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
Subsystem: Fujitsu Technology Solutions Device [1734:11eb]
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d4)
Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 [8086:8c12] (rev d4)
Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 04)
Subsystem: Fujitsu Technology Solutions Device [1734:11ea]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation Q87 Express LPC Controller [8086:8c4e] (rev 04)
Subsystem: Fujitsu Technology Solutions Device [1734:11ea]
Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] [8086:8c02] (rev 04)
Subsystem: Fujitsu Technology Solutions Device [1734:11ea]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 04)
Subsystem: Fujitsu Technology Solutions Device [1734:11ea]
00:1f.6 Signal processing controller [1180]: Intel Corporation 8 Series Chipset Family Thermal Management Controller [8086:8c24] (rev 04)
Subsystem: Fujitsu Technology Solutions Device [1734:11ea]
Kernel driver in use: intel_pch_thermal
02:00.0 PCI bridge [0604]: Integrated Device Technology, Inc. [IDT] PES3T3 PCI Express Switch [111d:8039] (rev 0e)
Kernel driver in use: pcieport
03:02.0 PCI bridge [0604]: Integrated Device Technology, Inc. [IDT] PES3T3 PCI Express Switch [111d:8039] (rev 0e)
Kernel driver in use: pcieport
03:03.0 PCI bridge [0604]: Integrated Device Technology, Inc. [IDT] PES3T3 PCI Express Switch [111d:8039] (rev 0e)
Kernel driver in use: pcieport
04:00.0 FireWire (IEEE 1394) [0c00]: LSI Corporation FW643 [TrueFire] PCIe 1394b Controller [11c1:5901] (rev 08)
Subsystem: IOI Technology Corp FWB-PCIE1X2x [1546:0643]
05:00.0 FireWire (IEEE 1394) [0c00]: LSI Corporation FW643 [TrueFire] PCIe 1394b Controller [11c1:5901] (rev 08)
Subsystem: IOI Technology Corp FWB-PCIE1X2x [1546:0643]