Closed Qs315490 closed 2 months ago
修改了项目中的代码,貌似没有效果
command.smartctl .. "-d sat -H -A -i -n standby -f brief /dev/"
终端直接输入的返回
root@OpenWrt_PVE:~> smartctl -H /dev/sda # 原生sata
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.146] (localbuild)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
root@OpenWrt_PVE:~> smartctl -H /dev/sdb # 硬盘柜
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.146] (localbuild)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/sdb: Unknown USB bridge [0x0480:0xa006 (0x100)]
Please specify device type with the -d option.
Use smartctl -h to get a usage summary
貌似我这个
铁威马D4 300
需要加额外的参数才能识别 这是openwrt里的截图 这是终端返回