MFp4: Fast document ggate.
This commit is contained in:
parent
b95cbe0c19
commit
60a66146dd
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=28259
1 changed files with 46 additions and 0 deletions
|
@ -406,6 +406,52 @@ OK? <userinput>boot</userinput></screen>
|
|||
</sect3>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
||||
<sect1 id="geom-ggate">
|
||||
<title>GEOM Gate Network Devices</title>
|
||||
|
||||
<para>GEOM supports the remote use of devices, such as disks,
|
||||
CD-ROMs, files, etc. through the use of the gate utilities.
|
||||
This is similar to <acronym>NFS</acronym>.
|
||||
|
||||
<para>To begin, an exports file must be created. This file
|
||||
specifies who is permitted to access the exported resources and
|
||||
what level of access they are offered. For example, to export
|
||||
the forth slice on the first <acronym>SCSI</acronym> disk, the
|
||||
following <filename>/etc/gg.exports</filename> is more than
|
||||
adequate:</para>
|
||||
|
||||
<programlisting>192.168.1.0/24 RW /dev/da0s4d</programlisting>
|
||||
|
||||
<para>It will allow all hosts inside the private network access
|
||||
the file system on the <devicename>da0s4d</devicename>
|
||||
partition.</para>
|
||||
|
||||
<para>To export this device, ensure it is not currently mounted,
|
||||
and start the &man.ggated.8; server daemon:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ggated</userinput></screen>
|
||||
|
||||
<para>Now to <command>mount</command> the device on the client
|
||||
machine, issue the following commands:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>ggatec create -o rw 192.168.1.1 /dev/da0s4d</userinput></screen>
|
||||
<screen>ggate0</screen>
|
||||
<screen>&prompt.root; <userinput>mount /dev/ggate0 /mnt</userinput></screen>
|
||||
|
||||
<para>From here on, the device may be accessed through the
|
||||
<filename role="directory">/mnt</filename> mount point.</para>
|
||||
|
||||
<note>
|
||||
<para>It should be pointed out that this will fail if the device
|
||||
is currently mounted on either the server machine or any other
|
||||
machine on the network.</para>
|
||||
</note>
|
||||
|
||||
<para>When the device is no longer needed, it may be safely
|
||||
unmounted with the &man.umount.8; command, similar to any other
|
||||
disk device.</para>
|
||||
</sect1>
|
||||
</chapter>
|
||||
|
||||
<!--
|
||||
|
|
Loading…
Reference in a new issue