ISO Images accross the cluster

pille99

Active Member
Sep 14, 2022
362
28
33
hello all

i have a 4 node cluster. its ind of annoying, that all ISOs are stored on the node 1 and i can create only new VMs from Node1.
how can i archive, to be able to mount an ISO image from any of the Nodes.
the funktion "Shared" is just for local storage, with the same path on all 4 Nodes.
but i want to access the ISO folder from anywhere. how ?
thx
 
The usual solution for this valid wish is to use NFS/Ceph/GlusterFS - all are supported network storages as documented in https://pve.proxmox.com/pve-docs/chapter-pvesm.html#_storage_types.

If you do not have a NAS like Qnap or Synology or any other vendor you can search for a solution to install an NFS server on the PVE-host with the to-be-shared storage. From my mind (not tested in this moment) it goes like this, at least for zfs-based storage: install "nfs-kernel-server" and start it. No configuration necessary! Then, to actually share a specific ZFS dataset simply set its property like this: zfs set sharenfs="rw=@192.0.2.0/24" rpool/yourisosharedbynfs. Now you can add that storage to the cluster, see the manual.

The above is not an entire instruction tutorial but only a glimpse on how it might work...

Have fun!
 
We have no option to store files on our block storage SAN directly, so we installed a VM that hosts all our iso files (hundrets of GBs) and exports this as NFS to the cluster.