can i share folders or entire disk between 1 VM and 2 lxc's?

roycordero

New Member
Jun 25, 2022
13
3
3
After connecting my storage hard drives without losing any data in the omv5 install as a VM in my proxmox ve server, now I would like to know how I can share the folders on those drives, or the entire drives with the lxc containers?

For example: in an lxc I have nextcloud installed and I need to share some folders of those disks that are mounted on the VM with omv5 to be able to editing, do i explain myself?

Does anyone know how I could do that? Someone told me that I could do it with ovs (open virtual switch) or something like that


brave_lQXz8yHv4f.jpg brave_LWjBdtAMfQ.jpg
 
There's no „easy“ way to share folders between a VM and the host in the way it's possible with CTs.
You have to provide the folders via NFS or CIFS (don't mix!), or maybe iSCSI to the host in order to grant the CTs access to it.
 
Last edited:

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!