Re: [SLUG] Can't mount NFS drives

From: Paul M Foster (paulf@quillandmouse.com)
Date: Tue Aug 26 2003 - 00:35:32 EDT


On Fri, Aug 22, 2003 at 01:25:55PM -0400, Ian Blenke wrote:

> Andrew M Hoerter wrote:
> >On Fri, 22 Aug 2003, Paul M Foster wrote:
> >
> >
> >>I've got a machine I'm converting over from RH6.2 to Debian 3.0r1. I've
> >>set this machine to export three directories via NFS, like this (in the
> >>/etc/exports file):
> >>
> >>/mnt/lists *(rw,insecure,no_root_squash)
>
> Try the following:
>
> client$ rpcinfo -p server
>
> Do you see mountd? if not, RPC is being blocked (or portmap isn't
> running). Make sure portmap is running on the server, and that the
> connection isn't being rejected by /etc/hosts.deny (try putting "ALL:
> ALL" in /etc/hosts.allow), and that the UDP packets aren't being blocked
> by a firewalling ruleset (port 111, 2048, etc)
>
> If you see mountd, try the following:
>
> client$ showmount -e server
>
> Do you see the exported filesystems? If not, fix any typos in
> /etc/exports, restart your nfs services, and try again.
>
> /etc/init.d/nfs-kernel-server restart
>
> Is everyone in the list? If not, what about the client? If showmount
> doesn't show an appropriately exported filesystem, fix your /etc/exports
> file and bounce your mountd:
>
> $ exportfs -a
>
> Let us know where things stop working... then we can debug further.

This was good advice, but the problem was a bit more bizarre. I was
building a new Debian 3.0r1 machine, and had selected the
kernel-image-2.4.18-586tsc package for installation. The machine never
told me it _didn't_ install this package, but I figured out I was
running a 2.2.20 kernel, which I'm guessing didn't want to work well
with the nfs-kernel-server. Turns out that, although the kernel-image
package was listed, it did not exist on the ftp server. So I installed
the kernel-image-2.4.20-3-586tsc package instead, and actually watched
it install. After a reboot, the nfs kernel server was fine.

Paul
-----------------------------------------------------------------------
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 - 18:42:30 EDT