Shared storage between VM and LXC

GeorgiL

New Member
Jan 18, 2019
14
0
1
36
Greetings,

Is it possible to create a container with direct access to the storage of another VM without stuff like network sharing directories between both?
 
Hi,

you can have shared storage between two LXC containers but for KVM machines you need network share.
 
Let me describe my use case more precisely.

Currently I have a VM with Rockstor (a NAS system) which also have rock-ons (simply addons) and in this case it have Plex Media Server (or PMS) as an addon. Rockstor addons are docker containers based on official documentation. PMS transcoding can be pretty demanding sometimes so I want to optimize and reorganize it, by moving PMS to its own proxmox container but it still need to have access to certain folders of interest located on Rockstor within the VM to pull all the media from. Network share would be the easiest way I agree, but the question is, can I make it more efficient - can I access folder of interest from the VM directly without network share simply as local folder? Rockstor have its own disk organized as pools but actually data in them is pretty much a subfolder somewhere on a btrfs sysm. Maybe defined as subvolume. I wonder if VM's disk is just a folder somewhere on Proxmox, or there are tools to access VM's disk image more efficiently than a network share between VM and container.
 

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!