I’m running Jellyfin on a Debian-server in my home, and I have the associated media folders set up as samba shares so that I can transfer any new media from my laptop to the server through Dolphin (KDE file manager).

This has for the most part worked very well (except slow speeds), but I’ve had an issue recently where the files are not copied over properly. This resulted in glitches in for example music files that would stop playback. I checked the checksums of some of these files, and they were different from source. Seems like the glitchy files are missing some data, but at no point were I notified about this. It works fine after I removed the files and transferred again, and now the checksums match.

Is this a common issue with samba, or could it be a sign that my HDD is acting up?

  • magikmw@lemm.ee
    link
    fedilink
    arrow-up
    4
    ·
    2 months ago

    I don’t know if samba has any error checking built in, so it may be even down to wonky network.

    I would try doing a copy using rsync or ssh (sftp - you can use dolphin for that too), and see if that helps.

    • gerdesj@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      rsync was written by one of the original Samba developers. I wonder if Tridge and co have any idea about how to shuffle data from A to B safely?

      CIFS/SMB will only indicate received and not received and written. This is unlikely to be an issue.

      I would start by proving that my network works properly, especially that dodgy cable with only wires 1,2,3,7 connected - because that’s all 100Mb/s needs, or the solid core cable that runs for 150m with plugs at each end instead of sockets and drop leads.