Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Persist device path/name between reboots for optical drives

Featured Replies

Is there a way to persist device paths/names (e.g. /dev/sr1, /dev/sg2, etc.) for optical drives that will survive reboots and/or unplugging/re-plugging external USB optical drives? I've done some research and if I am reading correctly, it might be able to be done with udev and udev rules, but I'm not exactly sure how to go about it with UnRaid.

Background:

I have media server running on UnRaid. As part of that, I have several optical drives on the server that I use with MakeMKV docker containers. I pass in the necessary device parameters to the MakeMKV docker containers so that they see the optical drives. Some of the optical drives are internal connected to internal SATA, while others are external connected via USB. If I reboot the server, all of the drives, including the internal ones, seem to randomly reassign their device paths. They don't stay the same between reboots. The same happens if I either disconnect/re-connect or turn off/on the external USB optical drives. I then have to look up the new device paths for the optical drives and update them in the MakeMKV containers. This has become a bit of a pain. I would like for the drive paths to persist so that I don't have to continuously update the Docker containers with the updated device paths. Is there a way to accomplish this?

Edited by Rojma
Clarification

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.