ZFS domain join SMB

"share SMB via ZFS"? What do you mean?

It is possible to share a ZFS filesystem via SMB and also get "Previous Versions" working with ZFS snapshots, but I do not know if this is what you're looking for.
 
Hi

Is it possible to share SMB via ZFS and maybe join a windows domain for adding share permissions?

Thanks
Felix
ZFS is a file system. it doesnt care what you share and how.

Its not only possible but widely deployed to have a samba server domain attached, serving files from a ZFS backing store; both FreeNAS and nas4free do this out of the box AND provide integrated shadow copy functionality using ZFS snapshot. works fine.
 
Then you might just setup different ZFS datasets, bind them to LXC containers running samba4 et voila. I can assist you with further information, doing this at some sites.

Hi

Yes of course clever :) - If you have any information on how to do it, I would appreciate it

Thanks again
 
Basically i'm doing this to seperate the data from the service. One could also install the samba server directly on Proxmox (not recommended, as it's role is to be a easily replaceble hypervisor - vms can be restored anywhere).

Create one or more datasets in one (or more) of your pools:

Code:
zfs create -o acltype=posixacl -o aclinherit=passthrough a-pool/a-dataset/music
zfs create -o acltype=posixacl -o aclinherit=passthrough another-pool/another-dataset/public

Then mount bind them to your samba container in Proxmox GUI.

Example:

Code:
...
mp0: /a-pool/a-dataset/music,mp=/srv/samba/music
mp0: /another-pool/another-dataset/public,mp=/srv/samba/public
...

Add the appropriate entries to samba config. (e.g. Shares with Windows ACLs).

This way, you can different samba containers belonging to different domains and having different ACLs.

If you have further questions, just send me a PM ;)
 

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!