Move /home folder to Data Drive
-
- OMV 4.x
- ajaja
-
-
You don't need to move /home to do this. Just don't point your docker files or Plex Database to /home.
-
...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? -
What is the method to move /home to my data volume?
Using a symlink might be an option if configuration does not work.
-
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-databaseNext, 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
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!