Sharing storage for VMs/guests

xvegax

Member
Aug 12, 2019
38
0
11
41
Hi guys,

I have two SSDs running Proxmox and two HDDs connected to it, which are mounted as "hddpool", see below:

user@machine:~$ sudo cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content iso,vztmpl,backup
zfspool: local-zfs
pool rpool/data
content rootdir,images
sparse 1
zfspool: hddpool
pool hddpool
content rootdir,images
nodes rakete
dir: backups-ssd
path /var/lib/vz/backup
content backup
maxfiles 4
shared 0
dir: backups-hdd
path /hddpool/backups/
content backup
maxfiles 10
shared 0

Now, I am not sure, how to give access to the VMs/guests properly so they can reach the "hddpool" and store files there.

As far as I know, if I mount "hddpool" to each VM this can end in data corruption, as every VM thinks it is the owner of the HDD and treats it like it.

So, what is the best practise to let the VMs use the HDD pool simultaneously, meaning to read and write files there.

Thank you in advance.

Best regards
 

Dominic

Proxmox Staff Member
Staff member
Mar 18, 2019
1,388
173
68
One idea might be to set up a network storage.
 
  • Like
Reactions: xvegax

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!