Open weust1979 opened 3 years ago
Just checked the perl script, and that one does report the Device Model, but also shows other info a bit different:
=== Drives ===
da0: 31C [ 12.0 TB HDD] Z8B0A03KFP8G TOSHIBA HDWG21C
da1: 32C [ 12.0 TB HDD] Z8A0A0N1FP8G TOSHIBA HDWG21C
da2: 31C [ 12.0 TB HDD] Z8A0A0N8FP8G TOSHIBA HDWG21C
da3: 32C [ 12.0 TB HDD] Z8B0A032FP8G TOSHIBA HDWG21C
da4: 33C [ 12.0 TB HDD] Z8B0A03VFP8G TOSHIBA HDWG21C
da5: 32C [ 12.0 TB HDD] Z8A0A0MBFP8G TOSHIBA HDWG21C
da6: 38C [ 1.92 TB SSD] 18171D3C4771 Micron_5200_MTFDDAK1T9TDN (Micron 5100 Pro / 52x0 / 5300 SSDs)
da7: 35C [ 1.92 TB SSD] 18171D3C4AD0 Micron_5200_MTFDDAK1T9TDN (Micron 5100 Pro / 52x0 / 5300 SSDs)
ada0: 36C [ 250 GB SSD] S413NX0M707065K Samsung SSD 860 EVO M.2 250GB (Samsung based SSDs)
ada1: 35C [ 250 GB SSD] S413NX0M707143Y Samsung SSD 860 EVO M.2 250GB (Samsung based SSDs)
In my server, not FreeNAS bit running plain FreeBSD 13.0, I have a mix of Samsung, Micron and Toshiba SATA drives. The Samsung and Micron drives are shown with their Device Model and Model Family in the output, but the Toshiba drives not at all. But when I run the command manually it shows the output just fine.
This is the script output for the drives:
This is the line run manually. There is no Model Family present for this drive:
This is a full output of the -i command:
I also have two NVME drives which are completely ignored in the output it seems.
If I can add anything to help fix this, please let me know.