strange nfs problem, need nfs guru

Gene Heskett gheskett at wdtv.com
Thu Aug 21 15:02:19 UTC 2014


On Thursday 21 August 2014 09:57:12 Tom H did opine
And Gene did reply:
> On Thu, Aug 21, 2014 at 6:27 AM, Gene Heskett <gheskett at wdtv.com> wrote:
> > On Thursday 21 August 2014 04:24:42 Nils Kassube did opine
> > 
> > And Gene did reply:
> >> Tom H wrote:
> >>> # See if our running kernel supports the NFS kernel server
> >>> if ! grep -E -qs "[[:space:]]nfsd\$" /proc/filesystems; then
> > 
> > Replacing my similar line with this, gets me a more informative msg:
> > gene at coyote:/etc/init.d$ sudo service nfs-kernel-server restart
> > 
> >  * Stopping NFS kernel daemon
> > 
> > [ OK ]
> > 
> >  * Unexporting directories for NFS kernel daemon...
> > 
> > [ OK ]
> > 
> >  * Exporting directories for NFS kernel daemon...
> > 
> > exportfs: /etc/exports [1]: Neither 'subtree_check' or
> > 'no_subtree_check' specified for export
> > "192.168.71.3/24:/home/gene/".
> > 
> >   Assuming default behaviour ('no_subtree_check').
> >   NOTE: this default has changed since nfs-utils version 1.0.x
> > 
> > exportfs: /etc/exports [2]: Neither 'subtree_check' or
> > 'no_subtree_check' specified for export "192.168.71.3/24:/".
> > 
> >   Assuming default behaviour ('no_subtree_check').
> >   NOTE: this default has changed since nfs-utils version 1.0.x
> > 
> > [ OK ]
> > 
> >  * Starting NFS kernel daemon
> > 
> > But, ssh'd into one of those machines, there isn't anything at the
> > /net/ link.
> 
> So nfs is now starting.
> 
> In to which machine are you ssh'ing?

Both, using ssh -Y syntax, so they are both available to me right now.
 
> The nfs server or an nfs client?

The other 2 machines are servers, which I am "mount" (in fstab) importing 
here. That works fine, but I find myself in situations where I have dl'd a 
file to this machine & have to walk back down to the house and usually 
using mc, copy the file to one of those machines.  With almost 80 years on 
these legs, I would much rather be able to pull that file without that 
trip to the house, by sharing /home/gene here, with those 2 machines.
 
> Do you have autofs running on the machine where into which you're
> ssh'ing?

Yes on both. Concentrating on the lathe box, I appear to be starting a 
new, slightly different (according to an lsof|grep autofs) invocation
of it every time I try to mount with a different syntax.
So I'll reboot it for a clean slate, BRB.  Yes, fresh reboot show one 
instance of autofs running.  The mount has been added to its /etc/fstab 
file:
coyote.coyote.den	/net/coyote	nfs	defaults	0	0

> Is "/net" enabled/uncommented?

Where do I check this?
 
> What does "ls /net/ip-address-of-nfs-server" (or "ls
> /net/hostname-of-nfs-server" if you have dns set up) return?

local dns is hosts file based.  An ls of /net/ip4addr doesn't exist, and
an ls /net/aliasname is an empty return.

Thanks a bunch people.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS




More information about the ubuntu-users mailing list