Hi y'all
I am really struggeling with my storage configuration and could use some help.
The relevant parts are different services running inside different unprivileged Ixc's accessing the same storage and on top of that it would be nice to access the data additionally via smb/cifs.
I first started by creating a lxc disk and just mounting on different ct's - and that worked surprisingly well. I think since all are still kind of proxmox that proxmox made sure that the data won't be screwed up (but tbh i understand Not enough of this to be sure). (and mounting into NAS OS via 9p)
Then I thought, well just go with what's seems to be best practice meaning using a NAS OS in a VM sharing it via nfs/smb, mounting back on proxmox to share via *classical* mount into the lxc. Before i was kind of reluctant because it seemed kind of absurd to create space in proxmox, give it to a vm, only to mount IT Back to proxmox - maybe beside the creation of another single-point-of-failure. But the real problem occurs when the data throughput is too high. The lxc ct causing this won't react anymore, proxmox does not even get names and current states of cts/vm's (in the GUI - everywhere just questionmarks and ID's as names) and i can only resolving this by manually killing the process running the particular CT thats causing this.
(I really get why so many people have separate devices for NAS and Hypervisor, but that's not feasable for me atm.)
So my current situation is taking this VM disk - mounting using kpartx and deploy again using mountpoints. The only real difference is, that i can now finally fuck up my data if i access the data through the VM (e.g. via share).
So now I'm wondering:
is there any possibility to actually assign this (zfs) disk to proxmox - i know it's quite easy to change ownership to another vm - but to proxmox? I wanna do now everything directly this way and maybe share again to the VM using 9p. Preferably w/o copying all the data bc. we re talking a few TB.
I am really struggeling with my storage configuration and could use some help.
The relevant parts are different services running inside different unprivileged Ixc's accessing the same storage and on top of that it would be nice to access the data additionally via smb/cifs.
I first started by creating a lxc disk and just mounting on different ct's - and that worked surprisingly well. I think since all are still kind of proxmox that proxmox made sure that the data won't be screwed up (but tbh i understand Not enough of this to be sure). (and mounting into NAS OS via 9p)
Then I thought, well just go with what's seems to be best practice meaning using a NAS OS in a VM sharing it via nfs/smb, mounting back on proxmox to share via *classical* mount into the lxc. Before i was kind of reluctant because it seemed kind of absurd to create space in proxmox, give it to a vm, only to mount IT Back to proxmox - maybe beside the creation of another single-point-of-failure. But the real problem occurs when the data throughput is too high. The lxc ct causing this won't react anymore, proxmox does not even get names and current states of cts/vm's (in the GUI - everywhere just questionmarks and ID's as names) and i can only resolving this by manually killing the process running the particular CT thats causing this.
(I really get why so many people have separate devices for NAS and Hypervisor, but that's not feasable for me atm.)
So my current situation is taking this VM disk - mounting using kpartx and deploy again using mountpoints. The only real difference is, that i can now finally fuck up my data if i access the data through the VM (e.g. via share).
So now I'm wondering:
is there any possibility to actually assign this (zfs) disk to proxmox - i know it's quite easy to change ownership to another vm - but to proxmox? I wanna do now everything directly this way and maybe share again to the VM using 9p. Preferably w/o copying all the data bc. we re talking a few TB.