[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Q: nfs server fails to mount own exported resource, but other client able to mount



On Thu, Apr 24, 2014 at 2:06 PM, Snow Leopard
<snow.leopard.deb@gmail.com> wrote:
>
> the mystery has been resolved -- question how did I not catch it right away?
>
> I found that my old Red Hat system and Debian Wheezy/Squeezy resolve
> computer name into ip address in different ways.
>
> Red Hat mount maps computer name to DHCP ip address
> Debian mount maps computer name to loopback interface
>
> My attention was somewhat distracted and I've missed that in this case in
> /etc/exports a record should look
>
> not like
> /export/home    192.168.0.0/24(rw,sync,no_subtree_check)
>
> but instead
> /export/home    192.168.0.0/24(rw,sync,no_subtree_check)
> 127.0.0.0/16(rw,sync,no_subtree_check)
>
> The clue was found in logfiles
> /var/log/syslog.1:Apr 24 10:29:19 vega mountd[1320]: refused mount request
> from 127.0.1.1 for /export/home (/export/home): unmatched host
>
> The mystery is resolved.

Good!

That's why I'd asked about "/etc/exports".


Reply to: