Syslog includes "engined" errors for USB boot drive despite not activated in GUI settings (OMV7)

  • 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:


    SMART.png


    2. Rebooted the OMV7 server, the following syslog entries are found:

    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.

    OpenMediaVault 7.7.7-1 • Intel NUC NUC6CAYH • Intel Celeron J3455 • 2x4GB RAM • Samsung 870 QVO 4TB • USB Boot (System)

    Edited once, last by Konsti ().

    • Official Post

    Try this:


  • Thank you both for your kind help.


    It's a shame I could not find that thread earlier  votdev, I would have saved you guys the trouble...


    I created the file and restarted the daemons, don't have a trace of that error so far (i.e. for the bootable USB stick that doesn't support SMART obviously):

    Code
    % nano /etc/smart_drivedb.h
    
    { "USB: Samsung FIT Flash Drive; ",
      "0x090c:0x1000",
      "", // 0x1100
      "",
      "-d sat"
    },
    
    % systemctl restart smartmontools.service && systemctl restart smartd.service

    Thanks to both, I will report if any related issue arises.


    Reference for others: smartmontools entry in the database (examples for the format above).

    The smartmontools project has a FAQ how to create this local database.

    OpenMediaVault 7.7.7-1 • Intel NUC NUC6CAYH • Intel Celeron J3455 • 2x4GB RAM • Samsung 870 QVO 4TB • USB Boot (System)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!