Re: [SLUG] nfs and Debian what am I missing

From: Michael Manchester (mchester@yahoo.com)
Date: Mon Aug 11 2003 - 16:09:00 EDT


Matt:
Here's what I get.
tango:~# netstat -pnl|egrep "nfsd|mountd"
tcp 0 0 0.0.0.0:4323 0.0.0.0:*
             LISTEN
19611/rpc.mountd
udp 0 0 0.0.0.0:1045 0.0.0.0:*
19611/rpc.mountd
tango:~# showmount -e
Export list for tango:
/ 192.168.1.0/255.255.255.0
/etc 192.168.1.0/255.255.255.0
/usr 192.168.1.0/255.255.255.0
/var 192.168.1.0/255.255.255.0
/data 192.168.1.0/255.255.255.0
/data/kickstart 192.168.1.0/255.255.255.0
/home 192.168.1.0/255.255.255.0
tango:~# modprobe nfsd
modprobe: Can't locate module nfsd
tango:~# lsmod
Module Size Used by
af_packet 6136 0 (unused)

--- Matt Miller <Matt.Miller@mptotalcare.com> wrote:
> On Mon, 2003-08-11 at 06:46, Mike Manchester wrote:
> > I have a Debian client that used to do nfs shares
> to and from a RedHat
> > 7.1 server. I have replaced the RedHat 7.1 with
> Debian Woody and now I
> > am unable to do nfs shares. I'm using the same
> exports file on the sever
> > that I was using before and nothing has changed on
> the client.
> > I have the following in
> > /etc/init.d
> > /etc/init.d/mountnfs.sh
> /etc/init.d/nfs-kernel-server
> > /etc/init.d/nfs-common /etc/init.d/umountnfs.sh
> >
> > I've restarted nfs-common and nfs-kernel-server.
> The howto speaks of
> > rpc.mound or mountd and nfsd (which it was in
> Redhat) or rpc.nfsd but I
> > can't find those on Debian. Did I not install
> somehting correctly?
>
> You will find that both mountd and nfsd are invoked
> by
> /etc/init.d/nfs-kernel-server.
>
> $ egrep "nfsd|mountd" /etc/init.d/*
>
> > rpcinfo -p on both machines shows that the client
> has nfs in the listing
> > but the server does not have nfs in the listing.
> This is another reason
> > I'm thinking something is missing.
> > I do see ths process running. But I don't see any
> process running for
> > nfs.
> > root 19611 1 0 05:54 ? 00:00:00
> /usr/sbin/rpc.mountd
> > --no-nfs-version 3
>
> As root, do the following --
>
> $ netstat -pnl|egrep "nfsd|mountd"
> # if the netstat command comes back empty, then
> nfsd/mountd is not #
> running
>
> If they both appear to be running and listening,
> then do the next -
>
> $ showmount -e
> # This will show what your nfs server is
> currently exporting
>
> If neither command returns any results, then I would
> assume you do not
> have nfs server support in the kernel. If you are
> still running the
> stock kernel and have not compiled your own kernel,
> then you should have
> modules for nfsd.
>
> As root --
>
> $ modprobe nfsd
> $ lsmod # to confirm successful loading
> of nfsd
> $ /etc/init.d/nfs-kernel-server start
> $ /etc/init.d/nfs-common start
>
> Rerun the netstat and showmount commands above to
> confirm nfsd is
> running. Add nfsd to /etc/modules to make the change
> persistent.
>
> $ echo "nfsd" >> /etc/modules
>
> --
>
> Matt Miller
> Systems Administrator
> MP TotalCare
> gpg public key id:
> 08BC7B06
>
> --
> Insanity in individuals is something rare - but in
> groups, parties,
> nations and epochs, it is the rule. -- Nietzsche
>

> ATTACHMENT part 2 application/pgp-signature
name=signature.asc

=====
---------------------------------
The requirements said
"Windows 95/98/NT or better"
So I installed Linux
---------------------------------

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:26:57 EDT