Hard disk add to vm

Hello,

First mount the disk on your host. And then from your mount point, set up a NFS or cifs/samba share.
You can also directly add a drive to your VM through virtio driver but i'm not sure that you will be able to share it on multiple VM.
everything is there: https://pve.proxmox.com/wiki/Storage
 
Last edited:
@Veeh described the correct way to enable concurrent access to the data. Nevertheless, may I ask you why you need it on two VMs at the same time? The reason behind @Veeh's answer is that you cannot access data on one physical disk directly on two VMs without a cluster filesystem. You will have data loss if you try to access it from two VMs at the same time.
 

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 yours easily in our online shop.

Buy now!