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.

Can't use volume mappings on SSD mounted by UDEV

Featured Replies

As part of my ongoing upgrades to my server, I have bought a small SSD for my Plex database and config files. I do not want to replace my cache drive with an SSD as this is a seed box as well, and the cache drive gets a lot of use.

 

I installed the new SSD, formatted it XFS and mounted it with the Unassigned Devices plugin. I then copied my plex config folder on to the SSD and updated the volume mapping in my Plex docker to point at the new location. When I start up plex it doesn't see the config files at all and it starts up as a new install - its like the mapping totally fails. When I start a bash session in the container I can see files in the /config directory, but they are not the ones on my disk - and when I make a text file in that folder, it doesn't show up anywhere in the host file system - basically the symptoms of a failed mount.

 

Any idea what would cause this? I tried copying the files with cp -p to maintain all the ownership and permissions - I don't know what else it could be! There's no help in the docker log file - it shows the same stuff no mater which directory I use.

 

Thoughts?

I realize this doesn't help but I get the same issue.

  • Author

No, but it makes me feel better that I'm not suffering alone.

 

Anyone?

Docker can't access mounts that were created after the Docker service was started.  If you manually restart the Docker service (the whole service, not the individual containers) it should work.

  • Author

OK! now we are on to something.. I'll try this when I get home. Is there a way to delay the docker start until after the disk has mounted?

I struggled with this issue for two weeks. Finally got it to work but unfortunately don't know how I did it!

 

Symptoms were the same as you. After the SSD was mounted and a volume mapped to it, the folder appeared empty inside the docker container.

Issuing: "docker exec plex mount" in terminal showed the mount point wasn't the drive (sdx1) but rather it was being mounted as /rootfs.

 

I finally gave up after devoting ungodly amounts of time trying to make it work. Later I had need to temporarily mount an old spinner. Just for kicks I tried mapping the volume to it instead of the SSD and it worked flawlessly. That lead me to think something was up with the SSD.

 

Here's where I'm not sure what got it working. I can only describe what I did.

 

From the command line I manually re-partitioned and formatted the SSD to EXT4 then again into XFS. Updated all my unRaid plugins. Updated unRaid from 6.1.3 to 6.1.4. After the next boot the SSD was showing a generic label in unAssigned Devices. I clicked 'rescan disks' which made it show the expected drive name. After that the drive was able to work properly.

 

There might have been some other things but that's all I remember doing specifically. I also remember poking around the unAssigned Devices config file but doubt anything I did in there helped matters. But if you need to manually adjust settings or clear things out that's where you can look.

 

 

  • 2 weeks later...
  • Author

I just restarted Docker after mounting the disk and the problem is solved.

Archived

This topic is now archived and is closed to further replies.

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.