ZFS automatic sharing (NFS/SMB/AFP)

All your general support questions for OpenZFS on OS X.

ZFS automatic sharing (NFS/SMB/AFP)

Postby haer22 » Sun Feb 19, 2017 1:28 pm

So if I do "zfs smbshare=on tank;zfs share tank" it will be visible locally, yes?
How does that interact/confuse macOS Server file sharing?
haer22
 
Posts: 123
Joined: Sun Mar 23, 2014 2:13 am

Re: ZFS automatic sharing (NFS/SMB/AFP)

Postby lundman » Sun Feb 19, 2017 4:40 pm

In theory yes, it just runs the command line util "sharing" for you, which in theory should be compatible with OsX as it is an OsX tool.
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: ZFS automatic sharing (NFS/SMB/AFP)

Postby Bottacco » Thu Mar 16, 2023 11:32 am

lundman wrote:In theory yes, it just runs the command line util "sharing" for you, which in theory should be compatible with OsX as it is an OsX tool.

Ok but, what would be the best way to share a dataset in macOS/OSX? Via the zfs property or via the sharing system preference?

I have created a pool "bigdata" and under it three datasets, "Archive", "InProgress" and "Status" and then shared them via the sharing system preference assigning privileges and in advance options allowing guests to connect and share it only via SMB. They work when I connect from another Mac but…

… when I list all the settings under the dataset with "zfs get all <datasetname>" I see that smbshare is off, so it is not getting the property from the setting in system preferences.

Any suggestions or "correct way of doing things"?

Thanks a lot
Bottacco
 
Posts: 10
Joined: Thu Feb 09, 2023 1:27 pm


Return to General Help

Who is online

Users browsing this forum: Haravikk and 20 guests