Is it possible to have a connection between two different OMV machines and share files?
Is it possible to have a connection between two different OMV machines and share files?
-
-
Is it possible to have a connection between two different OMV machines and share files?
Yes. There are several ways to do it. If you provide more details about what you want to achieve, it will be easier to help you.
-
I have a cluster of two proxmox machines and on each of them I have installed OMV5 and passthrought a sas bus. I have 2x 4TB HDD on one and 2x 500 GB SSD, 2x 1TB SSD on the other. I want to host services on docker and use mounted drives.
-
Is the goal to create a shared folder and use it on another system? Use openmediavault-remotemount
-
Or create smb/nfs volumes for your docker containers, no need to anything complicated.
Portainer does no good job in defining smb volumes, use cli as documented in the docker docs.
-
Or create smb/nfs volumes for your docker containers, no need to anything complicated.
Portainer does no good job in defining smb volumes, use cli as documented in the docker docs.
You mean I can make smb and nfs volumes on docker with containers, but is it possible to use specific disks on each operate system?
-
wonder if am not better to learn swarm before I learn volumes containers
-
In swarm you need remote volumes too.
Here are the docs: https://docs.docker.com/storag…#create-cifssamba-volumes
it is as simple as this (create a volume names cif-volume using the share //uxxxxx.your-server.de/backup)
Codedocker volume create \ --driver local \ --opt type=cifs \ --opt device=//uxxxxx.your-server.de/backup \ --opt o=addr=uxxxxx.your-server.de,username=uxxxxxxx,password=*****,file_mode=0777,dir_mode=0777 \ --name cif-volume
Test it with:
docker run --rm -it -v cif-volume:/mnt ubuntu ls -l /mnt
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!