Can't use volume mappings on SSD mounted by UDEV


whiteatom

Recommended Posts

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?

Link to comment

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.

 

 

Link to comment
  • 2 weeks later...

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.