Update to r50688:
Add get/set share properties subsection to handbook's ZFS chapter. Reviewed by: bcr Differential Revision: https://reviews.freebsd.org/D12213
This commit is contained in:
parent
57129a2f7a
commit
c8b773c0f4
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=50788
1 changed files with 36 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
The FreeBSD German Documentation Project
|
||||
|
||||
$FreeBSD$
|
||||
basiert auf: r48889
|
||||
basiert auf: r50688
|
||||
-->
|
||||
|
||||
<chapter xmlns="http://docbook.org/ns/docbook"
|
||||
|
@ -2023,6 +2023,41 @@ 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>
|
||||
|
||||
<sect3 xml:id="zfs-zfs-set-share">
|
||||
<title>Festlegen und Abfragen von
|
||||
Eigenschaften für Freigaben</title>
|
||||
|
||||
<para>Zwei häufig verwendete und nützliche
|
||||
Dataset-Eigenschaften sind die Freigabeoptionen von
|
||||
<acronym>NFS</acronym> und <acronym>SMB</acronym>. Diese
|
||||
Optionen legen fest, ob und wie
|
||||
<acronym>ZFS</acronym>-Datasets im Netzwerk freigegeben
|
||||
werden. Derzeit unterstützt &os; nur Freigaben von Datasets
|
||||
über <acronym>NFS</acronym>. Um den Status einer Freigabe
|
||||
zu erhalten, geben Sie folgendes ein:</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>Um ein Dataset freizugeben, geben Sie ein:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>zfs set sharenfs=on <replaceable>mypool/usr/home</replaceable></userinput></screen>
|
||||
|
||||
<para>Es ist auch möglich, weitere Optionen für die
|
||||
Verwendung von Datasets über <acronym>NFS</acronym>
|
||||
zu definieren, wie etwa <option>-alldirs</option>,
|
||||
<option>-maproot</option> und <option>-network</option>.
|
||||
Um zusätzliche Optionen auf ein durch
|
||||
<acronym>NFS</acronym> freigegebenes Dataset festzulegen,
|
||||
geben Sie ein:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>zfs set sharenfs="-alldirs,maproot=<replaceable>root</replaceable>,-network=<replaceable>192.168.1.0/24</replaceable>" <replaceable>mypool/usr/home</replaceable></userinput></screen>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="zfs-zfs-snapshot">
|
||||
|
|
Loading…
Reference in a new issue