strange nfs problem, need nfs guru
Joseph Loo
jloo20111002 at gmail.com
Thu Aug 21 12:00:46 UTC 2014
On 08/21/2014 04:22 AM, Nils Kassube wrote:
> Gene Heskett wrote:
>> On Thursday 21 August 2014 04:24:42 Nils Kassube did opine
>> And Gene did reply:
>>> Tom H wrote:
>>>> Anyway, it looks like your kernel's failing this test in
>>>> "/etc/init.d/nfs-kernel-server":
>>>>
>>>> # 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
> Looks good to me.
>
>> But, ssh'd into one of those machines, there isn't anything at the
>> /net/ link.
> I have no idea what you mean by "there isn't anything at the /net/
> link". But what happens if you try to mount your one of the exported
> directories from the other machine?
>
> sudo mount -tnfs 192.168.71.3:/ /mnt
>
> Provided that 192.168.71.3 is the machine which runs the nfs server.
> BTW: In your exports file the IP address specifies which host is allowed
> to mount the share and it should be either one host (like 192.168.71.3)
> or a IP range like 192.168.71.0/24 - I have no idea what would happen if
> you use a host address with a trailing /24.
>
>
> Nils
>
I believe he is using autofs. Try ls /net/192.168.71.3 and see what is
showing up.
--
Joseph Loo
jloo at acm.org
More information about the ubuntu-users
mailing list