source: basicnet/netprogs/nfs-utils.xml@ d47e7ea9

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d47e7ea9 was d47e7ea9, checked in by Bruce Dubbs <bdubbs@…>, 20 years ago

XML Update -- Chapter 18

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2301 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY nfs-utils-download-http "http://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-&nfs-utils-version;.tar.gz">
8 <!ENTITY nfs-utils-download-ftp "ftp://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-&nfs-utils-version;.tar.gz">
9 <!ENTITY nfs-utils-size "336 KB">
10 <!ENTITY nfs-utils-buildsize "8 MB">
11 <!ENTITY nfs-utils-time "">
12]>
13
14<sect1 id="nfs-utils" xreflabel="NFS Utilities-&nfs-utils-version;">
15<?dbhtml filename="nfs-utils.html"?>
16<title>NFS Utilities-&nfs-utils-version;</title>
17
18<sect2>
19<title>Introduction to <application>nfs-utils</application></title>
20
21<para>The <application>nfs-utils</application> package contains the userspace server and client
22tools necessary to use the kernel's nfs-abilities. <acronym>NFS</acronym> is a protocol that
23allows sharing file systems over the network.</para>
24
25<sect3><title>Package information</title>
26<itemizedlist spacing='compact'>
27<listitem><para>Download (HTTP): <ulink
28url="&nfs-utils-download-http;"/></para></listitem>
29<listitem><para>Download (FTP): <ulink
30url="&nfs-utils-download-ftp;"/></para></listitem>
31<listitem><para>Download size: &nfs-utils-size;</para></listitem>
32<listitem><para>Estimated Disk space required:
33&nfs-utils-buildsize;</para></listitem>
34<listitem><para>Estimated build time:
35&nfs-utils-time;</para></listitem></itemizedlist>
36</sect3>
37
38<sect3><title><application>nfs-utils</application> dependencies</title>
39<sect4><title>Required</title>
40<para><xref linkend="portmap"/></para>
41</sect4>
42</sect3>
43
44</sect2>
45
46<sect2>
47<title>Kernel Configuration</title>
48
49<para>Enable the following options in the kernel configuration
50and recompile the kernel if neccessary:</para>
51
52<screen>File systems:
53 Network File Systems:
54 NFS File System Support: M or Y
55 NFS Server Support: M or Y</screen>
56
57<para>Select the appropriate sub-options that appear when the above options
58are selected.</para>
59
60</sect2>
61
62<sect2>
63<title>Installation of nfs-utils</title>
64
65<para>Before you compile the program, you need to be sure the "nobody"
66user and "nogroup" group are available. You can add these with the
67following commands:</para>
68
69<screen><userinput><command>groupadd -g 65534 nogroup &amp;&amp;
70useradd -c nobody -d /home -g nogroup -s /bin/bash -u 65534 nobody</command></userinput></screen>
71
72<para>Install nfs-utils by running the following commands:</para>
73
74<para><screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
75make &amp;&amp;
76make install</command></userinput></screen></para>
77
78<note><para>If your <filename>/usr</filename> directory is NFS mounted,
79you should install the executables in <filename>/sbin</filename> by passing
80an additional parameter <command>--sbindir=/sbin</command> to the above
81<command>./configure</command> command.</para></note>
82
83</sect2>
84
85<sect2>
86<title>Configuring nfs-utils</title>
87
88<sect3><title>Server Configutation</title>
89
90<para><filename>/etc/exports</filename> contains the exported directories on NFS servers.
91Refer to the exports manual page for the syntax of this file. Also refer to the
92NFS HowTo available at <ulink url="http://nfs.sourceforge.net/nfs-howto/"/> on how to
93configure the servers and clients in a secure manner. For example, for sharing the
94<filename>/home</filename> directory over the local network, the following line may
95be added:</para>
96
97<screen><userinput>/home 192.168.0.0/255.255.0.0(rw)</userinput></screen>
98
99<para>Install the <filename>/etc/rc.d/init.d/nfs-server</filename>
100init script included in the
101<xref linkend="intro-important-bootscripts"/> package to start
102the server at boot.</para>
103
104<screen><userinput><command>make install-nfs-server</command></userinput></screen>
105
106</sect3>
107
108<sect3><title>Client Configutation</title>
109
110<para><filename>/etc/fstab</filename> contains the directories that are to be mounted
111on the client. Alternately the partitions can be mounted by using the
112<command>mount</command> command with the proper options. To mount the <filename>/home</filename>
113partition, add the following to the <filename>/etc/fstab</filename>:</para>
114
115<screen><userinput>&lt;server-name&gt;:/home /home nfs rw 0 0</userinput></screen>
116
117<para>Install the <filename>/etc/rc.d/init.d/nfs-client</filename>
118init script included in the
119<xref linkend="intro-important-bootscripts"/> package to
120start the client services at boot.</para>
121
122<screen><userinput><command>make install-nfs-client</command></userinput></screen>
123
124</sect3>
125
126</sect2>
127
128<sect2>
129<title>Contents</title>
130
131<para>The nfs-utils package contains
132<command>getiversion</command>,
133<command>getkversion</command>,
134<command>locktest</command>,
135<command>nlmtest</command>,
136<command>rpcdebug</command>,
137<command>rpcgen</command>,
138<command>exportfs</command>,
139<command>lockd</command>,
140<command>mountd</command>,
141<command>nfsd</command>,
142<command>nfsstat</command>,
143<command>nhfsstone</command>,
144<command>rquotad</command>,
145<command>showmount</command>,
146<command>statd</command> </para>
147
148</sect2>
149
150<sect2><title>Description</title>
151
152<sect3><title>getiversion</title><para>No description available.</para></sect3>
153<sect3><title>getkversion</title><para>No description available.</para></sect3>
154<sect3><title>locktest</title><para>No description available.</para></sect3>
155<sect3><title>nlmtest</title><para>No description available.</para></sect3>
156<sect3><title>rpcdebug</title><para>No description available.</para></sect3>
157<sect3><title>rpcgen</title><para>No description available.</para></sect3>
158<sect3><title>exportfs</title><para><command>exportfs</command>
159maintains a list of <acronym>NFS</acronym> exported directories.</para></sect3>
160<sect3><title>lockd</title><para><command>lockd</command>
161is the <acronym>NFS</acronym> lock manager.</para></sect3>
162<sect3><title>mountd</title><para><command>mountd</command>
163is the <acronym>NFS</acronym> mount daemon which checks client-permissions.</para></sect3>
164<sect3><title>nfsd</title><para><command>nfsd</command>
165is the user-space daemon of the <acronym>NFS</acronym> service.</para></sect3>
166<sect3><title>nfsstat</title><para><command>nfsstat</command>
167prints <acronym>NFS</acronym> statistics.</para></sect3>
168<sect3><title>nhfsstone</title><para><command>nhfsstone</command>
169is the <acronym>NFS</acronym> benchmark program.</para></sect3>
170<sect3><title>rquotad</title><para><command>rquotad</command>
171is the remote quota server communicating with the
172<command>quota</command> client.</para></sect3>
173<sect3><title>showmount</title><para><command>showmount</command>
174shows mount information for an <acronym>NFS</acronym> server.</para></sect3>
175<sect3><title>statd</title><para><command>statd</command>
176is the <acronym>NFS</acronym> status monitor which implements the
177<acronym>NSM</acronym> (Network Status Monitor) <acronym>RPC</acronym> protocol.
178</para></sect3>
179
180</sect2>
181
182</sect1>
183
Note: See TracBrowser for help on using the repository browser.