Use of devicename tags where needed.

This commit is contained in:
Marc Fonvieille 2005-12-22 15:28:01 +00:00
parent 4f3ba4077b
commit 4b500f82cf
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=26679

View file

@ -191,10 +191,10 @@ XXX: What message? Put it inside the screen output above.
<step><para>This process should have created two other devices <step><para>This process should have created two other devices
in the <filename role="directory">/dev/stripe</filename> in the <filename role="directory">/dev/stripe</filename>
directory in addition to the <filename>st0</filename> device. directory in addition to the <devicename>st0</devicename> device.
Those include <filename>st0a</filename> and Those include <devicename>st0a</devicename> and
<filename>st0c</filename>. A file system must now be created <devicename>st0c</devicename>. A file system must now be created
on the <filename>st0a</filename> device using the following on the <devicename>st0a</devicename> device using the following
<command>newfs</command> command:</para> <command>newfs</command> command:</para>
<screen>&prompt.root; <userinput>newfs -U /dev/stripe/st0a</userinput></screen> <screen>&prompt.root; <userinput>newfs -U /dev/stripe/st0a</userinput></screen>
@ -280,15 +280,15 @@ Done.</screen>
<note> <note>
<para>This command should have created the <para>This command should have created the
<filename>gm0</filename>, <filename>gm0s1</filename>, <devicename>gm0</devicename>, <devicename>gm0s1</devicename>,
<filename>gm0s1a</filename>, and <filename>gm0s1c</filename> <devicename>gm0s1a</devicename>, and <devicename>gm0s1c</devicename>
device nodes under the device nodes under the
<filename role="directory">/dev/mirror</filename> <filename role="directory">/dev/mirror</filename>
directory.</para> directory.</para>
</note> </note>
<para>Install a 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> to newly created <devicename>gm0</devicename> device:</para>
<screen>&prompt.root; <userinput>fdisk -vBI /dev/mirror/gm0</userinput></screen> <screen>&prompt.root; <userinput>fdisk -vBI /dev/mirror/gm0</userinput></screen>
@ -304,7 +304,7 @@ Done.</screen>
</note> </note>
<para>Use the &man.newfs.8; utility to create a default file <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> <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"' &gt;&gt; /mnt/boot/loader.conf</userinput></screen> <screen>&prompt.root; <userinput>echo 'geom_mirror_load="YES"' &gt;&gt; /mnt/boot/loader.conf</userinput></screen>
<para>This will instruct &man.loader.8; utility to load the <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> initialization.</para>
<para>Reboot the system:</para> <para>Reboot the system:</para>
@ -371,10 +371,10 @@ Done.</screen>
<screen>&prompt.root; <userinput>shutdown -r now</userinput></screen> <screen>&prompt.root; <userinput>shutdown -r now</userinput></screen>
<para>If all has gone well, the system should have booted from the <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 prompt should be waiting. If something went wrong, see review
the forthcoming troubleshooting section. Now add the 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> device:</para>
<screen>&prompt.root; <userinput>gmirror configure -a gm0</userinput> <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 <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 automatically. The manual page explains how to rebuild and
replace disks, although it uses <filename>data</filename> replace disks, although it uses <devicename>data</devicename>
in place of <filename>gm0</filename>.</para> in place of <devicename>gm0</devicename>.</para>
<sect2> <sect2>
<title>Troubleshooting</title> <title>Troubleshooting</title>