Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jul 2015 07:19:15 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        Quartz <quartz@sneakertech.com>
Cc:        FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   Re: A question about ZFS built-in SMB
Message-ID:  <CAOjFWZ5FLGEVatzE5AMQnz8ocFYMBKUzDEV4qUKj-HE6G0xWsw@mail.gmail.com>
In-Reply-To: <559A14DB.3080905@sneakertech.com>
References:  <5599496C.6010702@sneakertech.com> <20150705210306.GA1048@in-addr.com> <559A08AF.9050809@sneakertech.com> <CAOjFWZ4ktnPGeqKgv-SLtpfEajnYnOQ7rHZr6JYD6jYw6r835A@mail.gmail.com> <559A14DB.3080905@sneakertech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 5, 2015 10:40 PM, "Quartz" <quartz@sneakertech.com> wrote:
>>
>> No, actually, it isn't. :) It works in a similar manner to sharenfs on
>> FreeBSD. You still require a separate NFS server installed, and ask it
>> does it copy the info to an exports file.
>>
>> Similar for sharesmb. You still require Samba being installed on Linux.
>> All the property does is add the filesystem to a separate smb config
>> file (or something like that; never actually used it on Linux).
>>
>> You still require the NFS and SMB packages installed for your distro.
>> Same as you would for any other FS on Linux.
>
>
>
> So I'm a little confused here.
>
> On Linux, the property is active and usable but only creates the share,
meaning you still need the sever software to host it. On FreeBSD, the
property doesn't work at all, and you need the server software to do
everything......

Correct.

On Solaris derivatives, you only need the OS installed and ZFS configured
in order to share filesystems via the share{nfs|smb} properties. They have
in-kernel NFS and CIFS servers. No 3rd party software required, the zfs
system does everything.

On Linux, you need the OS, ZFS, an NFS server, and Samba installed in order
to share filesystems. You can use the share{nfs|smb} properties to
configure the shares, but it's 3rd party software (external to zfs) that
actually does the sharing.

On FreeBSD, you need the OS, ZFS, an NFS server, and Samba installed in
order to share filesystems. You can use the sharenfs property to configure
an nfs share, but it's the 3rd party nfs server that actually does the
sharing. And you need to do everything manually via samba to share
filesystems as the sharesmb property isn't supported.

Or, you can just ignore the share{nfs|smb} properties and do everything
manually, the way you would for any filesystem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ5FLGEVatzE5AMQnz8ocFYMBKUzDEV4qUKj-HE6G0xWsw>