Hello macom votdev and everyone, I am back to this topic for your insight (in a new OMV7 thread) following my upgrade to OMV7 (latest 7.4.10-1) as I tried again to follow your advice in the similar thread we had exchanged some time ago, and would like to report that despite not having the USB boot disk enabled in SMART checks (i.e. in OMV GUI) I still get syslog "errors".
1. I have checked in OMV GUI to be sure it was disabled. I even enabled it, saved, disabled it, saved, just to be sure. The SATA drive is /dev/sda and the USB boot drive is /dev/sdb while the external data enclosure is at /dev/sdc as you can see:
2. Rebooted the OMV7 server, the following syslog entries are found:
2024-11-02T13:33:59.638238+02:00 nuc-nas omv-engined[8218]: Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
2024-11-02T13:33:59.638506+02:00 nuc-nas omv-engined[8218]:
2024-11-02T13:33:59.638700+02:00 nuc-nas omv-engined[8218]: /dev/sdb: Unknown USB bridge [0x090c:0x1000 (0x1100)]
2024-11-02T13:33:59.638866+02:00 nuc-nas omv-engined[8218]: Please specify device type with the -d option.
2024-11-02T13:33:59.639029+02:00 nuc-nas omv-engined[8218]:
2024-11-02T13:33:59.639215+02:00 nuc-nas omv-engined[8218]: Use smartctl -h to get a usage summary
2024-11-02T13:33:59.639312+02:00 nuc-nas omv-engined[8218]:
2024-11-02T13:33:59.639375+02:00 nuc-nas omv-engined[8218]: (file=/usr/share/php/openmediavault/system/storage/smartinformation.inc, line=170)
2024-11-02T13:34:03.319683+02:00 nuc-nas omv-engined[8280]: Failed to fetch SMART information: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; smartctl --attributes --format=brief --info --health --log=selftest --nocheck='standby' /dev/sdb 2>&1' with exit code '1': smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-26-amd64] (local build)
2024-11-02T13:34:03.319869+02:00 nuc-nas omv-engined[8280]: Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
2024-11-02T13:34:03.319963+02:00 nuc-nas omv-engined[8280]:
2024-11-02T13:34:03.320098+02:00 nuc-nas omv-engined[8280]: /dev/sdb: Unknown USB bridge [0x090c:0x1000 (0x1100)]
2024-11-02T13:34:03.320174+02:00 nuc-nas omv-engined[8280]: Please specify device type with the -d option.
2024-11-02T13:34:03.320234+02:00 nuc-nas omv-engined[8280]:
2024-11-02T13:34:03.320300+02:00 nuc-nas omv-engined[8280]: Use smartctl -h to get a usage summary
2024-11-02T13:34:03.320364+02:00 nuc-nas omv-engined[8280]:
2024-11-02T13:34:03.361114+02:00 nuc-nas omv-engined[8281]: Failed to fetch SMART information: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; smartctl --attributes --format=brief --info --health --log=selftest --nocheck='standby' /dev/sdb 2>&1' with exit code '1': smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-26-amd64] (local build)
2024-11-02T13:34:03.361261+02:00 nuc-nas omv-engined[8281]: Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
2024-11-02T13:34:03.361338+02:00 nuc-nas omv-engined[8281]:
2024-11-02T13:34:03.361403+02:00 nuc-nas omv-engined[8281]: /dev/sdb: Unknown USB bridge [0x090c:0x1000 (0x1100)]
2024-11-02T13:34:03.361464+02:00 nuc-nas omv-engined[8281]: Please specify device type with the -d option.
2024-11-02T13:34:03.361527+02:00 nuc-nas omv-engined[8281]:
2024-11-02T13:34:03.361588+02:00 nuc-nas omv-engined[8281]: Use smartctl -h to get a usage summary
2024-11-02T13:34:03.361647+02:00 nuc-nas omv-engined[8281]:
2024-11-02T13:44:45.194710+02:00 nuc-nas omv-engined[8749]: Executing async process failed: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; smartctl --attributes --format=brief --info --health --log=selftest /dev/sdb 2>&1' with exit code '1': smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.0-26-amd64] (local build)
Display More
Not sure what this reference to line 170 in file /usr/share/php/openmediavault/system/storage/smartinformation.inc is exactly...
The file /etc/smartd.conf does not include the boot USB flash drive; only the two Samsung SATA drives, as expected.
3. I made sure that my past experimentation for a solution is not there, namely, no file usb-storage-quirks.conf in directory /etc/modprobe.d/ as this never worked.
Perhaps the OMV code is not taking into consideration the fact that this USB flash disk drive is NOT enabled for checks? Is this error in syslog coming from the OMV GUI setting or some other place? I tried to debug the issue but can't go further without some guidance, when someone has a little time to study it.
Thank you in advance.