Use of devicename tags where needed.
This commit is contained in:
parent
4f3ba4077b
commit
4b500f82cf
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=26679
1 changed files with 13 additions and 13 deletions
|
@ -191,10 +191,10 @@ XXX: What message? Put it inside the screen output above.
|
|||
|
||||
<step><para>This process should have created two other devices
|
||||
in the <filename role="directory">/dev/stripe</filename>
|
||||
directory in addition to the <filename>st0</filename> device.
|
||||
Those include <filename>st0a</filename> and
|
||||
<filename>st0c</filename>. A file system must now be created
|
||||
on the <filename>st0a</filename> device using the following
|
||||
directory in addition to the <devicename>st0</devicename> device.
|
||||
Those include <devicename>st0a</devicename> and
|
||||
<devicename>st0c</devicename>. A file system must now be created
|
||||
on the <devicename>st0a</devicename> device using the following
|
||||
<command>newfs</command> command:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>newfs -U /dev/stripe/st0a</userinput></screen>
|
||||
|
@ -280,15 +280,15 @@ Done.</screen>
|
|||
|
||||
<note>
|
||||
<para>This command should have created the
|
||||
<filename>gm0</filename>, <filename>gm0s1</filename>,
|
||||
<filename>gm0s1a</filename>, and <filename>gm0s1c</filename>
|
||||
<devicename>gm0</devicename>, <devicename>gm0s1</devicename>,
|
||||
<devicename>gm0s1a</devicename>, and <devicename>gm0s1c</devicename>
|
||||
device nodes under the
|
||||
<filename role="directory">/dev/mirror</filename>
|
||||
directory.</para>
|
||||
</note>
|
||||
|
||||
<para>Install a generic <command>fdisk</command> label and boot code
|
||||
to newly created <filename>gm0</filename> device:</para>
|
||||
to newly created <devicename>gm0</devicename> device:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>fdisk -vBI /dev/mirror/gm0</userinput></screen>
|
||||
|
||||
|
@ -304,7 +304,7 @@ Done.</screen>
|
|||
</note>
|
||||
|
||||
<para>Use the &man.newfs.8; utility to create a default file
|
||||
system on the <filename>gm0s1a</filename> device node:</para>
|
||||
system on the <devicename>gm0s1a</devicename> device node:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>newfs -U /dev/mirror/gm0s1a</userinput></screen>
|
||||
|
||||
|
@ -363,7 +363,7 @@ Done.</screen>
|
|||
<screen>&prompt.root; <userinput>echo 'geom_mirror_load="YES"' >> /mnt/boot/loader.conf</userinput></screen>
|
||||
|
||||
<para>This will instruct &man.loader.8; utility to load the
|
||||
<filename>geom_mirror.ko</filename> during system
|
||||
<filename>geom_mirror.ko</filename> module during system
|
||||
initialization.</para>
|
||||
|
||||
<para>Reboot the system:</para>
|
||||
|
@ -371,10 +371,10 @@ Done.</screen>
|
|||
<screen>&prompt.root; <userinput>shutdown -r now</userinput></screen>
|
||||
|
||||
<para>If all has gone well, the system should have booted from the
|
||||
<filename>gm0s1a</filename> device and a <command>login</command>
|
||||
<devicename>gm0s1a</devicename> device and a <command>login</command>
|
||||
prompt should be waiting. If something went wrong, see review
|
||||
the forthcoming troubleshooting section. Now add the
|
||||
<filename>da0</filename> disk to <filename>gm0</filename>
|
||||
<devicename>da0</devicename> disk to <devicename>gm0</devicename>
|
||||
device:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>gmirror configure -a gm0</userinput>
|
||||
|
@ -383,8 +383,8 @@ Done.</screen>
|
|||
<para>The <option>-a</option> flag tells &man.gmirror.8; to use
|
||||
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>
|
||||
replace disks, although it uses <devicename>data</devicename>
|
||||
in place of <devicename>gm0</devicename>.</para>
|
||||
|
||||
<sect2>
|
||||
<title>Troubleshooting</title>
|
||||
|
|
Loading…
Reference in a new issue