Inserted a missing parenthesis, hyphen, comma, an "a", a "the", and
-- Removed "for" from "caused for the system". -- Changed "filesystem" to "file system". -- Changed "base base" to "base". -- Replaced a comma with a semicolon. -- Changed "We skip using" to "We avoid using". -- Changed ", i.e.:" to "; i.e.,". -- Down-cased "In" at the start of a sentence fragment. Approved by: keramida
This commit is contained in:
parent
5b8b89118b
commit
817beb263e
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=25635
1 changed files with 12 additions and 12 deletions
|
@ -37,7 +37,7 @@
|
|||
This information is provided through the &man.geom.4; manual
|
||||
page and its various SEE ALSO references. This chapter is also
|
||||
not a definitive guide to <acronym>RAID</acronym>
|
||||
configurations. Only GEOM supported <acronym>RAID</acronym>
|
||||
configurations. Only GEOM-supported <acronym>RAID</acronym>
|
||||
classifications will be discussed.</para>
|
||||
|
||||
<para>After reading this chapter, you will know:</para>
|
||||
|
@ -49,7 +49,7 @@
|
|||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>How to use the base base utilities to configure, maintain
|
||||
<para>How to use the base utilities to configure, maintain,
|
||||
and manipulate the various <acronym>RAID</acronym>
|
||||
levels.</para>
|
||||
</listitem>
|
||||
|
@ -210,7 +210,7 @@ XXX: What message? Put it inside the screen output above.
|
|||
|
||||
<screen>&prompt.root; <userinput>mount /dev/stripe/st0a /mnt</userinput></screen>
|
||||
|
||||
<para>To mount this striped filesystem automatically during the boot
|
||||
<para>To mount this striped file system automatically during the boot
|
||||
process, place the volume information in
|
||||
<filename>/etc/fstab</filename> file:</para>
|
||||
|
||||
|
@ -252,7 +252,7 @@ XXX: What message? Put it inside the screen output above.
|
|||
<para>Begin by installing &os; on the first disk with only two
|
||||
partitions. One should be a swap partition, double the
|
||||
<acronym>RAM</acronym> size and all remaining space devoted to
|
||||
the root (<filename role="directory">/</filename> file system.
|
||||
the root (<filename role="directory">/</filename>) file system.
|
||||
It is possible to have separate partitions for other mount points;
|
||||
however, this will increase the difficulty level ten fold due to
|
||||
manual alteration of the &man.bsdlabel.8; and &man.fdisk.8;
|
||||
|
@ -276,13 +276,13 @@ XXX: What message? Put it inside the screen output above.
|
|||
directory.</para>
|
||||
</note>
|
||||
|
||||
<para>Initialize GEOM, this will load the
|
||||
<para>Initialize GEOM; this will load the
|
||||
<filename>/boot/kernel/geom_mirror.ko</filename> kernel
|
||||
module:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>geom load</userinput></screen>
|
||||
|
||||
<para>Install generic <command>fdisk</command> label and boot code
|
||||
<para>Install a generic <command>fdisk</command> label and boot code
|
||||
to newly created <filename>gm0</filename> device:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>fdisk -vBI /dev/mirror/gm0</userinput></screen>
|
||||
|
@ -303,8 +303,8 @@ XXX: What message? Put it inside the screen output above.
|
|||
|
||||
<screen>&prompt.root; <userinput>newfs -U /dev/mirror/gm0s1a</userinput></screen>
|
||||
|
||||
<para>This should have caused for the system to spit out some
|
||||
information and a bunch of numbers. This is good, examine the
|
||||
<para>This should have caused the system to spit out some
|
||||
information and a bunch of numbers. This is good. Examine the
|
||||
screen for any error messages and mount the device to the
|
||||
<filename role="directory">/mnt</filename> mount point:</para>
|
||||
|
||||
|
@ -313,13 +313,13 @@ XXX: What message? Put it inside the screen output above.
|
|||
<para>Now move all data from the boot disk over to this new file
|
||||
system. This example uses the &man.dump.8; and &man.restore.8;
|
||||
commands; however, &man.dd.1; would also work with this scenario.
|
||||
We skip using &man.tar.1; because it will not copy over the boot
|
||||
We avoid using &man.tar.1; because it will not copy over the boot
|
||||
code. Thus, failure would be guaranteed.</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>dump -L -0 -f- / |(cd /mnt && restore -r -v -f-)</userinput></screen>
|
||||
|
||||
<para>This must be done for each file system. Simply place the
|
||||
appropriate file system in correct location when running the
|
||||
appropriate file system in the correct location when running the
|
||||
aforementioned command.</para>
|
||||
|
||||
<para>Now edit the replicated <filename>/mnt/etc/fstab</filename>
|
||||
|
@ -370,7 +370,7 @@ XXX: What message? Put it inside the screen output above.
|
|||
&prompt.root; <userinput>gmirror insert gm0 /dev/da0</userinput></screen>
|
||||
|
||||
<para>The <option>-a</option> flag tells &man.gmirror.8; to use
|
||||
automatic synchronization, i.e.: mirror the disk writes
|
||||
automatic synchronization; i.e., mirror the disk writes
|
||||
automatically. The manual page explains how to rebuild and
|
||||
replace disks, although it uses <filename>data</filename>
|
||||
in place of <filename>gm0</filename>.</para>
|
||||
|
@ -400,7 +400,7 @@ OK? <userinput>boot</userinput></screen>
|
|||
|
||||
<programlisting>options GEOM_MIRROR</programlisting>
|
||||
|
||||
<para>In the kernel configuration file, rebuild and reinstall.
|
||||
<para>in the kernel configuration file, rebuild and reinstall.
|
||||
That should remedy this issue.</para>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
|
Loading…
Reference in a new issue