Samba server on proxmox host with zfs

tonycav

Member
Oct 4, 2022
95
4
13
Hi, I installed Proxmox on ZFS RAID1 (2 x 2TB M.2).

I created a dataset called "cloud."

I read that passthrough between the host and the various VMs and LXCs isn't possible directly.

Would it be better to install the Samba service directly on the Proxmox host?

Do you have any other solutions?

Thank you very much for your time.
 
I read that passthrough between the host and the various VMs and LXCs isn't possible directly.
For VMs you can use Virtiofs [0]. For LXCs you can use existing mountoints [1]. For example a zfs dataset:

Code:
mp0: /ssd-pool/test-extern,mp=/somepath,acl=1,mountoptions=discard,replicate=0

If this is also to be writable from within the LXC, the permissions must be adjusted with chown.

And yes, you also can install Samba directly on the node. It just depends on youre use case.


[0] https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm_virtiofs
[1] https://pve.proxmox.com/pve-docs/pve-admin-guide.html#pct_options
 
  • Like
Reactions: news