[clug] nfs mount failing

Eyal Lebedinsky eyal at eyal.emu.id.au
Wed Aug 12 07:29:37 MDT 2009


After discovering that using the ip in /etc/exports
	/data1 192.168.3.0/24(rw,async)
does work I looked further and found that /etc/hosts has
	192.168.3.4    e4
Deleting this line made things work as desired with /etc/exports
	/data1 *.eyal.emu.id.au(rw,async)

It seems that a line like this would have worked in /etc/hosts
	192.168.3.4    e4.eyal.emu.id.au
Nevertheless, the hosts file was just a leftover from an experiment
a while back when the name server was not accessible.

Thanks everyone, I can now move my RAID to this server and be able
to nfs export it.

Eyal Lebedinsky wrote:
> This is supposed to be simple.
> 
> 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
> 
> What gives?
> 
> TIA

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


More information about the linux mailing list