[clug] nfs mount failing

Eyal Lebedinsky eyal at eyal.emu.id.au
Wed Aug 12 06:45:21 MDT 2009


Michael James wrote:
> 
> On 12/08/2009, at 9:47 PM, Eyal Lebedinsky wrote:
> 
>> This is supposed to be simple.
> 
> NFS never is, it's the closest we get to MS flakeyness;
>  only on the full moon, facing west, with the right imprecation.
> Fortunately black goats are rarely necessary.
> 
>> e7a is f11. I export a directory (/data1).
>> It is in /etc/exportfs and the client is in /etc/hosts.allow.
>>
>> An attempt to mount gives
>>     mount.nfs: access denied by server while mounting e7a:/data1
>>
>> and on the server I see
>>     mountd[26524]: refused mount request from 192.168.3.4 for /data1 
>> (/data1): unmatched host
> 
> 
> Is the client identified by 192.168.3.4 in /etc/exports ?

No, it is identified by name. This works just fine on another machine here.

I put in 192.168.3.0/24 and it mounted. I did not expect this.

The ip correctly resolves on the server:

[eyal at e7a ~]$ host e4.eyal.emu.id.au
e4.eyal.emu.id.au has address 192.168.3.4

[eyal at e7a ~]$ host 192.168.3.4
4.3.168.192.in-addr.arpa domain name pointer e4.eyal.emu.id.au.

There must be away to not use the ip in /etc/exports though?

> Is IPv6 safely disabled?

Left is at the default install state.

> Is it a full moon?

It was, *exactly* a week ago!

thanks

-- 
Eyal Lebedinsky	(eyal at eyal.emu.id.au)


More information about the linux mailing list