Move /home folder to Data Drive

    • OMV 4.x
    • ajaja wrote:

      gderf wrote:

      ...Just don't point your docker files or Plex Database to /home.
      For me it does not seem to be that simple. My attempts to do so have come up short. Would someone be willing to explain a procedure to point them elsewhere?
      There is nothing complicated about this. But you really need to gain some experience with the Linux bash shell.

      Create a directory on the drive where you want. It doesn't matter what the name is, so it may as well be something meaningful.

      Change the ownership to be the same user and group that the docker instance of the program is running as.

      Change the permissions on the directory to 2755. You can go looser or maybe tighter, but it's not a good idea to grant more permission than needed.

      That's it. Now just use that directory as the target for the docker Host Path.

      DO NOT create an OMV shared folder or apply ACL with this directory. Do all the creation, ownership and permission settings in the shell.

      Here is how I would do it here in the shell to create a Plex Media Server database directory on one of my data hard drives while logged into OMV as an ordinary user named fred (1001) who belongs to the users group (100):

      mkdir /srv/dev-disk-by-label-dp1/plexmediaserver-database
      chown fred:users /srv/dev-disk-by-label-dp1/plexmediaserver-database
      chmod 2755 /srv/dev-disk-by-label-dp1/plexmediaserver-database

      Next, in the Plex Docker I point the /config container path variable to the Host path variable /srv/dev-disk-by-label-dp1/plexmediaserver-database

      The Plex Docker has, among other settings: PUID 1001 and PGUID 100
      Google is your friend and Bob's your uncle!

      OMV 4.x - ASRock Rack C2550D4I - 16GB ECC - Silverstone DS380

      The post was edited 1 time, last by gderf ().