SMB won't start, linked to BTRFS error?

    • Resolved
    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • SMB won't start, linked to BTRFS error?

      Hello all,

      My Odroid HC2 has been working fine, but recently the SMB service won't start.

      I tried to restart the service, no dice. This was the result from sudo journalctl -xe


      Source Code

      1. -- Unit smbd.service has begun starting up.
      2. May 11 23:58:23 odroidhc2 smbd[4154]: /usr/sbin/smbd: error while loading shared libraries: /usr/lib/arm-linux-gnueabihf/libldap_r-2.4.so.2: cannot read file data: Inpu
      3. May 11 23:58:23 odroidhc2 kernel: BTRFS warning (device mmcblk1p2): csum failed root 5 ino 72834 off 1167896576 csum 0xe36288ed expected csum 0x23718ab7 mirror 1
      4. May 11 23:58:23 odroidhc2 systemd[1]: smbd.service: Main process exited, code=exited, status=127/n/a
      5. May 11 23:58:23 odroidhc2 systemd[1]: Failed to start Samba SMB Daemon.
      6. -- Subject: Unit smbd.service has failed
      Can anyone suggest how I go about fixing this?

      Thanks for your time.
      OMV 4 on Raspberry Pi 3, Odroid C2 and HC2, HP Proliant N36L and N54L
    • NothingNowhere wrote:

      BTRFS warning (device mmcblk1p2): csum failed root 5 ino 72834 off 1167896576 csum 0xe36288ed expected csum 0x23718ab7 mirror 1
      This is data corruption on your rootfs resulting in a corrupted library. Most probably the sign of a dying SD card.

      You can try to workaround this by reinstalling the affected package. But I would check first whether other files are affected as well. Do an armbianmonitor -v as root for a package verification check. If a lot of files are affected you need a backup of your installation or need to start over from scratch.