strange nfs problem, need nfs guru

Tom H tomh0665 at gmail.com
Thu Aug 21 18:02:45 UTC 2014


On Thu, Aug 21, 2014 at 10:26 AM, Gene Heskett <gheskett at wdtv.com> wrote:
> On Thursday 21 August 2014 07:22:44 Nils Kassube did opine


>> sudo mount -tnfs 192.168.71.3:/ /mnt
>
> gene at lathe:~$ sudo mount -tnfs
> mount.nfs: access denied by server while mounting 192.168.71.3:/
>
> Playing 10,000 monkeys the error is either
> mount.nfs: remote share not in 'host:dir' format
>
> or the above access denied.

On 192.168.71.3:
cat /proc/fs/nfsd/versions
rpcinfo -p
showmount -e

On lathe and/or shop:
rpcinfo -p 192.168.71.3
showmount -e 192.168.71.3
mount -v -t nfs 192.168.71.3:/
somewhere-other-than-/net-since-youre-using-autofs
(umount if successful)
mount -v -t nfs 192.168.71.3:/home/gene
somewhere-other-than-/net-since-youre-using-autofs
(umount if successful)
mount -v -t nfs -o nfsvers=3 192.168.71.3:/home/gene
somewhere-other-than-/net-since-youre-using-autofs
(umount if successful)
mount -v -t nfs -o nfsvers=4 192.168.71.3:/home/gene
somewhere-other-than-/net-since-youre-using-autofs
(umount if successful)
mount -v -t nfs -o nfsvers=4 192.168.71.3:/
somewhere-other-than-/net-since-youre-using-autofs


>> 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.

Specifying two (or more) hosts is OK.




More information about the ubuntu-users mailing list