July 24, 2025Jul 24 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 July 24, 2025Jul 24 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.