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

    • OMV 1.0
    • 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.

      Source Code

      1. /etc/cron.weekly/openmediavault-update-smart-drivedb:
      2. Updating smartmontools drive database ...
      3. sed: Kann 46 Elemente nicht auf stdout schreiben: Datenübergabe unterbrochen (broken pipe)
      4. cat: Schreibfehler: Datenübergabe unterbrochen (broken pipe)
      5. /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.

      Source Code

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


      It is downloading this file weekly. sourceforge.net/p/smartmontool…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

      Source Code

      1. echo "$DEST updated from $location"
    • Hi all!

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

      Source Code

      1. ​/etc/cron.weekly/openmediavault-update-smart-drivedb:
      2. Updating smartmontools 5.41 drive database ...
      3. sed: Kann 32 Elemente nicht auf stdout schreiben: Datenübergabe unterbrochen (broken pipe)
      4. cat: Schreibfehler: Datenübergabe unterbrochen (broken pipe)
      5. /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.
      openmediavault 2.2.10 / HP ProLiant Microserver Gen8 G1610T / 2GB RAM / 2x6TB + 2x4TB
    • I fixed it with this:

      thomas-krenn.com/de/wiki/Smart…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'