old-www/LDP/nag2/x-087-2-nfs.nfsd.html

186 lines
2.7 KiB
HTML

<HTML
><HEAD
><TITLE
>Preparing NFS</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.57"><LINK
REL="HOME"
TITLE="Linux Network Administrators Guide"
HREF="index.html"><LINK
REL="UP"
TITLE="The NetworkFile System"
HREF="x-087-2-nfs.html"><LINK
REL="PREVIOUS"
TITLE="The NetworkFile System"
HREF="x-087-2-nfs.html"><LINK
REL="NEXT"
TITLE="Mounting an NFS Volume"
HREF="x-087-2-nfs.mountd.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Linux Network Administrators Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x-087-2-nfs.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 14. The NetworkFile System</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x-087-2-nfs.mountd.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="X-087-2-NFS.NFSD"
>14.1. Preparing NFS</A
></H1
><P
>&#13;Before you can use NFS, be it as server or client, you must make sure your
kernel has NFS support compiled in. Newer kernels have a simple interface
on the <TT
CLASS="FILENAME"
>proc</TT
> filesystem for this, the
<TT
CLASS="FILENAME"
>/proc/filesystems</TT
> file, which you can display
using <B
CLASS="COMMAND"
>cat</B
>:
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="SCREEN"
>$ <TT
CLASS="USERINPUT"
><B
>cat /proc/filesystems</B
></TT
>
minix
ext2
msdos
nodev proc
nodev nfs</PRE
></TD
></TR
></TABLE
></P
><P
>If <SPAN
CLASS="SYSTEMITEM"
>nfs</SPAN
> is missing from this
list, you have to compile your own kernel with NFS enabled, or perhaps
you will need to load the kernel module if your NFS support was
compiled as a module. Configuring the kernel network options is
explained in the &#8220;Kernel Configuration&#8221; section of <A
HREF="x-087-2-hardware.html"
>Chapter 3</A
>.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x-087-2-nfs.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x-087-2-nfs.mountd.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>The NetworkFile System</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="x-087-2-nfs.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Mounting an NFS Volume</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>