PERFORCE change 155557 for review
Remko Lodder
remko at FreeBSD.org
Thu Jan 1 16:58:11 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=155557
Change 155557 by remko at remko_nakur on 2009/01/01 16:57:10
Import translated filesystems chapter from Wouter Reckman.
Affected files ...
.. //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/filesystems/chapter.sgml#4 edit
Differences ...
==== //depot/projects/docproj_nl/nl_NL.ISO8859-1/books/handbook/filesystems/chapter.sgml#4 (text+ko) ====
@@ -2,7 +2,7 @@
The FreeBSD Dutch Documentation Project
$FreeBSD: $
- %SOURCE% en_US.ISO8859-1/books/handbook/firewalls/chapter.sgml
+ %SOURCE% en_US.ISO8859-1/books/handbook/filesystems/chapter.sgml
%SRCID% 1.3
-->
@@ -36,202 +36,219 @@
</indexterm>
<para>Bestandssystemen zijn een integraal onderdeel van ieder
- besturingssysteem. Ze stellen gebruikers in de gelegenheid om bestanden
- te uploaden en op te slaan, geven toegang tot gegevens en maken
- natuurlijk harde schijven bruikbaar.
- Verschillende besturingssystemen hebben gewoonlijk één
+ besturingssysteem. Ze stellen gebruikers in de gelegenheid om
+ bestanden te uploaden en op te slaan, geven toegang tot gegevens
+ en maken natuurlijk harde schijven bruikbaar. Verschillende
+ besturingssystemen hebben gewoonlijk één
gezamenlijk aspect, namelijk het bestandssysteem. Op &os; staat
dit bestandssysteem bekend onder de naam Fast File System ofwel
<acronym>FFS</acronym>, dat is gebaseerd op het oorspronkelijke
Unix™ File System, ook bekend als <acronym>UFS</acronym>.
- Dit is het oorspronkelijke bestandssysteem van &os; dat op harde
- schijven wordt geplaatst voor gegevenstoegang.</para>
+ Dit is het oorspronkelijke bestandssysteem van &os; dat op
+ harde schijven wordt geplaatst voor gegevenstoegang.</para>
- <para>&os; ondersteunt daarnaast ook een groot aantal
- andere bestandssystemen om lokaal toegang tot gegevens van
- andere besturingssystemen te bewerkstelligen; dat wil zeggen:
- gegevens opgeslagen op lokaal aangesloten <acronym>USB</acronym>
- opslagapparaten, flash drives, en harde schijven. Verder is er
- ook ondersteuning voor vreemde bestandssystemen.
- Dit zijn bestandssystemen ontwikkeld voor andere
- besturingssystemen zoals het &linux; Extended File System
- (<acronym>EXT</acronym>) en het &sun; Z File System
- (<acronym>ZFS</acronym>).</para>
+ <para>&os; ondersteunt daarnaast ook een groot aantal andere
+ bestandssystemen om lokaal toegang tot gegevens van andere
+ besturingssystemen te bewerkstelligen; dat wil zeggen: gegevens
+ opgeslagen op lokaal aangesloten <acronym>USB</acronym>
+ opslagapparaten, flash drives, en harde schijven. Verder is er
+ ook ondersteuning voor vreemde bestandssystemen. Dit zijn
+ bestandssystemen ontwikkeld voor andere besturingssystemen
+ zoals het &linux; Extended File System (<acronym>EXT</acronym>)
+ en het &sun; Z File System (<acronym>ZFS</acronym>).</para>
- <para>Er zijn verschillende gradaties van
- ondersteuning voor de verschillende bestandssystemen op &os;.
- Sommigen vereisen het laden van een kernelmodule, voor anderen
- moet een toolset worden geïnstalleerd. Dit hoofdstuk is
- geschreven om gebruikers van &os; te helpen om op hun systeem
- toegang te verkrijgen tot andere bestandssystemen, te beginnen
- met het &sun; Z File System.</para>
+ <para>Er zijn verschillende gradaties van ondersteuning voor de
+ verschillende bestandssystemen op &os;. Sommigen vereisen het
+ laden van een kernelmodule, voor anderen moet een toolset
+ worden geïnstalleerd. Dit hoofdstuk is geschreven om
+ gebruikers van &os; te helpen om op hun systeem toegang te
+ verkrijgen tot andere bestandssystemen, te beginnen met het
+ &sun; Z File System.</para>
<para>Na het lezen van dit hoofstuk weet de lezer:</para>
<itemizedlist>
<listitem>
- <para>Het verschil tussen eigen en ondersteunde bestandssystemen.</para>
+ <para>Het verschil tussen eigen en ondersteunde
+ bestandssystemen.</para>
</listitem>
<listitem>
- <para>Welke bestandssystemen zijn ondersteund in &os;.</para>
+ <para>Welke bestandssystemen zijn ondersteund in &os;.</para>
</listitem>
<listitem>
- <para>Hoe niet-eigen bestandssystemen geactiveerd, geconfigureerd,
- benaderd en gebruikt kunnen worden.</para>
+ <para>Hoe niet-eigen bestandssystemen geactiveerd,
+ geconfigureerd, benaderd en gebruikt kunnen worden.</para>
</listitem>
</itemizedlist>
- <para>Voorafgaand aan het lezen van dit hoofdstuk dient
- de lezer:</para>
+ <para>Voorafgaand aan het lezen van dit hoofdstuk dient de
+ lezer:</para>
<itemizedlist>
<listitem>
- <para>Begrip te hebben van de beginselen van &unix; en &os;
- (<xref linkend="basics">).</para>
+ <para>Begrip te hebben van de beginselen van &unix; en &os;
+ (<xref linkend="basics">).</para>
</listitem>
<listitem>
- <para>Bekend te zijn met de beginselen van kernelconfiguratie en
- -compilatie (<xref linkend="kernelconfig">).</para>
+ <para>Bekend te zijn met de beginselen van
+ kernelconfiguratie en -compilatie
+ (<xref linkend="kernelconfig">).</para>
</listitem>
<listitem>
- <para>Vertrouwd te zijn met installatie van software van
- derden in &os; (<xref linkend="ports">).</para>
+ <para>Vertrouwd te zijn met installatie van software van
+ derden in &os; (<xref linkend="ports">).</para>
</listitem>
<listitem>
- <para>Enigszins bekend te zijn met schijven, opslag en
- apparaatnamen in &os; (<xref linkend="disks">).</para>
+ <para>Enigszins bekend te zijn met schijven, opslag en
+ apparaatnamen in &os; (<xref linkend="disks">).</para>
</listitem>
</itemizedlist>
<!--
- Temporary warning to avoid listing experimental versions
- and production versions of FreeBSD with this technology.
+ Tijdelijke waarschuwing om te vermijden dat experimentele
+ versies en productieversies van FreeBSD met deze technologie
+ worden genoemd.
-->
<warning>
<para>Ondersteuning van <acronym>ZFS</acronym> wordt
- beschouwd als experimenteel. Sommige opties kunnen beperkt zijn
- in functionaliteit, andere onderdelen werken mogelijk in het
- geheel niet. Op een zeker moment zal deze ondersteuning klaar
- voor productie zijn en zal deze documentatie worden aangepast aan
- de nieuwe situatie.</para>
+ beschouwd als experimenteel. Sommige opties kunnen beperkt
+ zijn in functionaliteit, andere onderdelen werken mogelijk in
+ het geheel niet. Op een zeker moment zal deze ondersteuning
+ klaar voor productie zijn en zal deze documentatie worden
+ aangepast aan de nieuwe situatie.</para>
</warning>
</sect1>
<sect1 id="filesystems-zfs">
<title>Het Z File System</title>
- <para>The Z file system, developed by &sun;, is a new
- technology designed to use a pooled storage method. This means
- that space is only used as it is needed for data storage. It
- has also been designed for maximum data integrity, supporting
- data snapshots, multiple copies, and data checksums. A new
- data replication model, known as <acronym>RAID</acronym>-Z has
- been added. The <acronym>RAID</acronym>-Z model is similar
- to <acronym>RAID</acronym>5 but is designed to prevent data
- write corruption.</para>
+ <para>Het Z File System, ontwikkeld door &sun;, is een
+ nieuwe technologie ontwikkeld om gebruik te maken van een
+ pool-gebaseerde opslagmethode. Dit houdt in dat ruimte pas
+ wordt gebruikt wanneer het nodig is voor dataopslag. Verder is
+ het ontworpen voor maximale integriteit van gegevens,
+ ondersteuning van gegevens-snapshots, meerdere kopieën, en
+ gegevenschecksums. Ook is een nieuw gegevensreplicatiemodel,
+ bekend als <acronym>RAID</acronym>-Z, toegevoegd;
+ <acronym>RAID</acronym>-Z lijkt op <acronym>RAID</acronym>5,
+ maar is ontworpen om corruptie tijdens het schrijven van
+ gegevens te voorkomen.
<sect2>
- <title>ZFS Tuning</title>
+ <title>ZFS tuning</title>
- <para>The <acronym>ZFS</acronym> subsystem utilizes much of
- the system resources, so some tuning may be required to provide
- maximum efficiency during every-day use. As an experimental
- feature in &os; this may change in the near future; however,
- at this time, the following steps are recommended.</para>
+ <para>Het <acronym>ZFS</acronym> subsysteem maakt gebruik van
+ veel systeembronnen waardoor het nodig kan zijn een en ander
+ af te stellen, zodat voor het dagelijks gebruik maximale
+ efficiëntie wordt behaald. Doordat het een
+ experimentele eigenschap van &os; is, kan dit in de nabije
+ toekomst veranderen; op dit moment echter, worden de volgende
+ stappen aangeraden.</para>
<sect3>
- <title>Memory</title>
+ <title>Geheugen</title>
- <para>The total system memory should be at least one gigabyte,
- with two gigabytes or more recommended. In all of the
- examples here, the system has one gigabyte of memory with
- several other tuning mechanisms in place.</para>
+ <para>De totale hoeveelheid systeemgeheugen dient minstens
+ één gigabyte te zijn, maar twee gigabytes of meer
+ wordt aanbevolen. In alle voorbeelden hier heeft het systeem
+ één gigabyte geheugen, met verschillende andere
+ afstelmechanismen in werking.</para>
- <para>Some people have had luck using fewer than one gigabyte
- of memory, but with such a limited amount of physical memory,
- when the system is under heavy load, it is very plausible
- that &os; will panic due to memory exhaustion.</para>
+ <para>Sommigen hebben succes gehad met minder dan een
+ gigabyte geheugen, maar met een dergelijke, beperkte
+ hoeveelheid geheugen is de kans groot dat onder zware
+ belasting een kernelpanic in &os; op zal treden door uitputting
+ van het geheugen.</para>
</sect3>
<sect3>
- <title>Kernel Configuration</title>
+ <title>Kernelconfiguratie</title>
- <para>It is recommended that unused drivers and options
- be removed from the kernel configuration file. Since most
- devices are available as modules, they may simply be loaded
- using the <filename>/boot/loader.conf</filename> file.</para>
+ <para>Het wordt aangeraden om ongebruikte
+ stuurprogramma's en opties te verwijderen uit het
+ kernelconfiguratiebestand. Omdat de meeste
+ stuurprogramma's beschikbaar zijn als modules kunnen ze
+ alsnog worden geladen door middel van het bestand
+ <filename>/boot/loader.conf</filename>.</para>
- <para>Users of the i386 architecture should add the following
- option to their kernel configuration file, rebuild their
- kernel, and reboot:</para>
+ <para>Gebruikers van de i386-architectuur dienen de volgende
+ optie aan hun kernelconfiguratiebestand toe te voegen, de
+ kernel opnieuw te compileren, en opnieuw op te
+ starten:</para>
<programlisting>options KVA_PAGES=512</programlisting>
- <para>This option will expand the kernel address space, thus
- allowing the <varname>vm.kvm_size</varname> tunable to be
- pushed beyond the currently imposed limit of 1 GB
- (2 GB for <acronym>PAE</acronym>). To find the most
- suitable value for this option, divide the desired address
- space in megabytes by four (4). In this case, it is
- <literal>512</literal> for 2 GB.</para>
+ <para>Deze optie vergroot de kerneladresruimte, waarmee het
+ mogelijk wordt gemaakt om de <varname>vm.kvm_size</varname>
+ afstelling hoger dan de huidige limiet van 1 GB
+ (2 GB voor <acronym>PAE</acronym>) in te stellen.
+ Deel, om de meest geschikte waarde voor deze optie te
+ vinden, de gewenste hoeveelheid adresruimte door vier (4).
+ In dit geval is dat <literal>512</literal> voor
+ 2 GB.</para>
</sect3>
<sect3>
- <title>Loader Tunables</title>
+ <title>Loader tunables</title>
- <para>The <devicename>kmem</devicename> address space should be
- increased on all &os; architectures. On the test system with
- one gigabyte of physical memory, success was achieved with the
- following options which should be placed in
- the <filename>/boot/loader.conf</filename> file and the system
- restarted:</para>
+ <para>De <devicename>kmem</devicename> adresruimte dient te
+ worden vergroot op alle &os; architecturen. Op het
+ testsysteem met één gigabyte fysiek geheugen werd
+ succes behaald met de volgende opties, die in het bestand
+ <filename>/boot/loader.conf</filename> geplaatst dienen te
+ worden, waarna het systeem opnieuw moet worden
+ opgestart:</para>
<programlisting>vm.kmem_slze="330M"
vm.kmem_size_max="330M"
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
- <ulink url="http://wiki.freebsd.org/ZFSTuningGuide"></ulink>.</para>
+ <para>Zie voor een meer gedetailleerde lijst van aanbevelingen
+ aangaande ZFS-afstelling:
+ <ulink url="http://wiki.freebsd.org/ZFSTuningGuide"></ulink>
+ .</para>
</sect3>
</sect2>
<sect2>
- <title>Using <acronym>ZFS</acronym></title>
+ <title>Gebruik maken van <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>Er is een opstartmechanisme dat &os; in staat stelt om
+ <acronym>ZFS</acronym> pools te mounten tijdens initialisatie van
+ het systeem. Voer de volgende commando's uit om dit in te
+ stellen:</para>
<screen>&prompt.root; <userinput>echo 'zfs_enable="YES"' >> /etc/rc.conf</userinput>
&prompt.root; <userinput>/etc/rc.d/zfs start</userinput></screen>
- <para>The remainder of this document assumes two
- <acronym>SCSI</acronym> disks are available, and their device names
- are <devicename><replaceable>da0</replaceable></devicename>
- and <devicename><replaceable>da1</replaceable></devicename>
- respectively. Users of <acronym>IDE</acronym> hardware may
- use the <devicename><replaceable>ad</replaceable></devicename>
- devices in place of <acronym>SCSI</acronym> hardware.</para>
+ <para>In het resterende deel van dit document wordt aangenomen
+ dat twee <acronym>SCSI</acronym>-schijven beschikbaar zijn,
+ en dat hun apparaatnamen respectievelijk
+ <devicename><replaceable>da0</replaceable></devicename> en
+ <devicename><replaceable>da1</replaceable></devicename> zijn.
+ Gebruikers van <acronym>IDE</acronym>-hardware kunnen de
+ <devicename><replaceable>ad</replaceable></devicename>
+ apparaten gebruiken in plaats van
+ <acronym>SCSI</acronym>-apparaten.</para>
<sect3>
- <title>Single Disk Pool</title>
+ <title>Een pool op een enkele schijf</title>
- <para>To create a <acronym>ZFS</acronym> over a single disk
- device, use the <command>zpool</command> command:</para>
+ <para>Voer het <command>zpool</command>-commando uit om een
+ <acronym>ZFS</acronym> op een enkele schijf aan te
+ maken:</para>
<screen>&prompt.root; <userinput>zpool create example /dev/da0</userinput></screen>
- <para>To view the new pool, review the output of the
- <command>df</command>:</para>
+ <para>Bestudeer de uitvoer van het commando
+ <command>df</command> om de nieuwe pool te zien:</para>
<screen>&prompt.root; <userinput>df</userinput>
Filesystem 1K-blocks Used Avail Capacity Mounted on
@@ -240,12 +257,12 @@
/dev/ad0s1d 54098308 1032846 48737598 2% /usr
example 17547136 0 17547136 0% /example</screen>
- <para>This output clearly shows the <literal>example</literal>
- pool has not only been created but
- <emphasis>mounted</emphasis> as well. It is also accessible
- just like a normal file system, files may be created on it
- and users are able to browse it as in the
- following example:</para>
+ <para>In deze uitvoer wordt duidelijk dat de
+ <literal>example</literal>-pool niet alleen is aangemaakt,
+ maar ook direct <emphasis>gemount</emphasis> is. Hij is ook
+ toegankelijk, net als een gewoon bestandssysteem; er kunnen
+ bestanden op worden aangemaakt en gebruikers kunnen er op
+ rondkijken zoals in het volgende voorbeeld:</para>
<screen>&prompt.root <userinput>cd /example</userinput>
&prompt.root; <userinput>ls</userinput>
@@ -256,25 +273,26 @@
drwxr-xr-x 21 root wheel 512 Aug 29 23:12 ..
-rw-r--r-- 1 root wheel 0 Aug 29 23:15 testfile</screen>
- <para>Unfortunately this pool is not taking advantage of
- any <acronym>ZFS</acronym> features. Create a file system
- on this pool, and enable compression on it:</para>
+ <para>Helaas benut deze pool nog geen
+ <acronym>ZFS</acronym>-mogelijkheden. Maak een bestandssysteem
+ aan op deze pool en activeer er compressie op:</para>
<screen>&prompt.root; <userinput>zfs create example/compressed</userinput>
&prompt.root; <userinput>zfs set compression=gzip example/compressed</userinput></screen>
- <para>The <literal>example/compressed</literal> is now a
- <acronym>ZFS</acronym> compressed file system. Try copying
- some large files to it by copying them to
- <filename class="directory">/example/compressed</filename>.</para>
+ <para><literal>example/compressed</literal> is nu een
+ gecomprimeerd <acronym>ZFS</acronym>-bestandssysteem. Probeer
+ er een paar grote bestanden naartoe te kopiëren door ze
+ naar <filename class="directory">/example/compressed</filename>
+ te kopiëren.</para>
- <para>The compression may now be disabled with:</para>
+ <para>De compressie kan nu worden uitgeschakeld met:</para>
<screen>&prompt.root; <userinput>zfs set compression=off example/compressed</userinput></screen>
- <para>To unmount the file system, issue the following command
- and then verify by using the <command>df</command>
- utility:</para>
+ <para>Voer het volgende commando uit om het bestandssysteem te
+ unmounten, en controleer dat daarna met
+ <command>df</command>:</para>
<screen>&prompt.root; <userinput>zfs umount example/compressed</userinput>
&prompt.root; <userinput>df</userinput>
@@ -284,8 +302,9 @@
/dev/ad0s1d 54098308 1032864 48737580 2% /usr
example 17547008 0 17547008 0% /example</screen>
- <para>Re-mount the file system to make it accessible
- again, and verify with <command>df</command>:</para>
+ <para>Mount het bestandssysteem opnieuw om het weer
+ toegankelijk te maken en controleer met
+ <command>df</command>:</para>
<screen>&prompt.root; <userinput>zfs mount example/compressed</userinput>
&prompt.root; <userinput>df</userinput>
@@ -296,8 +315,8 @@
example 17547008 0 17547008 0% /example
example/compressed 17547008 0 17547008 0% /example/compressed</screen>
- <para>The pool and file system may also be observed by viewing
- the output from <command>mount</command>:</para>
+ <para>De pool en het bestandssysteem zijn ook zichtbaar in de
+ uitvoer van <command>mount</command>:</para>
<screen>&prompt.root; <userinput>mount</userinput>
/dev/ad0s1a on / (ufs, local)
@@ -307,18 +326,22 @@
example/data on /example/data (zfs, local)
example/compressed on /example/compressed (zfs, local)</screen>
- <para>As observed, <acronym>ZFS</acronym> file systems, after
- creation, may be used like ordinary file systems; however,
- many other features are also available. In the following
- example, a new file system, <literal>data</literal> is
- created. Important files will be stored here, so the file
- system is set to keep two copies of each data block:</para>
+ <para>Zoals is te zien kunnen
+ <acronym>ZFS</acronym>-bestandssystemen, nadat ze zijn
+ gecreëerd, net als gewone bestandssystemen worden
+ gebruikt; er zijn echter ook vele andere mogelijkheden
+ beschikbaar. In het volgende voorbeeld wordt er een nieuw
+ bestandssysteem <literal>data</literal> gecreëerd.
+ Er zullen belangrijke bestanden op worden bewaard, dus het
+ bestandssysteem wordt zodanig ingesteld dat het twee
+ kopieën van ieder gegevensblok opslaat:</para>
<screen>&prompt.root; <userinput>zfs create example/data</userinput>
&prompt.root; <userinput>zfs set copies=2 example/data</userinput></screen>
- <para>It is now possible to see the data and space utilization
- by issuing the <command>df</command> again:</para>
+ <para>Het is nu mogelijk om het gegevens- en ruimtegebruik te
+ bekijken door <command>df</command> opnieuw te
+ draaien:</para>
<screen>&prompt.root; <userinput>df</userinput>
Filesystem 1K-blocks Used Avail Capacity Mounted on
@@ -329,113 +352,121 @@
example/compressed 17547008 0 17547008 0% /example/compressed
example/data 17547008 0 17547008 0% /example/data</screen>
- <para>Notice that each file system on the pool has the same
- amount of available space. This is the reason for using
- the <command>df</command> through these examples, to show
- that the file systems are using only the amount of space
- they need and will all draw from the same pool.
- The <acronym>ZFS</acronym> file system does away with concepts
- such as volumes and partitions, and allows for several file
- systems to occupy the same pool. Destroy the file systems,
- and then destroy the pool as they are no longer
- needed:</para>
+ <para>Merk op dat ieder bestandssysteem in de pool dezelfde
+ hoeveelheid vrije ruimte heeft. Dit is de reden dat
+ <command>df</command> steeds wordt gebruikt tussen de
+ voorbeelden door, om te laten zien dat de bestandssystemen
+ slechts zoveel ruimte gebruiken als ze nodig hebben en
+ allemaal putten uit dezelfde pool.
+ Het <acronym>ZFS</acronym> bestandssysteem elimineert
+ concepten als volumes en partities, en staat verschillende
+ bestandssystemen toe om in dezelfde pool te bestaan.
+ Verwijder nu de bestandssystemen en verwijder daarna de pool,
+ omdat deze niet meer nodig zijn:</para>
<screen>&prompt.root; <userinput>zfs destroy example/compressed</userinput>
&prompt.root; <userinput>zfs destroy example/data</userinput>
&prompt.root; <userinput>zpool destroy example</userinput></screen>
- <para>Disks go bad and fail, an unavoidable trait. When
- this disk goes bad, the data will be lost. One method of
- avoiding data loss due to a failed hard disk is to implement
- a <acronym>RAID</acronym>. <acronym>ZFS</acronym> supports
- this feature in its pool design which is covered in
- the next section.</para>
+ <para>Schijven gaan slechter werken en begeven het, een
+ onvermijdelijke eigenschap. Wanneer de schijf stukgaat
+ zullen de gegevens verloren gaan. Een methode om
+ gegevensverlies ten gevolge van een kapotte harde schijf te
+ vermijden is het implementeren van <acronym>RAID</acronym>.
+ <acronym>ZFS</acronym> ondersteunt deze mogelijkheid in zijn
+ pool-ontwerp en wordt beschreven in de volgende
+ sectie.</para>
</sect3>
<sect3>
<title><acronym>ZFS</acronym> RAID-Z</title>
- <para>As previously noted, this section will assume that
- two <acronym>SCSI</acronym> exists as devices
- <devicename>da0</devicename> and
- <devicename>da1</devicename>. To create a
- <acronym>RAID</acronym>-Z pool, issue the following
- command:</para>
+ <para>Zoals eerder opgemerkt wordt in deze sectie aangenomen
+ dat er twee <acronym>SCSI</acronym>-schijven bestaan als de
+ apparaten <devicename>da0</devicename> en
+ <devicename>da1</devicename>. Voer het volgende commando uit
+ om een <acronym>RAID</acronym>-Z-pool te
+ creëren:</para>
<screen>&prompt.root; <userinput>zpool create storage raidz da0 da1</userinput></screen>
- <para>The <literal>storage</literal> zpool should have been
- created. This may be verified by using the &man.mount.8; and
- &man.df.1; commands as before. More disk devices may have
- been allocated by adding them to the end of the list above.
- Make a new file system in the pool, called
- <literal>home</literal> where user files will eventually be
- placed:</para>
+ <para>De <literal>storage</literal> zpool zou gecreëerd
+ moeten zijn. Dit kan worden geverifieerd met de
+ &man.mount.8; en &man.df.1; commando's zoals eerder. Er
+ kunnen meer schijfapparaten worden toegewezen door ze aan het
+ einde van de bovenstaande lijst toe te voegen.
+ Maak een nieuw bestandssysteem in de pool, genaamd
+ <literal>home</literal> waar op den duur de
+ gebruikersbestanden geplaatst zullen worden:</para>
<screen>&prompt.root; <userinput>zfs create storage/home</userinput></screen>
- <para>It is now possible to enable compression and keep extra
- copies of the user's home directories and files. This may
- be accomplished just as before using the following
- commands:</para>
+ <para>Het is nu mogelijk om compressie in te schakelen en extra
+ kopieën te bewaren van de gebruikersmappen en
+ -bestanden. Dit kan net als eerder worden bewerkstelligd
+ door de volgende commando's uit te voeren:</para>
<screen>&prompt.root; <userinput>zfs set copies=2 storage/home</userinput>
&prompt.root; <userinput>zfs set compression=gzip storage/home</userinput></screen>
- <para>To make this the new home directory for users, copy the
- user data to this directory, and create the appropriate
- symbolic links:</para>
+ <para>Kopieer, om dit als de nieuwe home-map voor gebruikers in
+ te stellen, de gebruikersgegevens naar deze map en
+ creëer de benodigde links:</para>
<screen>&prompt.root; <userinput>cp -rp /home/* /storage/home</userinput>
&prompt.root; <userinput>rm -rf /home /usr/home</userinput>
&prompt.root; <userinput>ln -s /storage/home /home</userinput>
&prompt.root; <userinput>ln -s /storage/home /usr/home</userinput></screen>
- <para>Users should now have their data stored on the freshly
- created <filename class="directory">/storage/home</filename>
- file system. Test by adding a new user and logging in as
- that user.</para>
+ <para>De gebruikersgegevens zouden nu op het nieuw aangemaakte
+ <filename class="directory">/storage/home</filename>
+ bestandssysteem moeten staan. Test dit door een nieuwe
+ gebruiker aan te maken en daarmee in te loggen.</para>
- <para>Try creating a snapshot which may be rolled back
- later:</para>
+ <para>Probeer een snapshot te maken dat later weer hersteld kan
+ worden:</para>
<screen>&prompt.root; <userinput>zfs snapshot storage/home at 08-30-08</userinput></screen>
- <para>Note that the snapshot option will only capture a real
- file system, not a home directory or a file. The
- <literal>@</literal> character is a delimiter used between
- the file system name or the volume name. When a user's
- home directory gets trashed, restore it with:</para>
+ <para>Merk op dat de snapshot-optie alleen een echt
+ bestandssysteem vastlegt, geen mappen of bestanden. Het
+ <literal>@</literal>-karakter wordt gebruikt als
+ scheidingsteken tussen de naam van het bestandssysteem of de
+ naam van het volume. Wanneer de home-map van een gebruiker
+ wordt weggegooid, kan deze worden hersteld met:</para>
<screen>&prompt.root; <userinput>zfs rollback storage/home at 08-30-08</userinput></screen>
- <para>To get a list of all available snapshots, run the
- <command>ls</command> in the file system's
+ <para>Voer <command>ls</command> in de
<filename class="directory">.zfs/snapshot</filename>
- directory. For example, to see the previously taken
- snapshot, perform the following command:</para>
+ directory van het bestandssysteem uit om een lijst van alle
+ beschikbare snapshots te krijgen. Voer, om bijvoorbeeld
+ het zojuist gemaakte snapshot te zien, het volgende commando
+ uit:</para>
<screen>&prompt.root; <userinput>ls /storage/home/.zfs/snapshot</userinput></screen>
- <para>It is possible to write a script to perform monthly
- snapshots on user data; however, over time, snapshots
- may consume a great deal of disk space. The previous
- snapshot may be removed using the following command:</para>
+ <para>Het is mogelijk om een script te schrijven dat
+ maandelijks een snapshot van de gebruikersgegevens maakt; na
+ verloop van tijd kunnen snapshots echter een grote
+ hoeveelheid schrijfruimte in beslag nemen. Het vorige
+ snapshot kan worden verwijderd met het volgende
+ commando:</para>
<screen>&prompt.root; <userinput>zfs destroy storage/home at 08-30-08</userinput></screen>
- <para>There is no reason, after all of this testing, we should
- keep <filename class="directory">/storage/home</filename>
- around in its present state. Make it the real
- <filename class="directory">/home</filename> file
- system:</para>
+ <para>Na al dit testen is er geen reden om
+ <filename class="directory">/storage/home</filename> in zijn
+ huidige staat nog te bewaren. Maak er het echte
+ <filename class="directory">/home</filename>
+ bestandssysteem van:</para>
<screen>&prompt.root; <userinput>zfs set mountpoint=/home storage/home</userinput></screen>
- <para>Issuing the <command>df</command> and
- <command>mount</command> commands will show that the system
- now treats our file system as the real
- <filename class="directory">/home</filename>:</para>
+ <para>Het uitvoeren van de commando's <command>df</command> en
+ <command>mount</command> laat zien dat het systeem ons
+ bestandssysteem nu als de echte <filename
+ class="directory">/home</filename> behandelt:</para>
<screen>&prompt.root; <userinput>mount</userinput>
/dev/ad0s1a on / (ufs, local)
@@ -451,32 +482,33 @@
storage 17547008 0 17547008 0% /storage
storage/home 17547008 0 17547008 0% /home</screen>
- <para>This completes the <acronym>RAID</acronym>-Z
- configuration. To get status updates about the file systems
- created during the nightly &man.periodic.8; runs, issue the
- following command:</para>
+ <para>Hiermee is de <acronym>RAID</acronym>-Z configuratie
+ compleet. Voer het volgende commando uit om status-updates
+ van de gecreëerde bestandssystemen te krijgen tijdens
+ het draaien van de nachtelijke &man.periodic.8;:</para>
<screen>&prompt.root; <userinput>echo 'daily_status_zfs_enable="YES"' >> /etc/periodic.conf</userinput></screen>
</sect3>
<sect3>
- <title>Recovering <acronym>RAID</acronym>-Z</title>
+ <title>Het herstellen van <acronym>RAID</acronym>-Z</title>
- <para>Every software <acronym>RAID</acronym> has a method of
- monitoring their <literal>state</literal>.
- <acronym>ZFS</acronym> is no exception. The status of
- <acronym>RAID</acronym>-Z devices may be viewed with the
- following command:</para>
+ <para>Iedere software-<acronym>RAID</acronym> heeft een methode
+ om zijn <literal>status</literal> te inspecteren.
+ <acronym>ZFS</acronym> is geen uitzondering. De status van
+ <acronym>RAID</acronym>-Z-apparaten kan worden
+ geïnspecteerd met het volgende commando:</para>
<screen>&prompt.root; <userinput>zpool status -x</userinput></screen>
- <para>If all pools are healthy and everything is normal, the
- following message will be returned:</para>
+ <para>Als alle pools in orde zijn en alles is normaal, dan
+ wordt het volgende bericht weergegeven:</para>
<screen>all pools are healthy</screen>
- <para>If there is an issue, perhaps a disk has gone offline,
- the pool state will be returned and look similar to:</para>
+ <para>Als er een probleem is, misschien een schijf die offine
+ is gegaan, dan wordt de status van de pool weergegeven en dat
+ zal er als volgt uitzien:</para>
<screen> pool: storage
state: DEGRADED
@@ -496,23 +528,24 @@
errors: No known data errors</screen>
- <para>This states that the device was taken offline by the
- administrator. This is true for this particular example.
- To take the disk offline, the following command was
- used:</para>
+ <para>Hier staat dat het apparaat offline is gezet door de
+ beheerder. Dat is waar voor dit specifieke voorbeeld. Om de
+ schijf offline te zetten werd het volgende commando
+ gebruikt:</para>
<screen>&prompt.root; <userinput>zpool offline storage da1</userinput></screen>
- <para>It is now possible to replace the
- <devicename>da1</devicename> after the system has been
- powered down. When the system is back online, the following
- command may issued to replace the disk:</para>
+ <para>Het is nu mogelijk om de schijf
+ <devicename>da1</devicename> te vervangen nadat het systeem
+ uitgeschakeld is. Zodra het systeem weer opgestart is, kan
+ het volgende commando worden uitgevoerd om de schijf te
+ vervangen:</para>
<screen>&prompt.root; <userinput>zpool replace storage da1</userinput></screen>
- <para>From here, the status may be checked again, this time
- without the <option>-x</option> flag to get state
- information:</para>
+ <para>Nu kan de status opnieuw geïnspecteerd worden,
+ dit keer zonder de <option>-x</option> vlag, om de
+ statusinformatie op te vragen:</para>
<screen>&prompt.root; <userinput>zpool status storage</userinput>
pool: storage
@@ -528,38 +561,42 @@
errors: No known data errors</screen>
- <para>As shown from this example, everything appears to be
- normal.</para>
+ <para>Zoals te zien in dit voorbeeld lijkt alles normaal te
+ zijn.</para>
</sect3>
<sect3>
- <title>Data Verification</title>
+ <title>Gegevensverificatie</title>
- <para>As previously mentioned, <acronym>ZFS</acronym> uses
- <literal>checksums</literal> to verify the integrity of
- stored data. They are enabled automatically upon creation
- of file systems and may be disabled using the following
- command:</para>
+ <para>Zoals eerder opgemerkt gebruikt <acronym>ZFS</acronym>
+ <literal>checksums</literal> om de integriteit van opgeslagen
+ gegevens te verifiëren. Ze worden automatisch
+ ingeschakeld bij het creëren van bestandssystemen en
+ kunnen worden uitgeschakeld door middel van het volgende
+ commando:</para>
<screen>&prompt.root; <userinput>zfs set checksum=off storage/home</userinput></screen>
- <para>This is not a wise idea; however, as checksums take
- very little storage space and are more useful enabled. There
- also appear to be no noticeable costs having them enabled.
- While enabled, it is possible to have <acronym>ZFS</acronym>
- check data integrity using checksum verification. This
- process is known as <quote>scrubing.</quote> To verify the
- data integrity of the <literal>storage</literal> pool, issue
- the following command:</para>
+ <para>Dit is echter geen verstandig idee, omdat checksums zeer
+ weinig opslagruimte innemen en nuttiger zijn wanneer ze zijn
+ ingeschakeld. Het lijkt daarnaast ook geen merkbare invloed
+ op de prestaties te hebben wanneer ze zijn ingeschakeld.
+ Wanneer ze aanstaan is het mogelijk om <acronym>ZFS</acronym>
+ gegevensintegriteit te laten controleren door middel van
+ checksum-verificatie. Dit proces staat bekend als
+ <quote>scrubbing</quote>. Voer het volgende commando uit om
+ de gegevensintegriteit van de <literal>storage</literal>-pool
+ te controleren:</para>
<screen>&prompt.root; <userinput>zpool scrub storage</userinput></screen>
- <para>This process may take considerable time depending on
- the amount of data stored. It is also very
- <acronym>I/O</acronym> intensive, so much that only one
- of these operations may be run at any given time. After
- the scrub has completed, the status is updated and may be
- viewed by issuing a status request:</para>
+ <para>Dit proces kan, afhankelijk van de hoeveelheid opgeslagen
+ gegevens, een aanzienlijke hoeveelheid tijd in beslag nemen.
+ Het is daarnaast ook zeer <acronym>I/O</acronym>-intensief,
+ zozeer dat slechts één van deze operaties
+ tegelijkertijd uitgevoerd kan worden. Nadat de scrub is
+ voltooid wordt de status bijgewerkt en kan deze worden
+ bekeken door een statusaanvraag te doen:</para>
<screen>&prompt.root; <userinput>zpool status storage</userinput>
pool: storage
@@ -575,61 +612,41 @@
errors: No known data errors</screen>
- <para>The completion time is in plain view in this example.
- This feature helps to ensure data integrity over a long
- period of time.</para>
+ <para>De voltooiingstijd is in dit voorbeeld duidelijk
+ zichtbaar. Deze eigenschap helpt om gegevensintegriteit te
+ garanderen gedurende een langere tijdsperiode.</para>
- <para>There are many more options for the Z file system,
- see the &man.zfs.8; and &man.zpool.8; manual
- pages.</para>
+ <para>Er zijn vele andere opties for het Z-bestandssysteem, zie
+ de &man.zfs.8; en &man.zpool.8; manualpagina's.</para>
</sect3>
</sect2>
</sect1>
- <!--
- XXXTR: stub sections (added later, as needed, as desire,
- after I get opinions from -doc people):
+ <!--
+ <sect1>
+ <title>* Apparaat-bestandssystemen</title>
- Still need to discuss native and foreign file systems.
-
- <sect1>
- <title>Device File System</title>
+ <para>* Wordt nog vertaald.</para>
</sect1>
<sect1>
- <title>DOS and NTFS File Systems</title>
- <para>This is a good section for those who transfer files, using
- USB devices, from Windows to FreeBSD and vice-versa. My camera,
- and many other cameras I have seen default to using FAT16. There
- is (was?) a kde utility, I think called kamera, that could be used
- to access camera devices. A section on this would be useful.</para>
+ <title>* De DOS- en NTFS-bestandssystemen</title>
- <para>XXXTR: Though! The disks chapter, covers a bit of this and
- devfs under it's USB devices. It leaves a lot to be desired though,
- see:
-http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html
- It may be better to flesh out that section a bit more. Add the
- word "camera" to it so that others can easily notice.</para>
+ <para>* Wordt nog vertaald.</para>
</sect1>
<sect1>
- <title>Linux EXT File System</title>
+ <title>* Het Linux EXT-bestandssysteem</title>
- <para>Probably NOT as useful as the other two, but it requires
- knowledge of the existence of the tools. Which are hidden in
- the ports collection. Most Linux guys would probably only use
- Linux, BSD guys would be smarter and use NFS.</para>
+ <para>* Wordt nog vertaald.</para>
</sect1>
<sect1>
- <title>HFS</title>
+ <title>* HFS</title>
- <para>I think this is the file system used on Apple OSX. There are
- tools in the ports collection, and with Apple being a big
- FreeBSD supporter and user of our technologies, surely there
- is enough cross over to cover this?</para>
+ <para>* Wordt nog vertaald.</para>
</sect1>
- -->
+-->
</chapter>
More information about the p4-projects
mailing list