ZFS and NFS or CIFS

Daniel Staal DStaal at usa.net
Sun Aug 21 15:33:40 UTC 2011


--As of August 19, 2011 1:43:23 AM -0400, Chris Brennan is alleged to have 
said:

> I have several ZFS volumes set up on my FreeBSD 8.2 (32-bit) server at
> home and I am trying to figure out how to set up a NFS and/or CIFS share
> of the various volumes I have created and for the life of me, I can't
> figure it out. I don't really care which one or both right now (I should
> learn both). I just have tons and tons of data to move from my Windows
> desktop to this server and I'd like to use something other then SFTP,
> even over my LAN, it's very slow.
>
> Many thanks to anyone who can point me in the right direction...

--As for the rest, it is mine.

I've only tried NFS, but it's fairly easy.  Either of these are controlled 
by ZFS properties, set by the command `zfs set` with the property names 
being  'sharesmb' or 'sharenfs'.  The value of the property is the options 
you want to use for the share.

See `man zfs` for more detail, plus the docs for the type of share you 
decide to set up for the options.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------


More information about the freebsd-questions mailing list