Re: problem while exporting

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

 



Hi,

There is something funny with NFS mounts and DNS that isn't really
documented anywere that I can find. Firstly, when mounting the server
tries a reverse DNS lookup on the client. It also does a forward check.
I've had strange issues where I couldn't mount unless there were
certain entries in /etc/hosts but that's been fixed.

It may be some paranoid check in the NFS server...

Hope that helps,

On Mon, Aug 30, 2004 at 08:25:53AM +0530, Dinil Divakaran wrote:
> Hi All
> 
> We are having a LAN in which a machine, say A, exports 
> some of its directories to few other machines in the 
> lab. This worked fine until the nameservers went down.
> We have two name servers and both of them went down
> yesterday. After this, the machine A is not able to export
> its directories. When I give 'exportfs -r', its hanging
> on that. When I did a strace, I found that it was trying
> to contact the name server.
> 
> Now, the interesting point is that all the systems that
> is exporting files from machine A, is in the LAN itself
> and is reachable (ping) from machine A; and the entry in
> /etc/exports only has the IP address. In such a case, why
> does the machine A try to contact the name servers, since
> it already knows that these systems are in the same LAN ?
> Why does it try to do a name lookup when the entries in 
> the exports file are IPs; and not hostnames ?
> 
> Can someone explain ?
> 
> Cheers,
> Dinil
> 
> -
> : send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment: pgpiJLsIgRX0b.pgp
Description: PGP signature


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux