From owner-freebsd-fs@freebsd.org Mon Jul 6 04:57:58 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90C0F9922CF for ; Mon, 6 Jul 2015 04:57:58 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com [IPv6:2607:f8b0:4003:c01::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C59D3EE8 for ; Mon, 6 Jul 2015 04:57:58 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by obdbs4 with SMTP id bs4so99713638obd.3 for ; Sun, 05 Jul 2015 21:57:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Yzi9uoPm7AFka9yJjlzGStys1sSARrLrcEK2EBCY6Ms=; b=mGJ+eENvvhkWiTzVso6ZNXHHJnSoOpErgWoY92ZG+wk3FanHdEHaiUhMC4T9WVxAvF DZ7deNhhUqly78rSsXfKPLqs1gpiF0NvvbB/4LAYASw9Ayxwmu1i2KJ8TfZge8RA5mOc w7zfUdSHJoF4dWxgk+c/azqz101l2Dzre3jKlwiit04G/iqLt+lPhjpYQNY6JGtiLToY xOjGJT2R0atDza8wQkNvogsI+I1lajlw4f5Xvy+585qNA5S9oWhOgSZDZdl8mXupr1Ur MNRzSgGqHgDU8EK3qsby6P7jOdKrJtmT9bbBW5DrSEs0bHD2ozQC+3t74lt5igYx/FqG WzEg== MIME-Version: 1.0 X-Received: by 10.202.232.67 with SMTP id f64mr22900782oih.63.1436158677280; Sun, 05 Jul 2015 21:57:57 -0700 (PDT) Received: by 10.76.81.100 with HTTP; Sun, 5 Jul 2015 21:57:57 -0700 (PDT) Received: by 10.76.81.100 with HTTP; Sun, 5 Jul 2015 21:57:57 -0700 (PDT) In-Reply-To: <559A08AF.9050809@sneakertech.com> References: <5599496C.6010702@sneakertech.com> <20150705210306.GA1048@in-addr.com> <559A08AF.9050809@sneakertech.com> Date: Sun, 5 Jul 2015 21:57:57 -0700 Message-ID: Subject: Re: A question about ZFS built-in SMB From: Freddie Cash To: Quartz Cc: FreeBSD Filesystems Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2015 04:57:58 -0000 On Jul 5, 2015 9:49 PM, "Quartz" wrote: > > On 2015-07-05 12:03 PM, Freddie Cash wrote: >> >> SMB support is only built-in on Solaris derivatives. You need Samba on >> everything else. > > > On 2015-07-05 5:03 PM, Gary Palmer wrote: >> >> The sharesmb option to zfs does not work on FreeBSD. You need to use >> Samba. > > > > Ok wait, it IS implemented on the Linux versions of ZFS. I thought the FreeBSD version of ZFS superseded all the features of the Linux port? 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. Personally, I don't see the use for either of the share properties in zfs. Why treat it different than the other FSes on the system? Just edit exports/smb.conf as per normal.