this post was submitted on 10 Nov 2024
31 points (100.0% liked)

Linux

48186 readers
1898 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] cyberwolfie@lemmy.ml 2 points 6 days ago (3 children)

Thanks! Glad to know rsync includes check after transfer, as I've just recently used it to backup everything on these drives to another hard drive that will not always be spinning. But I did not consider using it to transfer new media onto these hard drives.

I'll try to use it to resync the files that were acting up.

[–] Bldck@beehaw.org 1 points 6 days ago (2 children)

Depending on your file structure, you could probably keep this running all the time so you don’t have to manually intervene in the future

[–] cyberwolfie@lemmy.ml 1 points 6 days ago (1 children)

How would I achieve that? With cron?

[–] Bldck@beehaw.org 2 points 6 days ago
  1. Open a screen
  2. Start an rsync job to maintain parity between source and destination
  3. Exit the screen, but keep it running
  4. Now rsync will be running in the background until you kill it

You can reattach the screen whenever you want to check on status, change parameters or kill it