Over the years I have accumulated a sizable music library (mostly flacs, adding up to a bit less than 1TB) that I now want to reorganize (ie. gradually process with Musicbrainz Picard).

Since the music lives in my NAS, flacs are relatively big and my network speed is 1GB, I insalled on my computer a hdd I had laying around and replicated the whole library there; the idea being to work on local files and the sync them to the NAS.

I setup Syncthing for replication and… everything works, in theory.

In practice, Syncthing loves to rescan the whole library (given how long it takes, it must be reading all the data and computing checksums rather than just scanning the filesystem metadata - why on earth?) and that means my under-powered NAS (Celeron N3150) does nothing but rescanning the same files over and over.

Syncthing by default rescans directories every hour (again, why on earth?), but it still seem to rescan a whole lot even after I have set rescanIntervalS to 90 days (maybe it rescans once regardless when restarted?).

Anyway, I am looking into alternatives.
Are there any you would recommend? (FOSS please)

Notes:

  • I know I could just schedule a periodic rsync from my PC to the NAS, but I would prefer a bidirectional solution if possible (rsync is gonna be the last resort)
  • I read about unison, but I also read that it’s not great with big jobs and that it too scans a lot
  • The disks on my NAS go to sleep after 10 minutes idle time and if possible I would prefer not waking them up all the time (which would most probably happen if I scheduled a periodic rsync job - the NAS has RAM to spare, but there’s no guarantee it’ll keep in cache all the data rsync needs)
  • pe1uca@lemmy.pe1uca.dev
    link
    fedilink
    arrow-up
    10
    ·
    23 days ago

    Why do you need the files in your local?
    Is your network that slow?

    I’ve heard of multiple content creators which have their video files in their NAS to share between their editors, and they work directly from the NAS.
    Could you do the same? You’ll be working with music, so the network traffic will be lower than with video.

    If you do this you just need a way to mount the external directory, either with rclone or with sshfs.


    The disks on my NAS go to sleep after 10 minutes idle time and if possible I would prefer not waking them up all the time

    I think this is a good strategy to not put additional stress in your drives (as a non-expert of NAS), but I’ve read the actual wear and tear of the drives is mostly during this process of spinning up and down. That’s why NAS drives should be kept spinning all the time.
    And drives specifically built for NAS setups are designed with this in mind.

    • gomp@lemmy.mlOP
      link
      fedilink
      arrow-up
      4
      ·
      23 days ago

      I also read that drives should not be spun down and up too often, but I think it only matters if you do that hundreds of times a day?

      Anyway, the reason I spin down my drives is to save electricity, and… more for the principle than for the electric bill (it’s only 2 drives).