> On 27. Nov 2023, at 13:47, [email protected] wrote: > > Hello, > > I'm new to Illumos / OmniOS and looking at replacing my actual SAMBA server > (in workgroup) with OmniOS. > > After reading a bunch of man pages and online documentation, I'm quite > puzzled. In Oracle Solaris 11.4, they say >> The legacy sharemgr command is no longer available to manage SMB shares. >> Instead, use the enhanced zfs, share, and unshare commands. Also, the >> automatic sharing of SMB and NFS shares is managed by SMF rather than by the >> legacy /etc/dfs/dfstab file, which has been removed. > > What is the proper way to manage SMB shares on Illumos / OmniOS ? > Is it sharemgr or zfs (un)share ? > > Thank you. > > PS: I already asked this on omnios-discuss but was told I should ask here > (too). > illumos <https://illumos.topicbox.com/latest> / illumos-discuss / see > discussions <https://illumos.topicbox.com/groups/discuss> + participants > <https://illumos.topicbox.com/groups/discuss/members> + delivery options > <https://illumos.topicbox.com/groups/discuss/subscription>Permalink > <https://illumos.topicbox.com/groups/discuss/T10871ae5205bb53b-M8174c3042b32be297ebae9f9> Solaris 11.4 has widen the gap about the management approaches, you should not rely on Solaris 11.4 docs to manage illumos any more. With illumos, you can use either zfs sharenfs and sharesmb properties or sharemgr command. dfstab file is also there (for NFS), but text based configuration files (such as dfstab is) are more painful for scripting.
rgds, toomas ------------------------------------------ illumos: illumos-discuss Permalink: https://illumos.topicbox.com/groups/discuss/T10871ae5205bb53b-M79a13f47fc73c9ad75547557 Delivery options: https://illumos.topicbox.com/groups/discuss/subscription
