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@lemmy.world
link
fedilink
English
23M

How do you mount your volume?

@chagall@lemmy.world
creator
link
fedilink
English
23M

I don’t do anything special. When I connect the device to my machine by USB, it is recognized and mounts itself. Once that happens, it becomes connectable via CLI and GUI. Very much like what happens in a windows or mac environment.

@JASN_DE@lemmy.world
link
fedilink
English
33M

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

@chagall@lemmy.world
creator
link
fedilink
English
23M

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

@BakedCatboy@lemmy.ml
link
fedilink
English
33M

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.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 76 users / day
  • 109 users / week
  • 241 users / month
  • 850 users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 8.72K Comments
  • Modlog