I'm struggling to extract the SMART values of my HDD inside the TerraMaster D2-320. The OS is Ubuntu Server 24. The DAS is connected via USB 3.0, and the UASP protocol is recognized by Ubuntu (Class=Mass Storage, Driver=uas, 10000M).
My goal is to periodically extract SMART values and visualize them in Grafana. For this, smartctl needs to be able to access the values using node_exporter. Unfortunately, the HDD isn't recognized:
Code: Select all
sudo smartctl -d test /dev/sdaAdressing smartctl using "sudo smartctl -a -d sat /dev/sda" gives me access to the values, but the parameter -d sat cannot be used in the script, as it seems./dev/sda: Unknown USB bridge [0x5432:0x1352 (0x100)]
Please specify device type with the -d option.
Has anyone already managed to achieve SMART extraction using the D2-320?
The following script should be used for extracting the values:
https://github.com/olegeech-me/S.M.A.R. ... martmon.sh
Thank you in advance,
Sebastian
