Changeset a16cb066
- Timestamp:
- 04/23/2005 06:32:51 AM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 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, gimp3, 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/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- eaf6a1cd
- Parents:
- c2f55d1
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
rc2f55d1 ra16cb066 241 241 <!ENTITY apache-version "2.0.53"> 242 242 <!-- bind (chapter 19) --> 243 <!ENTITY nfs-utils-version "1.0. 6">243 <!ENTITY nfs-utils-version "1.0.7"> 244 244 <!-- openssh (chapter 18) --> 245 245 <!ENTITY proftpd-version "1.2.10"> -
general/genlib/fam.xml
rc2f55d1 ra16cb066 81 81 82 82 <sect2> 83 <title>Command explanations</title>83 <title>Command Explanations</title> 84 84 85 85 <para><command>patch -Np1 -i ../fam-&fam-version;-dnotify-1.patch</command>: … … 100 100 101 101 <sect2> 102 <title>Configuring <application> <acronym>FAM</acronym></application></title>102 <title>Configuring <application>FAM</application></title> 103 103 104 104 <sect3 id='fam-config'> -
introduction/welcome/changelog.xml
rc2f55d1 ra16cb066 22 22 23 23 <itemizedlist> 24 25 <listitem><para>April 23rd, 2005 [bdubbs]: Updated to nfs-utils-1.0.7. 26 Added comments about user nobody and pointed to section on netfs. 27 </para></listitem> 24 28 25 29 <listitem><para>April 23rd, 2005 [randy]: Updated to -
postlfs/config/netfs.xml
rc2f55d1 ra16cb066 8 8 <sect1 id="postlfs-config-netfs" xreflabel="Configuring for Network Filesystems"> 9 9 <sect1info> 10 <othername>$LastChangedBy$</othername>11 <date>$Date$</date>10 <othername>$LastChangedBy$</othername> 11 <date>$Date$</date> 12 12 </sect1info> 13 13 14 <?dbhtml filename="netfs.html"?> 14 15 <title>Configuring for Network Filesystems</title> 15 <indexterm zone="postlfs-config-netfs">16 <primary sortas="f-netfs">netfs</primary></indexterm>17 16 18 <para>While <acronym>LFS</acronym> is capable of mounting network file 19 systems such as <acronym>NFS</acronym>, these are not mounted by the 17 <!-- Fake the zone for index formatting --> 18 <indexterm zone="postlfs-config-netfs postlfs-config-netfs"> 19 <primary sortas="f-netfs">netfs</primary> 20 </indexterm> 21 22 <para>While LFS is capable of mounting network file 23 systems such as NFS, these are not mounted by the 20 24 <filename>mountfs</filename> init script. Network file systems must be 21 25 mounted after the networking is activated and unmounted before the network … … 26 30 brought down.</para> 27 31 28 <para> Install the <filename>/etc/rc.d/init.d/netfs</filename>29 bootscript included with the 30 <xref linkend="intro-important-bootscripts"/>package.</para>32 <para>As the root user, install the <filename>/etc/rc.d/init.d/netfs</filename> 33 bootscript included with the <xref linkend="intro-important-bootscripts"/> 34 package.</para> 31 35 32 <screen ><userinput><command>make install-netfs</command></userinput></screen>36 <screen role='root'><userinput>make install-netfs</userinput></screen> 33 37 34 38 </sect1> -
server/major/nfs-utils.xml
rc2f55d1 ra16cb066 7 7 <!ENTITY nfs-utils-download-http "http://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-&nfs-utils-version;.tar.gz"> 8 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-md5sum " f17e9983457e1cf61c37f0be4493fce6">10 <!ENTITY nfs-utils-size " 260KB">11 <!ENTITY nfs-utils-buildsize " 4.1MB">12 <!ENTITY nfs-utils-time "0. 9SBU">9 <!ENTITY nfs-utils-md5sum "8f863120261cd572ad320a9152581e11"> 10 <!ENTITY nfs-utils-size "396 KB"> 11 <!ENTITY nfs-utils-buildsize "5.8 MB"> 12 <!ENTITY nfs-utils-time "0.2 SBU"> 13 13 ]> 14 14 15 15 <sect1 id="nfs-utils" xreflabel="NFS Utilities-&nfs-utils-version;"> 16 16 <sect1info> 17 <othername>$LastChangedBy$</othername>18 <date>$Date$</date>17 <othername>$LastChangedBy$</othername> 18 <date>$Date$</date> 19 19 </sect1info> 20 20 21 <?dbhtml filename="nfs-utils.html"?> 21 22 <title>NFS Utilities-&nfs-utils-version;</title> 23 24 <indexterm zone="nfs-utils"> 25 <primary sortas="a-nfs-utils">NFS Utilities</primary> 26 </indexterm> 22 27 23 28 <sect2> … … 29 34 network.</para> 30 35 31 < sect3><title>Package information</title>36 <bridgehead renderas="sect3">Package information</bridgehead> 32 37 <itemizedlist spacing='compact'> 33 <listitem><para>Download (HTTP): <ulink 34 url="&nfs-utils-download-http;"/></para></listitem> 35 <listitem><para>Download (FTP): <ulink 36 url="&nfs-utils-download-ftp;"/></para></listitem> 37 <listitem><para>Download MD5 sum: &nfs-utils-md5sum;</para></listitem> 38 <listitem><para>Download size: &nfs-utils-size;</para></listitem> 39 <listitem><para>Estimated disk space required: 40 &nfs-utils-buildsize;</para></listitem> 41 <listitem><para>Estimated build time: 42 &nfs-utils-time;</para></listitem></itemizedlist> 43 </sect3> 44 45 <sect3><title><application>nfs-utils</application> dependencies</title> 46 <sect4><title>Required</title> 38 <listitem><para>Download (HTTP): <ulink url="&nfs-utils-download-http;"/></para></listitem> 39 <listitem><para>Download (FTP): <ulink url="&nfs-utils-download-ftp;"/></para></listitem> 40 <listitem><para>Download MD5 sum: &nfs-utils-md5sum;</para></listitem> 41 <listitem><para>Download size: &nfs-utils-size;</para></listitem> 42 <listitem><para>Estimated disk space required: &nfs-utils-buildsize;</para></listitem> 43 <listitem><para>Estimated build time: &nfs-utils-time;</para></listitem> 44 </itemizedlist> 45 46 <bridgehead renderas="sect3">nfs-utils Dependencies</bridgehead> 47 <bridgehead renderas="sect4">Required</bridgehead> 48 47 49 <para><xref linkend="portmap"/></para> 48 </sect4> 49 </sect3> 50 51 </sect2> 52 53 <sect2> 50 51 <bridgehead renderas="sect4">Optional</bridgehead> 52 <para><ulink url="http://www.monkey.org/~provos/libevent/">libevent</ulink> 53 and <ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/">libnsfidmap</ulink> 54 for nfsv4 support, and kerberos-5 development libraries for gss (RPC Security) support. 55 </para> 56 57 </sect2> 58 59 <sect2 id='nfs-utils-kernel'> 54 60 <title>Kernel Configuration</title> 55 61 … … 65 71 are selected.</para> 66 72 73 <indexterm zone="nfs-utils nfs-utils-kernel"> 74 <primary sortas="d-nfs-utils">NFS Utilities</primary> 75 </indexterm> 67 76 </sect2> 68 77 … … 71 80 72 81 <para>Before you compile the program, you need to be sure the "nobody" 73 user and "nogroup" group are available. You can add these with the 74 following commands:</para> 75 76 <screen><userinput><command>groupadd -g 65534 nogroup && 77 useradd -c nobody -d /home -g nogroup -s /bin/bash -u 65534 nobody</command></userinput></screen> 82 user and "nogroup" group are available. You can add these by 83 running the following commands as the root user:</para> 84 85 <screen><userinput><command>groupadd -g 99 nogroup && 86 useradd -c nobody -d /home -g nogroup -s /bin/bash -u 99 nobody</command></userinput></screen> 87 88 <note><para>The classic uid and gid values are 65534 which is also -2 when 89 interpreted as a signed 16-bit number. These values impact other files on 90 some filesystems that do not have support for sparse files. The nobody 91 and nogroup values have small impact. The impact on a server is nil if the 92 exports file is configured correctly. If it is misconfigured, the impact is 93 that a ls -l or ps listing will show a uid or gid number of 65534 instead 94 of a name. The client uses nobody only as the user running rpc.statd.</para></note> 78 95 79 96 <para>Install nfs-utils by running the following commands:</para> 80 97 81 <para><screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc && 82 make && 83 make install</command></userinput></screen></para> 98 <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \ 99 --disable-nfsv4 --disable-gss && 100 make</userinput></screen> 101 102 <para>Now, as the root user:</para> 103 104 <screen role='root'><userinput>make install</userinput></screen> 84 105 85 106 <note><para>If your <filename>/usr</filename> directory is NFS mounted, … … 90 111 </sect2> 91 112 113 <sect2 role="commands"> 114 <title>Command Explanations</title> 115 116 <para><parameter>--disable-nfsv4</parameter>: Disbles support 117 for NFS Version 4.</para> 118 119 <para><parameter>--disable-gss</parameter>: Disbles support for 120 RPCSEC GSS (RPC Security).</para> 121 122 </sect2> 123 92 124 <sect2> 93 125 <title>Configuring nfs-utils</title> 94 126 95 <sect3><title>Server Configutation</title> 96 97 <para><filename>/etc/exports</filename> contains the exported directories on 98 <acronym>NFS</acronym> servers. Refer to the exports manual page for the 99 syntax of this file. Also refer to the <acronym>NFS</acronym> HowTo available 100 at <ulink url="http://nfs.sourceforge.net/nfs-howto/"/> on how to configure 101 the servers and clients in a secure manner. For example, for sharing the 102 <filename>/home</filename> directory over the local network, the following 103 line may be added:</para> 104 105 <screen><userinput>/home 192.168.0.0/255.255.0.0(rw)</userinput></screen> 106 107 <para>Install the <filename>/etc/rc.d/init.d/nfs-server</filename> 108 init script included in the 109 <xref linkend="intro-important-bootscripts"/> package to start 127 <bridgehead renderas="sect3">Server Configutation</bridgehead> 128 129 <para id='nfs-utils-server-config'><filename>/etc/exports</filename> contains 130 the exported directories on NFS servers. Refer to the exports manual page for 131 the syntax of this file. Also refer to the NFS HowTo available at <ulink 132 url="http://nfs.sourceforge.net/nfs-howto/"/> on how to configure the servers 133 and clients in a secure manner. For example, for sharing the 134 <filename>/home</filename> directory over the local network, the following line 135 may be added:</para> 136 137 <screen><userinput>/home 192.168.0.0/255.255.255.0(rw,anonuid=99,anongid=99)</userinput></screen> 138 139 <indexterm zone="nfs-utils nfs-utils-server-config"> 140 <primary sortas="e-etc-exportfs">/etc/exportfs</primary> 141 </indexterm> 142 143 <para>Install the <filename>/etc/rc.d/init.d/nfs-server</filename> init script 144 included in the <xref linkend="intro-important-bootscripts"/> package to start 110 145 the server at boot.</para> 111 146 112 147 <screen><userinput><command>make install-nfs-server</command></userinput></screen> 113 148 149 <indexterm zone="nfs-utils nfs-utils-server-config"> 150 <primary sortas="f-nfs-server">nfs-server</primary> 151 </indexterm> 152 114 153 <para>Now create the <filename>/etc/sysconfig/nfs-server</filename> 115 154 configuration file:</para> … … 122 161 <command>EOF</command></userinput></screen> 123 162 124 </sect3> 125 126 <sect3><title>Client Configutation</title> 127 128 <para><filename>/etc/fstab</filename> contains the directories that are to be 129 mounted on the client. Alternately the partitions can be mounted by using the 130 <command>mount</command> command with the proper options. To mount the 131 <filename>/home</filename> partition, add the following to the 132 <filename>/etc/fstab</filename>:</para> 133 134 <screen><userinput><server-name>:/home /home nfs rw 0 0</userinput></screen> 163 <indexterm zone="nfs-utils nfs-utils-server-config"> 164 <primary sortas="e-etc-sysconfig-nfs-server">/etc/sysconfig/nfs-server</primary> 165 </indexterm> 166 167 <bridgehead renderas="sect3">Client Configutation</bridgehead> 168 169 <para id='nfs-utils-client-config'><filename>/etc/fstab</filename> contains the 170 directories that are to be mounted on the client. Alternately the partitions 171 can be mounted by using the <command>mount</command> command with the proper 172 options. To mount the <filename>/home</filename> and <filename>/usr</filename> 173 partitions, add the following to the <filename>/etc/fstab</filename>:</para> 174 175 <screen><userinput><server-name>:/home /home nfs rw,_netdev,rsize=8192,wsize=8192 0 0 176 <server-name>:/usr /usr nfs ro,_netdev,rsize=8192 0 0</userinput></screen> 177 178 <indexterm zone="nfs-utils nfs-utils-client-config"> 179 <primary sortas="e-etc-fstab">/etc/fstab</primary> 180 </indexterm> 181 135 182 136 183 <para>Install the <filename>/etc/rc.d/init.d/nfs-client</filename> … … 141 188 <screen><userinput><command>make install-nfs-client</command></userinput></screen> 142 189 143 </sect3> 190 <indexterm zone="nfs-utils nfs-utils-client-config"> 191 <primary sortas="f-nfs-client">nfs-client</primary> 192 </indexterm> 193 194 <para>To automatically mount nfs filesystems, clients will also need to install 195 the netfs bootscript as described in <xref linkend='postlfs-config-netfs'/>.</para> 196 197 <indexterm zone="nfs-utils nfs-utils-client-config"> 198 <primary sortas="f-netfs">netfs</primary> 199 </indexterm> 144 200 145 201 </sect2> … … 147 203 <sect2> 148 204 <title>Contents</title> 149 150 <para>The nfs-utils package contains 151 <command>getiversion</command>, 152 <command>getkversion</command>, 153 <command>locktest</command>, 154 <command>nlmtest</command>, 155 <command>rpcdebug</command>, 156 <command>rpcgen</command>, 157 <command>exportfs</command>, 158 <command>lockd</command>, 159 <command>mountd</command>, 160 <command>nfsd</command>, 161 <command>nfsstat</command>, 162 <command>nhfsstone</command>, 163 <command>rquotad</command>, 164 <command>showmount</command>, 165 <command>statd</command> </para> 166 167 </sect2> 168 169 <sect2><title>Description</title> 170 171 <sect3><title>getiversion</title><para>No description available.</para></sect3> 172 <sect3><title>getkversion</title><para>No description available.</para></sect3> 173 <sect3><title>locktest</title><para>No description available.</para></sect3> 174 <sect3><title>nlmtest</title><para>No description available.</para></sect3> 175 <sect3><title>rpcdebug</title><para>No description available.</para></sect3> 176 <sect3><title>rpcgen</title><para>No description available.</para></sect3> 177 <sect3><title>exportfs</title><para><command>exportfs</command> 178 maintains a list of <acronym>NFS</acronym> exported directories.</para></sect3> 179 <sect3><title>lockd</title><para><command>lockd</command> 180 is the <acronym>NFS</acronym> lock manager.</para></sect3> 181 <sect3><title>mountd</title><para><command>mountd</command> 182 is the <acronym>NFS</acronym> mount daemon which checks 183 client-permissions.</para></sect3> 184 <sect3><title>nfsd</title><para><command>nfsd</command> 185 is the user-space daemon of the <acronym>NFS</acronym> service.</para></sect3> 186 <sect3><title>nfsstat</title><para><command>nfsstat</command> 187 prints <acronym>NFS</acronym> statistics.</para></sect3> 188 <sect3><title>nhfsstone</title><para><command>nhfsstone</command> 189 is the <acronym>NFS</acronym> benchmark program.</para></sect3> 190 <sect3><title>rquotad</title><para><command>rquotad</command> 191 is the remote quota server communicating with the 192 <command>quota</command> client.</para></sect3> 193 <sect3><title>showmount</title><para><command>showmount</command> 194 shows mount information for an <acronym>NFS</acronym> server.</para></sect3> 195 <sect3><title>statd</title><para><command>statd</command> 196 is the <acronym>NFS</acronym> status monitor which implements the 197 <acronym>NSM</acronym> (Network Status Monitor) <acronym>RPC</acronym> protocol. 198 </para></sect3> 199 200 </sect2> 201 205 <segmentedlist> 206 <segtitle>Installed Programis</segtitle> 207 <segtitle>Installed Libraries</segtitle> 208 <segtitle>Installed Directories</segtitle> 209 210 <seglistitem> 211 <seg>exportfs, nfsstat, nhfsgraph, nhfsnums, nhfsrun, nhfsstone, 212 rpc.lockd, rpc.mountd, rpc.nfsd, rpc.rquotad, rpc.statd, showmount</seg> 213 <seg>None</seg> 214 <seg>/var/lib/nfs</seg> 215 </seglistitem> 216 </segmentedlist> 217 218 <variablelist> 219 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 220 <?dbfo list-presentation="list"?> 221 <?dbhtml list-presentation="table"?> 222 223 <varlistentry id="exportfs"> 224 <term><command>exportfs</command></term> 225 <listitem> 226 <para>maintains a list of NFS exported file systems.</para> 227 <indexterm zone="nfs-utils exportfs"> 228 <primary sortas="b-exportfs">exportfs</primary> 229 </indexterm> 230 </listitem> 231 </varlistentry> 232 233 <varlistentry id="nfsstat"> 234 <term><command>nfsstat</command></term> 235 <listitem> 236 <para>prints NFS statistics.</para> 237 <indexterm zone="nfs-utils nfsstat"> 238 <primary sortas="b-nfsstat">nfsstat</primary> 239 </indexterm> 240 </listitem> 241 </varlistentry> 242 243 <varlistentry id="nhfsgraph"> 244 <term><command>nhfsgraph</command></term> 245 <listitem> 246 <para>runs nhfsstone over multiple loads.</para> 247 <indexterm zone="nfs-utils nhfsgraph"> 248 <primary sortas="b-nhfsgraph">nhfsgraph</primary> 249 </indexterm> 250 </listitem> 251 </varlistentry> 252 253 <varlistentry id="nhfsnums"> 254 <term><command>nhfsnums</command></term> 255 <listitem> 256 <para>converts raw numbers from nhfsstone output into plot format.</para> 257 <indexterm zone="nfs-utils nhfsnums"> 258 <primary sortas="b-nhfsnums">nhfsnums</primary> 259 </indexterm> 260 </listitem> 261 </varlistentry> 262 263 <varlistentry id="nhfsrun"> 264 <term><command>nhfsrun</command></term> 265 <listitem> 266 <para>executes nhfsstone with a range of different loads.</para> 267 <indexterm zone="nfs-utils nhfsrun"> 268 <primary sortas="b-nhfsrun">nhfsrun</primary> 269 </indexterm> 270 </listitem> 271 </varlistentry> 272 273 <varlistentry id="nhfsstone"> 274 <term><command>nhfsstone</command></term> 275 <listitem> 276 <para>is used on a NFS client to generate an artificial load with a 277 particular mix of NFS operations.</para> 278 <indexterm zone="nfs-utils nhfsstone"> 279 <primary sortas="b-nhfsstone">nhfsstone</primary> 280 </indexterm> 281 </listitem> 282 </varlistentry> 283 284 <varlistentry id="rpclockd"> 285 <term><command>rpc.lockd</command></term> 286 <listitem> 287 <para>starts the NFS lock manager (NLM) on kernels that don't 288 start it automatically. However, since most kernels do start it 289 automatically it is usually not required.</para> 290 <indexterm zone="nfs-utils rpclockd"> 291 <primary sortas="b-rpclockd">rpc.lockd</primary> 292 </indexterm> 293 </listitem> 294 </varlistentry> 295 296 <varlistentry id="rpcmountd"> 297 <term><command>rpc.mountd</command></term> 298 <listitem> 299 <para>implements the NFS mount protocol on an NFS server.</para> 300 <indexterm zone="nfs-utils rpcmountd"> 301 <primary sortas="b-rpcmountd">rpc.mountd</primary> 302 </indexterm> 303 </listitem> 304 </varlistentry> 305 306 <varlistentry id="rpcnfsd"> 307 <term><command>rpc.nfsd</command></term> 308 <listitem> 309 <para>implements the user level part of the NFS service on the server.</para> 310 <indexterm zone="nfs-utils rpcnfsd"> 311 <primary sortas="b-rpcnfsd">rpc.nfsd</primary> 312 </indexterm> 313 </listitem> 314 </varlistentry> 315 316 <varlistentry id="rpcrquotad"> 317 <term><command>rpc.rquotad</command></term> 318 <listitem> 319 <para>is an rpc server which returns quotas for a user of a local file 320 system which is mounted by a remote machine over the NFS.</para> 321 <indexterm zone="nfs-utils rpcrquotad"> 322 <primary sortas="b-rpcrquotad">rpc.rquotad</primary> 323 </indexterm> 324 </listitem> 325 </varlistentry> 326 327 <varlistentry id="rpcstatd"> 328 <term><command>rpc.statd</command></term> 329 <listitem> 330 <para>is used by the NFS file locking service, rpc.lockd, to implement 331 lock recovery when the NFS server machine crashes and reboots. Runs 332 on the NFS server only.</para> 333 <indexterm zone="nfs-utils rpcstatd"> 334 <primary sortas="b-rpcstatd">rpc.statd</primary> 335 </indexterm> 336 </listitem> 337 </varlistentry> 338 339 <varlistentry id="showmount"> 340 <term><command>showmount</command></term> 341 <listitem> 342 <para>displays mount information for an NFS server.</para> 343 <indexterm zone="nfs-utils showmount"> 344 <primary sortas="b-showmount">showmount</primary> 345 </indexterm> 346 </listitem> 347 </varlistentry> 348 349 350 </variablelist> 351 352 </sect2> 202 353 </sect1> 203 354
Note:
See TracChangeset
for help on using the changeset viewer.