Changeset 0d1cbe66


Ignore:
Timestamp:
05/26/2014 11:33:09 PM (10 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 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
Children:
a1083b4
Parents:
e436bc2
Message:

Simplify the fstab options for nfs clients, and add some explanation.

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    re436bc2 r0d1cbe66  
    4949      <itemizedlist>
    5050        <listitem>
     51          <para>[ken] - Update fstab details / explanation for nfs clients.
     52          Fixes <ulink url="&blfs-ticket-root;5041">#5041</ulink>.</para>
     53        </listitem>
     54        <listitem>
    5155          <para>[ken] - Second attempt at fixes for both versions of
    5256          gst-plugins-base with gcc-4.9.0 on i686.  Marked as "nodump" in the xml to
  • networking/netprogs/nfs-utils.xml

    re436bc2 r0d1cbe66  
    240240      following to the <filename>/etc/fstab</filename>:</para>
    241241
    242 <screen role="root"><userinput><replaceable>&lt;server-name&gt;</replaceable>:/home  /home nfs   rw,_netdev,rsize=8192,wsize=8192 0 0
    243 <replaceable>&lt;server-name&gt;</replaceable>:/usr   /usr  nfs   ro,_netdev,rsize=8192            0 0</userinput></screen>
     242<screen role="root"><userinput><replaceable>&lt;server-name&gt;</replaceable>:/home  /home nfs   rw,_netdev 0 0
     243<replaceable>&lt;server-name&gt;</replaceable>:/usr   /usr  nfs   ro,_netdev 0 0</userinput></screen>
     244
     245      <para>The options which can be used are specified in <command>man 5 nfs</command>.
     246      If both the client and server are running recent versions of linux, most of the
     247      options will be negotiated. You can specify either <literal>rw</literal> or
     248      <literal>ro</literal>, <literal>_netdev</literal> if the filesystem is to be
     249      automatically mounted at boot, or <literal>noauto</literal> (and perhaps
     250      <literal>user</literal>) for other filesystems.</para>
     251
     252      <para>If the fileserver is not running a recent version of linux, you may need to
     253      specifiy other options.</para>
     254
     255      <para>If you are using systemd, you may need to enable autofs v4 in your kernel,
     256      and add the option <literal>comment=systemd.automount</literal>. Some machines
     257      need this, because systemd tries to mount the external fs&apos;s before the network
     258      is up, others do not need it. An alternative is for <systemitem
     259      class="username">root</systemitem> to run <command>mount -a</command>.</para>
    244260
    245261      <indexterm zone="nfs-utils nfs-utils-client-config">
Note: See TracChangeset for help on using the changeset viewer.