FreeBSD Bugzilla – Attachment 172397 Details for
Bug 211022
[Patch] Add get/set share properties subsection to handbook's ZFS chapter (19)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch: FreeBSD handbook ZFS chapter diff text file.
zfs.diff.txt (text/plain), 2.39 KB, created by
Dan Bright
on 2016-07-12 01:29:19 UTC
(
hide
)
Description:
Patch: FreeBSD handbook ZFS chapter diff text file.
Filename:
MIME Type:
Creator:
Dan Bright
Created:
2016-07-12 01:29:19 UTC
Size:
2.39 KB
patch
obsolete
>Index: en_US.ISO8859-1/books/handbook/zfs/chapter.xml >=================================================================== >--- en_US.ISO8859-1/books/handbook/zfs/chapter.xml (revision 49096) >+++ en_US.ISO8859-1/books/handbook/zfs/chapter.xml (working copy) >@@ -1879,8 +1879,40 @@ > &prompt.root; <userinput>zfs get <replaceable>custom</replaceable>:<replaceable>costcenter</replaceable> <replaceable>tank</replaceable></userinput> > NAME PROPERTY VALUE SOURCE > tank custom:costcenter - - >-&prompt.root; <userinput>zfs get all <replaceable>tank</replaceable> | grep <replaceable>custom</replaceable>:<replaceable>costcenter</replaceable></userinput> >-&prompt.root;</screen> >+&prompt.root; <userinput>zfs get all <replaceable>tank</replaceable> | grep <replaceable>custom</replaceable>:<replaceable>costcenter</replaceable></userinput></screen> >+ >+ <sect3 xml:id="zfs-zfs-set-share"> >+ <title>Getting and Setting Share Properties</title> >+ >+ <para>Two commonly used and useful dataset properties are the >+ <acronym>NFS</acronym> and <acronym>SMB</acronym> share >+ options. Setting these define if and how <acronym>ZFS >+ </acronym> datasets may be shared on the network. Getting the >+ current status of a share is easy, for example:</para> >+ >+ <screen>&prompt.root; <userinput>zfs get sharenfs <replaceable>mypool/usr/home</replaceable></userinput> >+ NAME PROPERTY VALUE SOURCE >+ mypool/usr/home sharenfs on local >+ >+ &prompt.root; <userinput>zfs get sharesmb$ <replaceable>mypool/usr/home</replaceable></userinput> >+ >+ NAME PROPERTY VALUE SOURCE >+ mypool/usr/home sharesmb off local</screen> >+ >+ <para>Enabling sharing on a dataset is equally simple:</para> >+ >+ <screen>&prompt.root; <userinput> zfs set sharenfs=on <replaceable>mypool/usr/home</replaceable></userinput></screen> >+ >+ <para>It is also possible to set additional options for sharing >+ datasets through <acronym>NFS</acronym>. These include >+ <option>-alldirs</option>, <option>-maproot</option> and >+ <option>-network</option>. These options are applied as per >+ the following example:</para> >+ >+ <screen>&prompt.root; <userinput> zfs set sharenfs="-alldirs >+ -maproot=<replaceable>root</replaceable> >+ -network=<replaceable>192.168.1.0/24</replaceable></userinput></screen> >+ </sect3> > </sect2> > > <sect2 xml:id="zfs-zfs-snapshot">
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 211022
: 172397