[aa@hAP_be3] > /disk/smart-info usb1
Columns: OUTPUT
OUTPUT
smartctl 7.1 2019-12-30 r5022 [aarch64-linux-5.6.3] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/sda: Unknown USB bridge [0x0bda:0x9210 (0x221d)]
Please specify device type with the -d option.
Use smartctl -h to get a usage summary
The disk is connected in usb-c as external with RTL9210
(info from the net
Support for Realtek RTL9210 / RTL9210B chips (switch -d sntrealtek) was added in smartmontools in version 7.2 and has not yet been implemented in RouterOS. Even the latest RouterOS branches (including 7.23 to 7.26) have not updated this tool and still contain the original smartctl 7.1 build from 2019)
ROS 7.23.5
The solution?
Try the different available device types with the -d option as hinted at by the error message. For supported devices and matching options see:
https://www.smartmontools.org/wiki/USB
If none works, your USB bridge does not support querying SMART data. That is quite common.
There is no such argument exposed to /disk/smart-info.
You must understand, /disk/smart-info is a wrapper for smartctl.
Install smartctl in a container, possibly?
Maybe I should give containers in ROS a try. I don't use USB media but getting smartmontools and the Scrutiny collector for the internal devices to work would be great.
Yes, the container...it just doesn't bother me, it's a problem to change in the new ROS version smartctl.
after installing the alpine container, it cannot be started, because I have tmp set on this disk, and starting apline takes control of the entire disk and thus alpine does not find tmp, only install alpine in the internal memory, which is not what I mean, I hope I expressed myself well in layman's terms