What does this openmediavault-update-smart-drivedb error indicate?

  • This is a new install of 1.9. Had an issues when upgrading where the boot loader broke so I installed everything fresh. I am new to this crontab and also the tool it references.


    etc/cron.weekly/openmediavault-update-smart-drivedb:
    Updating smartmontools drive database ...
    sed: couldn't write 46 items to stdout: Broken pipe
    cat: write error: Broken pipe
    /usr/share/smartmontools/drivedb.h updated from branches/RELEASE_5_41_DRIVEDB

  • hi!


    same problem here, also on 1.19.


    Code
    /etc/cron.weekly/openmediavault-update-smart-drivedb:
    Updating smartmontools drive database ...
    sed: Kann 46 Elemente nicht auf stdout schreiben: Datenübergabe unterbrochen (broken pipe)
    cat: Schreibfehler: Datenübergabe unterbrochen (broken pipe)
    /usr/share/smartmontools/drivedb.h updated from branches/RELEASE_5_41_DRIVEDB
  • I'm getting this same error emailed to me every week. It looks like an error in this line in /usr/sbin/update-smart-drivedb.

    Code
    if cat "$DEST" | sed 's|\$''Id''[^$]*\$|$''Id''$|' | cmp - "$DEST.new" >/dev/null; then


    It is downloading this file weekly. http://sourceforge.net/p/smart…B/smartmontools/drivedb.h . From what I can tell, the error doesn't cause any breaking changes and the file is always updated, even if it hasn't changed. The email message ends with '/usr/share/smartmontools/drivedb.h updated from branches/RELEASE_5_41_DRIVEDB' which is the message at the end of this file from

    Code
    echo "$DEST updated from $location"
  • I get the same mail every week, what baffles me is that I'm not able to reproduce the problem, every time I run the script manually or using run-parts

  • Hi all!


    Quote

    /etc/cron.weekly/openmediavault-update-smart-drivedb:
    Updating smartmontools drive database ...
    sed: couldn't write 89 items to stdout: Broken pipe
    cat: write error: Broken pipe
    /usr/share/smartmontools/drivedb.h updated from branches/RELEASE_5_41_DRIVEDB


    I too always get this message via Mail Notification. What is going wrong. Any ideas how to mend this?


    Thanks!
    Alex

  • Hmm, same message here:


    Code
    /etc/cron.weekly/openmediavault-update-smart-drivedb:
    Updating smartmontools 5.41 drive database ...
    sed: Kann 32 Elemente nicht auf stdout schreiben: Datenübergabe unterbrochen (broken pipe)
    cat: Schreibfehler: Datenübergabe unterbrochen (broken pipe)
    /usr/share/smartmontools/drivedb.h updated from branches/RELEASE_5_41_DRIVEDB


    This message is sent once a week, every saturday. I'm using OMV 2.2.1.

    HP ProLiant Microserver Gen8 G1610T / 8GB RAM / 2x6TB + 2x4TB

  • I fixed it with this:


    https://www.thomas-krenn.com/d…ve_Database_aktualisieren


    Durch Änderung der URL in /usr/sbin/update-smart-drivedb kann das Problem behoben werden:


    # ViewVC repository browser
    ## MANUALLY UPDATED: commented orginial URL and inserted URL from script of smartmontools v6.2 package.
    ## SRCEXPR='http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/$location/smartmontools/drivedb.h?revision=HEAD'
    SRCEXPR='http://sourceforge.net/p/smartmontools/code/HEAD/tree/$location/smartmontools/drivedb.h?format=raw'

Participate now!

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