svn commit: r39492 - head/zh_CN.GB2312/books/handbook/geom
Fukang Chen
loader at FreeBSD.org
Mon Sep 3 07:51:58 UTC 2012
Author: loader
Date: Mon Sep 3 07:51:57 2012
New Revision: 39492
URL: http://svn.freebsd.org/changeset/doc/39492
Log:
MFen: r38383 -> r38401
Language improvements. [1]
Merging work done by: delphij
Submitted by: Yanhui Shen (shen.elf at gmail dot com) [1]
Obtained from: The FreeBSD Simplified Chinese Project
Modified:
head/zh_CN.GB2312/books/handbook/geom/chapter.sgml
Modified: head/zh_CN.GB2312/books/handbook/geom/chapter.sgml
==============================================================================
--- head/zh_CN.GB2312/books/handbook/geom/chapter.sgml Sun Sep 2 14:24:49 2012 (r39491)
+++ head/zh_CN.GB2312/books/handbook/geom/chapter.sgml Mon Sep 3 07:51:57 2012 (r39492)
@@ -2,7 +2,7 @@
The FreeBSD Documentation Project
The FreeBSD Simplified Chinese Project
- Original Revision: 1.50
+ Original Revision: r38401
$FreeBSD$
-->
@@ -151,11 +151,12 @@
<screen>&prompt.root; <userinput>mkdir /mnt</userinput></screen>
</step>
- <step><para>È·¶¨½«±»×ö³ÉÌõ´ø¾íµÄ´ÅÅ̵ÄÉ豸Ãû£¬
- ²¢´´½¨ÐµÄÌõ´øÉ豸¡£ ¾ÙÀý¶øÑÔ£¬
- Òª½«Á½¸öδÓõġ¢ ÉÐδ·ÖÇøµÄ <acronym>ATA</acronym> ´ÅÅÌ
- <filename>/dev/ad2</filename> ºÍ
- <filename>/dev/ad3</filename> ×ö³ÉÒ»¸öÌõ´øÉ豸£º</para>
+ <step>
+ <para>È·¶¨½«±»×ö³ÉÌõ´ø¾íµÄ´ÅÅ̵ÄÉ豸Ãû£¬
+ ²¢´´½¨ÐµÄÌõ´øÉ豸¡£ ¾ÙÀý¶øÑÔ£¬
+ Òª½«Á½¸öδÓõġ¢ ÉÐδ·ÖÇøµÄ <acronym>ATA</acronym> ´ÅÅÌ
+ <filename>/dev/ad2</filename> ºÍ
+ <filename>/dev/ad3</filename> ×ö³ÉÒ»¸öÌõ´øÉ豸£º</para>
<screen>&prompt.root; <userinput>gstripe label -v st0 /dev/ad2 /dev/ad3</userinput>
Metadata value stored on /dev/ad2.
@@ -164,45 +165,47 @@ Done.</screen>
</step>
- <step><para>½Ó×ÅÐèҪд±ê×¼µÄ label£¬ Ò²¾ÍÊÇͨ³£Ëù˵µÄ·ÖÇø±íµ½Ð¾íÉÏ£¬
- ²¢°²×°±ê×¼µÄÒýµ¼´úÂ룺</para>
+ <step>
+ <para>½Ó×ÅÐèҪд±ê×¼µÄ label£¬ Ò²¾ÍÊÇͨ³£Ëù˵µÄ·ÖÇø±íµ½Ð¾íÉÏ£¬
+ ²¢°²×°±ê×¼µÄÒýµ¼´úÂ룺</para>
<screen>&prompt.root; <userinput>bsdlabel -wB /dev/stripe/st0</userinput></screen>
+ <step>
+ <para>ÉÏÊö¹ý³Ì½«ÔÚ
+ <filename class="directory">/dev/stripe</filename>
+ Ŀ¼ÖÐµÄ <devicename>st0</devicename> É豸»ù´¡ÉϽ¨Á¢Á½¸öÐÂÉ豸¡£
+ Õâ°üÀ¨ <devicename>st0a</devicename> ºÍ
+ <devicename>st0c</devicename>¡£ Õâʱ£¬ ¾Í¿ÉÒÔÔÚ
+ <devicename>st0a</devicename> É豸ÉÏÓÃÏÂÊö
+ <command>newfs</command> ÃüÁîÀ´½¨Á¢ÎļþϵͳÁË£º</para>
+
+ <screen>&prompt.root; <userinput>newfs -U /dev/stripe/st0a</userinput></screen>
+
+ <para>ÔÚÆÁÄ»ÉϽ«¹ö¹ýһЩÊý×Ö£¬ Õû¸ö²Ù×÷Ó¦¸ÃÄÜÔÚÊýÃëÄÚÍê³É¡£
+ ÏÖÔÚ¿ÉÒÔ¹Ò½Ó¸Õ¸Õ×öºÃµÄ¾íÁË¡£</para>
</step>
- <step><para>ÉÏÊö¹ý³Ì½«ÔÚ
- <filename class="directory">/dev/stripe</filename>
- Ŀ¼ÖÐµÄ <devicename>st0</devicename> É豸»ù´¡ÉϽ¨Á¢Á½¸öÐÂÉ豸¡£
- Õâ°üÀ¨ <devicename>st0a</devicename> ºÍ
- <devicename>st0c</devicename>¡£ Õâʱ£¬ ¾Í¿ÉÒÔÔÚ
- <devicename>st0a</devicename> É豸ÉÏÓÃÏÂÊö
- <command>newfs</command> ÃüÁîÀ´½¨Á¢ÎļþϵͳÁË£º</para>
-
- <screen>&prompt.root; <userinput>newfs -U /dev/stripe/st0a</userinput></screen>
-
- <para>ÔÚÆÁÄ»ÉϽ«¹ö¹ýһЩÊý×Ö£¬ Õû¸ö²Ù×÷Ó¦¸ÃÄÜÔÚÊýÃëÄÚÍê³É¡£
- ÏÖÔÚ¿ÉÒÔ¹Ò½Ó¸Õ¸Õ×öºÃµÄ¾íÁË¡£</para>
- </step>
</procedure>
<para>Òª¹Ò½Ó¸Õ´´½¨µÄÌõ´øÅÌ£º</para>
<screen>&prompt.root; <userinput>mount /dev/stripe/st0a /mnt</userinput></screen>
- <para>ÒªÔÚÆô¶¯¹ý³ÌÖÐ×Ô¶¯¹Ò½ÓÕâ¸öÌõ´øÉϵÄÎļþϵͳ£¬
- ÐèÒª°Ñ¹ØÓÚ¾íµÄÐÅÏ¢·Åµ½
- <filename>/etc/fstab</filename> ÎļþÖС£Îª´ïµ½´ËÄ¿µÄ£¬
- ÐèÒª´´½¨Ò»¸ö½Ð <filename class="directory">stripe</filename>
- ÓÀ¾ÃµÄ¹ÒÔص㣺</para>
+ <para>ÒªÔÚÆô¶¯¹ý³ÌÖÐ×Ô¶¯¹Ò½ÓÕâ¸öÌõ´øÉϵÄÎļþϵͳ£¬
+ ÐèÒª°Ñ¹ØÓÚ¾íµÄÐÅÏ¢·Åµ½
+ <filename>/etc/fstab</filename> ÎļþÖС£Îª´ïµ½´ËÄ¿µÄ£¬
+ ÐèÒª´´½¨Ò»¸ö½Ð
+ <filename class="directory">stripe</filename>
+ µÄÓÀ¾ÃµÄ¹ÒÔص㣺</para>
<screen>&prompt.root; <userinput>mkdir /stripe</userinput>
&prompt.root; <userinput>echo "/dev/stripe/st0a /stripe ufs rw 2 2" \</userinput>
<userinput>>> /etc/fstab</userinput></screen>
- <para>´ËÍ⣬ <filename>geom_stripe.ko</filename> Ä£¿éÒ²±ØÐëͨ¹ýÔÚ
- <filename>/boot/loader.conf</filename> ÖÐÔö¼ÓÏÂÊöÉèÖã¬
- ÒÔ±ãÔÚϵͳ³õʼ»¯¹ý³ÌÖÐ×Ô¶¯¼ÓÔØ¡£</para>
+ <para>´ËÍ⣬ <filename>geom_stripe.ko</filename> Ä£¿éÒ²±ØÐëͨ¹ýÔÚ
+ <filename>/boot/loader.conf</filename> ÖÐÔö¼ÓÏÂÊöÉèÖã¬
+ ÒÔ±ãÔÚϵͳ³õʼ»¯¹ý³ÌÖÐ×Ô¶¯¼ÓÔØ£º</para>
<screen>&prompt.root; <userinput>echo 'geom_stripe_load="YES"' >> /boot/loader.conf</userinput></screen>
@@ -219,8 +222,8 @@ Done.</screen>
</indexterm>
<para>¾µÏñÊÇÐí¶à¹«Ë¾ºÍ¼ÒÍ¥Óû§Ê¹ÓõÄÒ»ÖÖÎÞÐëÖжϵı¸·Ý¼¼Êõ¡£
- ¼òµ¥µØ˵£¬ ¾µÏñµÄ¸ÅÄî¾ÍÊÇ ´ÅÅÌB ÊÇͬ²½¸´ÖÆ (replicate) µÄ ´ÅÅÌA µÄ¸±±¾£¬ »òÕß ´ÅÅÌC+D
- ÊÇ diskA+B µÄͬ²½¸´ÖƸ±±¾£¬ µÈµÈ¡£ ÎÞÂÛ´ÅÅÌÅäÖÃÈçºÎ£¬
+ ¼òµ¥µØ˵£¬ ¾µÏñµÄ¸ÅÄî¾ÍÊÇ ´ÅÅÌB ÊÇͬ²½¸´ÖÆ (replicate) µÄ ´ÅÅÌA µÄ¸±±¾£¬
+ »òÕß ´ÅÅÌC+D ÊÇ diskA+B µÄͬ²½¸´ÖƸ±±¾£¬ µÈµÈ¡£ ÎÞÂÛ´ÅÅÌÅäÖÃÈçºÎ£¬
ÕâÖÖ¼¼ÊõµÄ¹²Í¬Ìص㶼ÊÇÒ»¿é´ÅÅÌ»ò·ÖÇøµÄÄÚÈÝ»áͬ²½¸´ÖƵ½ÁíÍâµÄµØ·½¡£
ÕâÑù£¬ ³ýÁËÄܹ»ºÜÈÝÒ׵ػָ´ÐÅÏ¢Ö®Í⣬
»¹Äܹ»ÔÚÎÞÐëÖжϷþÎñ»ò·ÃÎʵÄÇé¿öϽøÐб¸·Ý£¬
@@ -249,9 +252,13 @@ Done.</screen>
<filename class="devicefile">/dev/mirror/gm</filename> É豸£º</para>
<warning>
- <para>Èç¹ûÓÐÊý¾Ý±»´æ·ÅÔÚ´ÅÅÌ×îºóµÄÉÈÇø£¬
- ²¢ÔÚÆô¶¯É豸ÉÏ´´½¨¾µÏñµÄ»°¿ÉÄܵ¼ÖÂÊý¾Ý¶ªÊ§¡£
- ÔÚа²×° &os; Ö®ºóÁ¢¼´´´½¨¾µÏñ¿ÉÒÔ¼õµÍ´Ë·çÏÕ¡£</para>
+ <para>ÔÚÒýµ¼ÓõÄÉ豸»ù´¡ÉÏн¨¾µÏñʱ£¬
+ ÓпÉÄܻᵼÖ±£´æÔÚ´ÅÅÌÉÏ×îºóÒ»¸öÉÈÇøµÄÊý¾Ý¶ªÊ§¡£
+ ÔÚа²×° &os; Ö®ºóÁ¢¼´´´½¨¾µÏñ¿ÉÒÔ¼õµÍ´Ë·çÏÕ¡£
+ ÏÂÃæµÄ²Ù×÷ÓëĬÈ쵀 &os; 9.<replaceable>X</replaceable>
+ °²×°¹ý³Ì²»¼æÈÝ£¬ ÒòΪËü²ÉÓÃÁËÐ嵀 <acronym>GPT</acronym>
+ ·ÖÇø¸ñʽ¡£ GEOM »á¸²¸Ç <acronym>GPT</acronym> ÔªÊý¾Ý£¬
+ Õâ»áµ¼ÖÂÊý¾Ý¶ªÊ§£¬ ²¢ÓпÉÄܵ¼ÖÂϵͳÎÞ·¨Òýµ¼¡£</para>
</warning>
<screen>&prompt.root; <userinput>gmirror label -vb round-robin gm0 /dev/da0</userinput></screen>
@@ -287,11 +294,11 @@ Done.</screen>
<screen>&prompt.root; <userinput>vi /etc/fstab</userinput></screen>
- <para>ÔÚ &man.vi.1; Öб¸·ÝÏÖÓеÄ
+ <para>ÔÚ &man.vi.1; Öб¸·ÝÏÖÓеÄ
<filename>fstab</filename> ÄÚÈÝ£¬ ¾ßÌå²Ù×÷ÊÇ
<userinput>:w /etc/fstab.bak</userinput>¡£ ½Ó×Å£¬
- °ÑËùÓÐ¾ÉµÄ <devicename>da0</devicename> Ìæ»»³É <devicename>gm0</devicename>£¬
- Ò²¾ÍÊÇÊäÈëÃüÁî
+ °ÑËùÓÐ¾ÉµÄ <devicename>da0</devicename>
+ Ìæ»»³É <devicename>gm0</devicename>£¬ Ò²¾ÍÊÇÊäÈëÃüÁî
<userinput>:%s/da/mirror\/gm/g</userinput>¡£</para>
</note>
@@ -300,14 +307,14 @@ Done.</screen>
ÉõÖÁ <acronym>RAID</acronym> ¶¼Ã»ÓйØϵ£¬ ×îÖյĽá¹û¶¼ÊÇ
<devicename>gm</devicename>¡£</para>
- <programlisting># Device Mountpoint FStype Options Dump Pass#
-/dev/mirror/gm0s1b none swap sw 0 0
-/dev/mirror/gm0s1a / ufs rw 1 1
-/dev/mirror/gm0s1d /usr ufs rw 0 0
-/dev/mirror/gm0s1f /home ufs rw 2 2
-#/dev/mirror/gm0s2d /store ufs rw 2 2
-/dev/mirror/gm0s1e /var ufs rw 2 2
-/dev/acd0 /cdrom cd9660 ro,noauto 0 0</programlisting>
+ <programlisting># Device Mountpoint FStype Options Dump Pass#
+/dev/mirror/gm0s1b none swap sw 0 0
+/dev/mirror/gm0s1a / ufs rw 1 1
+/dev/mirror/gm0s1d /usr ufs rw 0 0
+/dev/mirror/gm0s1f /home ufs rw 2 2
+#/dev/mirror/gm0s2d /store ufs rw 2 2
+/dev/mirror/gm0s1e /var ufs rw 2 2
+/dev/acd0 /cdrom cd9660 ro,noauto 0 0</programlisting>
<para>ÖØÆôϵͳ£º</para>
@@ -367,8 +374,8 @@ mountroot></programlisting>
OK? <userinput>boot</userinput></screen>
<para>Èç¹ûÕâÑù×öÄܽâ¾öÎÊÌ⣬ Ôò˵Ã÷ÓÉÓÚijÖÖÔÒòÄ£¿éûÓб»ÕýÈ·¼ÓÔØ¡£
- ¼ì²é <filename>/boot/loader.conf</filename> ÖÐÏà¹ØÌõÄ¿ÊÇ·ñÕýÈ·¡£
- Èç¹ûÎÊÌâÈÔÈ»´æÔÚ£¬¿ÉÒÔÔÚÄÚºËÅäÖÃÎļþÖмÓÈ룺</para>
+ ¼ì²é <filename>/boot/loader.conf</filename> ÖÐÏà¹ØÌõÄ¿ÊÇ·ñÕýÈ·¡£
+ Èç¹ûÎÊÌâÈÔÈ»´æÔÚ£¬¿ÉÒÔÔÚÄÚºËÅäÖÃÎļþÖмÓÈ룺</para>
<programlisting>options GEOM_MIRROR</programlisting>
@@ -398,6 +405,156 @@ OK? <userinput>boot</userinput></screen>
</sect2>
</sect1>
+ <sect1 id="GEOM-raid3">
+ <sect1info>
+ <authorgroup>
+ <author>
+ <firstname>Mark</firstname>
+ <surname>Gladman</surname>
+ <contrib>Written by </contrib>
+ </author>
+ <author>
+ <firstname>Daniel</firstname>
+ <surname>Gerzo</surname>
+ </author>
+ </authorgroup>
+ <authorgroup>
+ <author>
+ <firstname>Tom</firstname>
+ <surname>Rhodes</surname>
+ <contrib>Based on documentation by </contrib>
+ </author>
+ <author>
+ <firstname>Murray</firstname>
+ <surname>Stokely</surname>
+ </author>
+ </authorgroup>
+ </sect1info>
+
+ <indexterm>
+ <primary>GEOM</primary>
+ </indexterm>
+ <indexterm>
+ <primary>RAID3</primary>
+ </indexterm>
+
+ <title><acronym>RAID</acronym>3 - ʹÓÃרÓÃУÑéÉ豸µÄ×Ö½Ú¼¶Ìõ´ø</title>
+
+ <para><acronym>RAID</acronym>3 ÊÇÒ»ÖÖ½«¶à¸ö´ÅÅÌ×é³ÉÒ»¸ö¾íµÄ¼¼Êõ£¬
+ ÔÚÕâ¸öÅäÖÃÖаüº¬Ò»¸öרÓÃÓÚУÑéµÄÅÌ¡£
+ ÔÚ <acronym>RAID</acronym>3 ϵͳÖУ¬
+ Êý¾Ý»áÒÔ×Ö½ÚΪµ¥Î»²ð·Ö²¢Ð´Èë³ýУÑéÅÌÖ®ÍâµÄÈ«²¿Çý¶¯Æ÷ÖС£ ÕâÒâζ×Å´Ó
+ <acronym>RAID</acronym>3 ÖжÁÈ¡Êý¾Ýʱ½«»á·ÃÎÊËùÓеÄÇý¶¯Æ÷¡£
+ ²ÉÓöà¸ö´ÅÅÌ¿ØÖÆÆ÷¿ÉÒÔ½øÒ»²½¸ÄÉÆÐÔÄÜ¡£ <acronym>RAID</acronym>3
+ ÕóÁÐ×î¶à¿ÉÒÔÈÝÈÌÆäÖÐµÄ 1 ¸öÇý¶¯Æ÷³öÏÖ¹ÊÕÏ£¬
+ Ëü¿ÉÒÔÌṩȫ²¿Çý¶¯Æ÷×ÜÈÝÁ¿µÄ 1 - 1/n£¬
+ ´Ë´¦ n ÊÇÕóÁÐÖеĴÅÅÌÊýÁ¿¡£ ÕâÀàÅäÖñȽÏÊʺϱ£´æ´óÈÝÁ¿µÄÊý¾Ý£¬
+ ÀýÈç¶àýÌåÎļþ¡£</para>
+
+ <para>ÔÚ½¨Á¢
+ <acronym>RAID</acronym>3 ÕóÁÐʱ£¬ ÖÁÉÙÐèÒª 3 ¿é´ÅÅÌ¡£
+ ËùÓеÄÅ̵ijߴç±ØÐëÒ»Ö£¬ ÒòΪ I/O ÇëÇó»á²¢·¢·ÖÅɵ½²»Í¬µÄÅÌÉÏ¡£
+ ÁíÍ⣬ ÓÉÓÚ
+ <acronym>RAID</acronym>3 ±¾ÉíµÄÉè¼Æ£¬
+ Å̵ÄÊýÁ¿±ØÐëÇ¡ºÃÊÇ 3, 5, 9, 17, µÈµÈ (2^n + 1)¡£</para>
+
+ <sect2>
+ <title>½¨Á¢×¨ÓÃµÄ <acronym>RAID</acronym>3 ÕóÁÐ</title>
+
+ <para>ÔÚ &os; ÖУ¬ <acronym>RAID</acronym>3
+ ÊÇͨ¹ý &man.graid3.8; <acronym>GEOM</acronym>
+ class ʵÏֵġ£ ÔÚ &os; Öн¨Á¢×¨ÓõÄ
+ <acronym>RAID</acronym>3 ÕóÁÐÐèÒªÏÂÊö²½Öè¡£</para>
+
+ <note>
+ <para>ËäÈ»ÀíÂÛÉÏ´Ó
+ <acronym>RAID</acronym>3 ÕóÁÐÆô¶¯ &os; ÊÇ¿ÉÐеģ¬
+ µ«Õâ²¢²»³£¼û£¬ Ò²²»ÍƼöÄúÕâÑù×ö¡£</para>
+ </note>
+
+ <procedure>
+ <step>
+ <para>Ê×ÏÈ£¬ ÔÚÒýµ¼¼ÓÔØÆ÷ÖÐÓÃÏÂÃæµÄÃüÁî¼ÓÔØ <filename>geom_raid3.ko</filename>
+ ÄÚºËÄ£¿é£º</para>
+
+ <screen>&prompt.root; <userinput>graid3 load</userinput></screen>
+
+ <para>´ËÍ⣬ Ò²¿ÉÒÔͨ¹ýÃüÁîÐÐÊÖ¹¤¼ÓÔØ
+ <filename>geom_raid3.ko</filename> Ä£¿é£º</para>
+
+ <screen>&prompt.root; <userinput>kldload geom_raid3.ko</userinput></screen>
+ </step>
+
+ <step>
+ <para>´´½¨ÓÃÓÚ¹ÒÔؾíµÄ¹ÒµãĿ¼£º</para>
+
+ <screen>&prompt.root; <userinput>mkdir <replaceable>/multimedia/</replaceable></userinput></screen>
+ </step>
+
+ <step>
+ <para>È·¶¨½«Òª¼ÓÈëÕóÁеĴÅÅÌÉ豸Ãû£¬ ²¢´´½¨ÐµÄ
+ <acronym>RAID</acronym>3 É豸¡£ ×îÖÕ£¬ Õâ¸öÉ豸½«´ú±íÕû¸öÕóÁС£
+ ÏÂÃæµÄÀý×ÓʹÓÃÈý¸öδ¾·ÖÇøµÄ
+ <acronym>ATA</acronym> ´ÅÅÌ£º
+ <devicename><replaceable>ada1</replaceable></devicename>
+ ºÍ <devicename><replaceable>ada2</replaceable></devicename>
+ ±£´æÊý¾Ý£¬ ¶ø
+ <devicename><replaceable>ada3</replaceable></devicename>
+ ÓÃÓÚУÑé¡£</para>
+
+ <screen>&prompt.root; <userinput>graid3 label -v gr0 /dev/ada1 /dev/ada2 /dev/ada3</userinput>
+Metadata value stored on /dev/ada1.
+Metadata value stored on /dev/ada2.
+Metadata value stored on /dev/ada3.
+Done.</screen>
+ </step>
+
+ <step>
+ <para>Ϊн¨µÄ
+ <devicename>gr0</devicename> É豸·ÖÇø£¬
+ ²¢ÔÚÆäÉÏ´´½¨ UFS Îļþϵͳ£º</para>
+
+ <screen>&prompt.root; <userinput>gpart create -s GPT /dev/raid3/gr0</userinput>
+&prompt.root; <userinput>gpart add -t freebsd-ufs /dev/raid3/gr0</userinput>
+&prompt.root; <userinput>newfs -j /dev/raid3/gr0p1</userinput></screen>
+
+ <para>ÆÁÄ»ÉÏ»á¹ö¹ýÐí¶àÊý×Ö£¬ Õâ¸ö¹ý³ÌÐèÒªÒ»¶Îʱ¼ä²ÅÄÜÍê³É¡£
+ ´Ëºó£¬ Äú¾ÍÍê³ÉÁË´´½¨¾íµÄÈ«²¿²Ù×÷£¬
+ ¿ÉÒÔ¹ÒÔØËüÁË¡£</para>
+ </step>
+
+ <step>
+ <para>×îºóÒ»²½ÊǹÒÔØÎļþϵͳ£º</para>
+
+ <screen>&prompt.root; <userinput>mount /dev/raid3/gr0p1 /multimedia/</userinput></screen>
+
+ <para>ÏÖÔÚ¿ÉÒÔʹÓà <acronym>RAID</acronym>3 ÕóÁÐÁË¡£</para>
+ </step>
+ </procedure>
+
+ <para>ΪÁËÈÃÉÏÊöÅäÖÃÔÚϵͳÖØÆôºó¼ÌÐø¿ÉÓ㬠»¹ÐèÒª½øÐÐһЩ¶îÍâµÄÅäÖòÙ×÷¡£</para>
+
+ <procedure>
+ <step>
+ <para>ÔÚ¹ÒÔؾí֮ǰ±ØÐëÊ×ÏȼÓÔØ <filename>geom_raid3.ko</filename> Ä£¿é¡£
+ ½«ÏÂÃæµÄÅäÖÃÌí¼Óµ½
+ <filename>/boot/loader.conf</filename> ÎļþÖУ¬
+ ¿ÉÒÔÈÃϵͳÔÚÒýµ¼¹ý³ÌÖÐ×Ô¶¯¼ÓÔØÕâ¸öÄ£¿é£º</para>
+
+ <programlisting>geom_raid3_load="YES"</programlisting>
+ </step>
+
+ <step>
+ <para>ÄúÐèÒªÔÚ
+ <filename>/etc/fstab</filename> ÎļþÖмÓÈëÏÂÁÐÅäÖã¬
+ ÒÔ±ãÈÃϵͳÒýµ¼Ê±×Ô¶¯¹ÒÔØÕóÁÐÉϵÄÎļþϵͳ£º</para>
+
+ <programlisting>/dev/raid3/gr0p1 /multimedia ufs rw 2 2</programlisting>
+ </step>
+ </procedure>
+ </sect2>
+ </sect1>
+
<sect1 id="geom-ggate">
<title>GEOM Gate ÍøÂçÉ豸</title>
@@ -489,25 +646,25 @@ ggate0
<title>±êÇ©ÀàÐͺÍʹÓÃʾ·¶</title>
<para>ÓÐÁ½ÖÖÀàÐ͵ıêÇ©£¬ Ò»ÖÖÊÇÆÕͨ±êÇ©£¬ ÁíÒ»ÖÖÊÇÎļþϵͳ±êÇ©¡£
- ±êÇ©¿ÉÒÔÊÇÓÀ¾ÃÐԵĻòÔÝʱÐԵġ£ÓÀ¾ÃÐԵıêÇ©¿ÉÒÔͨ¹ý
- &man.tunefs.8; »ò &man.newfs.8; ÃüÁî´´¼ü¡£¸ù¾ÝÎļþϵͳµÄÀàÐÍ£¬
- ËüÃǽ«ÔÚ <filename class="directory">/dev</filename>
- ϵÄÒ»¸ö×ÓĿ¼Öб»´´½¨¡£ÀýÈ磬
+ ±êÇ©¿ÉÒÔÊÇÓÀ¾ÃÐԵĻòÔÝʱÐԵġ£ÓÀ¾ÃÐԵıêÇ©¿ÉÒÔͨ¹ý
+ &man.tunefs.8; »ò &man.newfs.8; ÃüÁî´´¼ü¡£¸ù¾ÝÎļþϵͳµÄÀàÐÍ£¬
+ ËüÃǽ«ÔÚ <filename class="directory">/dev</filename>
+ ϵÄÒ»¸ö×ÓĿ¼Öб»´´½¨¡£ÀýÈ磬
<acronym>UFS</acronym>2 ÎļþϵͳµÄ±êÇ©»á´´½¨µ½
<filename class="directory">/dev/ufs</filename>
Ŀ¼ÖС£ÓÀ¾ÃÐԵıêÇ©»¹¿ÉÒÔʹÓà <command>glabel label</command>
- ´´½¨¡£ËüÃDz»ÔÙÊÇÎļþϵͳÌض¨µÄ£¬¶øÊÇ»áÔÚ
- <filename class="directory">/dev/label</filename>
- Ŀ¼Öб»´´½¨¡£</para>
+ ´´½¨¡£ËüÃDz»ÔÙÊÇÎļþϵͳÌض¨µÄ£¬¶øÊÇ»áÔÚ
+ <filename class="directory">/dev/label</filename>
+ Ŀ¼Öб»´´½¨¡£</para>
<para>ÔÝʱÐԵıêÇ©ÔÚϵͳÏ´ÎÖØÆôʱ»áÏûʧ£¬ ÕâЩ±êÇ©»á´´½¨µ½
<filename class="directory">/dev/label</filename> Ŀ¼ÖУ¬
ºÜÊʺϲâÊÔÖ®Ó᣿ÉÒÔʹÓà <command>glabel create</command>
- ´´½¨ÔÝʱÐԵıêÇ©¡£Çë²ÎÔÄ &man.glabel.8;
- ÊÖ²áÒ³ÒÔ»ñÈ¡¸ü¶àÏêϸÐÅÏ¢¡£</para>
+ ´´½¨ÔÝʱÐԵıêÇ©¡£Çë²ÎÔÄ &man.glabel.8;
+ ÊÖ²áÒ³ÒÔ»ñÈ¡¸ü¶àÏêϸÐÅÏ¢¡£</para>
<!-- XXXTR: How do you create a file system label without running newfs
- or when there is no newfs (e.g.: cd9660)? -->
+ or when there is no newfs (e.g.: cd9660)? -->
<para>ҪΪһ¸ö <acronym>UFS</acronym>2 Îļþϵͳ´´½¨ÓÀ¾ÃÐÔ±êÇ©£¬
¶ø²»ÆÆ»µÆäÉϵÄÊý¾Ý£¬¿ÉÒÔʹÓÃÏÂÃæµÄÃüÁ</para>
@@ -551,20 +708,20 @@ ggate0
<example>
<title>ΪÆô¶¯´ÅÅÌ´òÉϱêÇ©</title>
- <para>ΪÆô¶¯´ÅÅÌ´òÉÏÓÀ¾ÃÐÔ±êÇ©£¬ ϵͳӦ¸ÃÄܹ»Õý³£Æô¶¯£¬
- ¼´Ê¹´ÅÅ̱»Òƶ¯µ½ÁËÁíÍâÒ»¸ö¿ØÖÆÆ÷»òÕßתÒƵ½ÁËÒ»¸ö²»Í¬µÄϵͳÉÏ¡£
- ´ËÀýÖÐÎÒÃǼÙÉèʹÓÃÁËÒ»¸ö <acronym>ATA</acronym> ´ÅÅÌ£¬
- µ±Ç°Õâ¸öÉ豸±»ÏµÍ³Ê¶±ðΪ <devicename>ad0</devicename>¡£
- »¹¼ÙÉèʹÓÃÁ˱ê×¼µÄ &os; ·ÖÇø»®·Ö·½°¸£¬
+ <para>ΪÆô¶¯´ÅÅÌ´òÉÏÓÀ¾ÃÐÔ±êÇ©£¬ ϵͳӦ¸ÃÄܹ»Õý³£Æô¶¯£¬
+ ¼´Ê¹´ÅÅ̱»Òƶ¯µ½ÁËÁíÍâÒ»¸ö¿ØÖÆÆ÷»òÕßתÒƵ½ÁËÒ»¸ö²»Í¬µÄϵͳÉÏ¡£
+ ´ËÀýÖÐÎÒÃǼÙÉèʹÓÃÁËÒ»¸ö <acronym>ATA</acronym> ´ÅÅÌ£¬
+ µ±Ç°Õâ¸öÉ豸±»ÏµÍ³Ê¶±ðΪ <devicename>ad0</devicename>¡£
+ »¹¼ÙÉèʹÓÃÁ˱ê×¼µÄ &os; ·ÖÇø»®·Ö·½°¸£¬
<filename class="directory">/</filename>,
<filename class="directory">/var</filename>,
<filename class="directory">/usr</filename> ºÍ
<filename class="directory">/tmp</filename> Îļþϵͳ£¬
»¹ÓÐÒ»¸ö swap ·ÖÇø¡£</para>
- <para>ÖØÆôϵͳ£¬ÔÚ &man.loader.8; Ìáʾ·ûϼüÈë
- <keycap>4</keycap> Æô¶¯µ½µ¥Óû§Ä£Ê½¡£
- È»ºóÊäÈëÒÔϵÄÃüÁ</para>
+ <para>ÖØÆôϵͳ£¬ÔÚ &man.loader.8; Ìáʾ·ûϼüÈë
+ <keycap>4</keycap> Æô¶¯µ½µ¥Óû§Ä£Ê½¡£
+ È»ºóÊäÈëÒÔϵÄÃüÁ</para>
<screen>&prompt.root; <userinput>glabel label rootfs /dev/ad0s1a</userinput>
GEOM_LABEL: Label for provider /dev/ad0s1a is label/rootfs
@@ -578,9 +735,9 @@ GEOM_LABEL: Label for provider /dev/ad0s
GEOM_LABEL: Label for provider /dev/ad0s1b is label/swap
&prompt.root; <userinput>exit</userinput></screen>
- <para>ϵͳ¼Ó¼ÌÐøÆô¶¯½øÈë¶àÓû§Ä£Ê½¡£ ÔÚÆô¶¯Íê±Ïºó£¬ ±à¼
- <filename>/etc/fstab</filename> Óø÷×ԵıêÇ©Ì滻ϳ£¹æµÄÉ豸Ãû¡£
- ×îÖÕ <filename>/etc/fstab</filename> ¿´ÆðÀ´²î²»¶àÊÇÕâÑùµÄ£º</para>
+ <para>ϵͳ¼Ó¼ÌÐøÆô¶¯½øÈë¶àÓû§Ä£Ê½¡£ ÔÚÆô¶¯Íê±Ïºó£¬ ±à¼
+ <filename>/etc/fstab</filename> Óø÷×ԵıêÇ©Ì滻ϳ£¹æµÄÉ豸Ãû¡£
+ ×îÖÕ <filename>/etc/fstab</filename> ¿´ÆðÀ´²î²»¶àÊÇÕâÑùµÄ£º</para>
<programlisting># Device Mountpoint FStype Options Dump Pass#
/dev/label/swap none swap sw 0 0
@@ -589,8 +746,8 @@ GEOM_LABEL: Label for provider /dev/ad0s
/dev/label/usr /usr ufs rw 2 2
/dev/label/var /var ufs rw 2 2</programlisting>
- <para>ÏÖÔÚ¿ÉÒÔÖØÆôϵͳÁË¡£ Èç¹ûÒ»ÇÐ˳ÀûµÄ»°£¬
- ϵͳ¿ÉÒÔÕý³£Æô¶¯²¢ÇÒ <command>mount</command> ÃüÁîÏÔʾ£º</para>
+ <para>ÏÖÔÚ¿ÉÒÔÖØÆôϵͳÁË¡£ Èç¹ûÒ»ÇÐ˳ÀûµÄ»°£¬
+ ϵͳ¿ÉÒÔÕý³£Æô¶¯²¢ÇÒ <command>mount</command> ÃüÁîÏÔʾ£º</para>
<screen>&prompt.root; <userinput>mount</userinput>
/dev/label/rootfs on / (ufs, local)
@@ -667,7 +824,7 @@ ufsid/486b6fc16926168e N/A ad4s1f</
<para>Èç¹ûʹÓÃÈÕÖ¾µÄ¾íÐèÒªÔÚÆô¶¯µÄʱºò±»¹ÒÔØ£¬ »¹Ðè¼ÓÔØ
<filename>geom_journal.ko</filename> ÄÚºËÄ£¿é£¬
- ½«ÒÔÏÂ×ÅÐмÓÈë <filename>/boot/loader.conf</filename>£º</para>
+ ½«ÒÔÏÂÕâÐмÓÈë <filename>/boot/loader.conf</filename>£º</para>
<programlisting>geom_journal_load="YES"</programlisting>
@@ -706,11 +863,11 @@ ufsid/486b6fc16926168e N/A ad4s1f</
</note>
<para>³öÓÚÐÔÄÜ¿¼ÂÇ£¬ ¿ÉÄÜ»áÏ£ÍûÔÚÆäËû´ÅÅÌÉϱ£´æÈÕÖ¾¡£ ¶ÔÓÚÕâÀàÇéÐΣ¬
- ÈÕÖ¾ÌṩÕß»ò´æ´¢É豸£¬ Ó¦ÔÚÆôÓÃÈÕÖ¾µÄÉ豸ºó¸ø³ö¡£ ÔÚôß´æµÄÎļþϵͳÉÏ£¬
+ Ó¦¸ÃÔÚÆôÓÃÈÕÖ¾µÄÉ豸ºóÃ棬¸ø³öÈÕÖ¾ÌṩÕß»ò´æ´¢É豸¡£ ÔÚôß´æµÄÎļþϵͳÉÏ£¬
¿ÉÒÔÓà <command>tunefs</command> À´ÆôÓÃÈÕÖ¾£» ²»¹ý£¬
ÔÚ³¢ÊÔÐÞ¸ÄÎļþϵͳ֮ǰ£¬ ÄúÓ¦¶ÔÆä½øÐб¸·Ý¡£ ¶àÊýÇé¿öÏ£¬
- <command>gjournal</command> »áÒòΪÎÞ·¨½¨Á¢ÈÕÖ¾¶øʧ°Ü£¬ ÔÚÎóÓÃ
- <command>tunefs</command> ʱ£¬ Õâ¿ÉÄܵ¼ÖÂʧ°Ü¡£</para>
+ Èç¹ûÎÞ·¨´´½¨Êµ¼ÊµÄÈÕÖ¾£¬ <command>gjournal</command> ¾Í»áʧ°Ü£¬
+ ²¢ÇÒ²»»á·ÀÖ¹ÓÉÓÚ²»µ±Ê¹Óà <command>tunefs</command> ¶øÔì³ÉµÄÊý¾Ý¶ªÊ§¡£</para>
<para>¶ÔÓÚ &os; ϵͳµÄÆô¶¯´ÅÅÌʹÓÃÈÕÖ¾Ò²ÊÇ¿ÉÄܵġ£
Çë²ÎÔÄ <ulink
More information about the svn-doc-all
mailing list