I have a Qnap DAS. It is set up in a raid5 configuration. The problem is that each time I reboot my machine (ubuntu 24.04 LTS), the path of the DAS will auto-increment up by one.

For example the path will automatically go from media/raid57/medialib to media/raid58/medialib. That means I need to manually redo all file paths and then re-scan my entire media library for Jellyfin, each time I reboot my machine (which is like 2-3 times a month).

It is getting pretty annoying and I’m wondering if someone knows why this happens and what I can do to fix it.

  • JASN_DE
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 years ago

    Ah. Personally I’d do the mounting via fstab to get a consistent path.

    • catloaf@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago

      Just remember to use the nofail option so that it doesn’t halt the boot process if it’s not available.

    • chagallOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      Got it. Thanks. I’ll try that. It won’t wipe my existing data, right?

      • BakedCatboy@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 years ago

        It should be safe, using fstab is how I do a network mount to a specific folder also so it doesn’t change or anything.