Hi,
since I did not found much information on this and therefore assume, that this is a bad idea I just wanted to ask why one should not share data between unprivileged CT's using CT volumes i.e. just mounting a volume from one lxc to another?
Assuming the case that the data is primarily used by Container and not need to necessarily needed to share to VM or over the Network this seems like the simplest solution to achieve this. For me it is not feasible atm to have a dedicated NAS, so would it really better to have a NAS VM, that shares data that get mounted on proxmox to mount this mountpoint inside the container where the data is needed? This way one has to deal with user mapping (or set some ownership >100k) and creates another single-point-of-failure for said lxc's.
One could even just mount said data on proxmox - no kpartx needed. And if a VM sporadically needs access after all, one could even share the mounted data using 9p virtio.
since I did not found much information on this and therefore assume, that this is a bad idea I just wanted to ask why one should not share data between unprivileged CT's using CT volumes i.e. just mounting a volume from one lxc to another?
Assuming the case that the data is primarily used by Container and not need to necessarily needed to share to VM or over the Network this seems like the simplest solution to achieve this. For me it is not feasible atm to have a dedicated NAS, so would it really better to have a NAS VM, that shares data that get mounted on proxmox to mount this mountpoint inside the container where the data is needed? This way one has to deal with user mapping (or set some ownership >100k) and creates another single-point-of-failure for said lxc's.
One could even just mount said data on proxmox - no kpartx needed. And if a VM sporadically needs access after all, one could even share the mounted data using 9p virtio.