I have one D8 Hybrid DAS updated with the latest firmware from viewtopic.php?t=6748 and I am using TrueNAS as the OS.
The issue with NVMe disks reporting the same serial seems to be fixed and I am able to use them in storage pools. However now I have kind of the same issue with the SATA drive. I have two WDC WD80EZAZ-11TDBA0 and two ST6000VN0033-2EE110 conected to the SATA slots and although all of them seem to be reporting different serial numbers with hdparm:
Code: Select all
root@terramaster[~]# hdparm -I /dev/sdd
/dev/sdd:
ATA device, with non-removable media
Model Number: WDC WD80EZAZ-11TDBA0
Serial Number: XXXXX7HD
Firmware Revision: 83.H0A83
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0; Revision: ATA8-AST T13 Project D1697 Revision 0b
...
root@terramaster[~]# hdparm -I /dev/sde
/dev/sde:
ATA device, with non-removable media
Model Number: WDC WD80EZAZ-11TDBA0
Serial Number: XXXXXUSD
Firmware Revision: 83.H0A83
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0; Revision: ATA8-AST T13 Project D1697 Revision 0b
...
root@terramaster[~]# hdparm -I /dev/sdg
/dev/sdg:
ATA device, with non-removable media
Model Number: ST6000VN0033-2EE110
Serial Number: XXXXXXJG
Firmware Revision: SC60
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
root@terramaster[~]# hdparm -I /dev/sdh
/dev/sdh:
ATA device, with non-removable media
Model Number: ST6000VN0033-2EE110
Serial Number: XXXXXXDA
Firmware Revision: SC60
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
They cannot be added to a storage pool becasuse "Disks have duplicate serial numbers: 'A00022304202' (sdg, sdh)".
I was wondering where that A00022304202 serial number was coming from and it turns out that it comes from smartctl:
Code: Select all
root@terramaster[~]# smartctl -d scsi -x /dev/sdg
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.33-production+truenas] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: TerraMas
Product: TDAS
Revision: 0
Compliance: SPC-4
User Capacity: 6,001,175,126,016 bytes [6.00 TB]
Logical block size: 512 bytes
Physical block size: 4096 bytes
LU is fully provisioned
Rotation Rate: 7200 rpm
Form Factor: 2.5 inches
Logical Unit id: 0x5000000000000001
Serial number: A00022304202
....
root@terramaster[~]# smartctl -d scsi -x /dev/sdh
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.33-production+truenas] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: TerraMas
Product: TDAS
Revision: 0
Compliance: SPC-4
User Capacity: 6,001,175,126,016 bytes [6.00 TB]
Logical block size: 512 bytes
Physical block size: 4096 bytes
LU is fully provisioned
Rotation Rate: 7200 rpm
Form Factor: 2.5 inches
Logical Unit id: 0x5000000000000001
Serial number: A00022304202
...
Code: Select all
root@terramaster[~]# smartctl -x /dev/sdg
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.33-production+truenas] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/sdg: Unknown USB bridge [0x1352:0xa006 (0x100)]
Please specify device type with the -d option.
Use smartctl -h to get a usage summary
root@terramaster[~]# smartctl -x /dev/sdh
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.12.33-production+truenas] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/sdh: Unknown USB bridge [0x1352:0xa006 (0x100)]
Please specify device type with the -d option.
Use smartctl -h to get a usage summary
Code: Select all
root@terramaster[~]# smartctl --scan
/dev/sda -d scsi # /dev/sda, SCSI device
/dev/sdb -d scsi # /dev/sdb, SCSI device
/dev/sdc -d scsi # /dev/sdc, SCSI device
/dev/sdf -d scsi # /dev/sdf, SCSI device
/dev/sdi -d scsi # /dev/sdi, SCSI device
/dev/sdj -d scsi # /dev/sdj, SCSI device
/dev/sdk -d sntrealtek # /dev/sdk [USB NVMe Realtek], NVMe device
/dev/sdl -d sntrealtek # /dev/sdl [USB NVMe Realtek], NVMe device
/dev/sdm -d sntrealtek # /dev/sdm [USB NVMe Realtek], NVMe device
/dev/sdn -d sntrealtek # /dev/sdn [USB NVMe Realtek], NVMe device
/dev/nvme0 -d nvme # /dev/nvme0, NVMe device
/dev/nvme1 -d nvme # /dev/nvme1, NVMe device
Is this a known problem?, is there any way to fix or workaround it?
Thanks a lot for your help!


