White space fix only. Translators can ignore.
Sponsored by: iXsystems
This commit is contained in:
parent
cee3cf9230
commit
a0071a7cbe
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44472
1 changed files with 37 additions and 29 deletions
|
@ -4,14 +4,15 @@
|
|||
$FreeBSD$
|
||||
-->
|
||||
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="filesystems">
|
||||
<info><title>File Systems Support</title>
|
||||
<info>
|
||||
<title>File Systems Support</title>
|
||||
|
||||
<authorgroup>
|
||||
<author><personname><firstname>Tom</firstname><surname>Rhodes</surname></personname><contrib>Written by </contrib></author>
|
||||
<author><personname><firstname>Tom</firstname><surname>Rhodes</surname></personname><contrib>Written
|
||||
by </contrib></author>
|
||||
</authorgroup>
|
||||
</info>
|
||||
|
||||
|
||||
|
||||
<sect1 xml:id="filesystems-synopsis">
|
||||
<title>Synopsis</title>
|
||||
|
||||
|
@ -68,11 +69,13 @@
|
|||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>Understand &unix; and <link linkend="basics">&os; basics</link>.</para>
|
||||
<para>Understand &unix; and <link
|
||||
linkend="basics">&os; basics</link>.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Be familiar with the basics of <link linkend="kernelconfig">kernel configuration and
|
||||
<para>Be familiar with the basics of <link
|
||||
linkend="kernelconfig">kernel configuration and
|
||||
compilation</link>.</para>
|
||||
</listitem>
|
||||
|
||||
|
@ -82,7 +85,8 @@
|
|||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Have some familiarity with <link linkend="disks">disks</link>, storage, and device names in
|
||||
<para>Have some familiarity with <link
|
||||
linkend="disks">disks</link>, storage, and device names in
|
||||
&os;.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
@ -160,17 +164,17 @@ vfs.zfs.arc_max="40M"
|
|||
vfs.zfs.vdev.cache.size="5M"</programlisting>
|
||||
|
||||
<para>For a more detailed list of recommendations for
|
||||
ZFS-related tuning, see <uri xlink:href="http://wiki.freebsd.org/ZFSTuningGuide">http://wiki.freebsd.org/ZFSTuningGuide</uri>.</para>
|
||||
ZFS-related tuning, see <uri
|
||||
xlink:href="http://wiki.freebsd.org/ZFSTuningGuide">http://wiki.freebsd.org/ZFSTuningGuide</uri>.</para>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Using <acronym>ZFS</acronym></title>
|
||||
|
||||
<para>There is a start up mechanism that allows &os; to
|
||||
mount <acronym>ZFS</acronym> pools during system
|
||||
initialization. To set it, issue the following
|
||||
commands:</para>
|
||||
<para>There is a start up mechanism that allows &os; to mount
|
||||
<acronym>ZFS</acronym> pools during system initialization. To
|
||||
set it, issue the following commands:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>echo 'zfs_enable="YES"' >> /etc/rc.conf</userinput>
|
||||
&prompt.root; <userinput>service zfs start</userinput></screen>
|
||||
|
@ -227,7 +231,8 @@ drwxr-xr-x 21 root wheel 512 Aug 29 23:12 ..
|
|||
|
||||
<para>The <literal>example/compressed</literal> dataset is now
|
||||
a <acronym>ZFS</acronym> compressed file system. Try
|
||||
copying some large files to <filename>/example/compressed</filename>.</para>
|
||||
copying some large files to
|
||||
<filename>/example/compressed</filename>.</para>
|
||||
|
||||
<para>Compression can be disabled with:</para>
|
||||
|
||||
|
@ -375,9 +380,8 @@ example/data 17547008 0 17547008 0% /example/data</screen>
|
|||
|
||||
<para>To get a list of all available snapshots, run
|
||||
<command>ls</command> in the file system's
|
||||
<filename>.zfs/snapshot</filename>
|
||||
directory. For example, to see the previously taken
|
||||
snapshot:</para>
|
||||
<filename>.zfs/snapshot</filename> directory. For example,
|
||||
to see the previously taken snapshot:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ls /storage/home/.zfs/snapshot</userinput></screen>
|
||||
|
||||
|
@ -388,9 +392,9 @@ example/data 17547008 0 17547008 0% /example/data</screen>
|
|||
|
||||
<screen>&prompt.root; <userinput>zfs destroy storage/home@08-30-08</userinput></screen>
|
||||
|
||||
<para>After testing, <filename>/storage/home</filename> can be made the
|
||||
real <filename>/home</filename> using
|
||||
this command:</para>
|
||||
<para>After testing, <filename>/storage/home</filename> can be
|
||||
made the real <filename>/home</filename> using this
|
||||
command:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>zfs set mountpoint=/home storage/home</userinput></screen>
|
||||
|
||||
|
@ -583,13 +587,16 @@ errors: No known data errors</screen>
|
|||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para><acronym role="Portable Operating System Interface">POSIX</acronym> compatible name such as
|
||||
<para><acronym
|
||||
role="Portable Operating System
|
||||
Interface">POSIX</acronym> compatible name such as
|
||||
<replaceable>joe</replaceable>.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><acronym role="Portable Operating System Interface">POSIX</acronym>
|
||||
numeric ID such as
|
||||
<para><acronym
|
||||
role="Portable Operating System
|
||||
Interface">POSIX</acronym> numeric ID such as
|
||||
<replaceable>789</replaceable>.</para>
|
||||
</listitem>
|
||||
|
||||
|
@ -619,8 +626,8 @@ errors: No known data errors</screen>
|
|||
|
||||
<para>User quota properties are not displayed by
|
||||
<command>zfs get all</command>.
|
||||
Non-<systemitem class="username">root</systemitem> users can only see their own
|
||||
quotas unless they have been granted the
|
||||
Non-<systemitem class="username">root</systemitem> users can
|
||||
only see their own quotas unless they have been granted the
|
||||
<literal>userquota</literal> privilege. Users with this
|
||||
privilege are able to view and set everyone's quota.</para>
|
||||
|
||||
|
@ -641,9 +648,10 @@ errors: No known data errors</screen>
|
|||
<screen>&prompt.root; <userinput>zfs set groupquota@firstgroup=none</userinput></screen>
|
||||
|
||||
<para>As with the user quota property,
|
||||
non-<systemitem class="username">root</systemitem> users can only see the quotas
|
||||
associated with the groups that they belong to. However,
|
||||
<systemitem class="username">root</systemitem> or a user with the
|
||||
non-<systemitem class="username">root</systemitem> users can
|
||||
only see the quotas associated with the groups that they
|
||||
belong to. However, <systemitem
|
||||
class="username">root</systemitem> or a user with the
|
||||
<literal>groupquota</literal> privilege can view and set all
|
||||
quotas for all groups.</para>
|
||||
|
||||
|
@ -655,8 +663,8 @@ errors: No known data errors</screen>
|
|||
supported options or how to display only specific options,
|
||||
refer to &man.zfs.1;.</para>
|
||||
|
||||
<para>Users with sufficient privileges and
|
||||
<systemitem class="username">root</systemitem> can list the quota for
|
||||
<para>Users with sufficient privileges and <systemitem
|
||||
class="username">root</systemitem> can list the quota for
|
||||
<filename>storage/home/bob</filename> using:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>zfs get quota storage/home/bob</userinput></screen>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue