Re: exporting to a list of IPs

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

 



On Tue, 03 Aug 2010 11:53:07 -0400
Jason Keltz <jas@xxxxxxxxxxxx> wrote:

> Hi.
> 
> Why is it that you cannot NFS export to a list of IPs and have exportfs 
> leave the list of IPs in etab without converting over to FQDN?

My memory is that if you only list IP addresses in /etc/exports then it will
do just want you want.  But if you list any host names or net groups then it
has to do a DNS lookup on everything to see if either of those matches.

> 
> In Changelog:
> 
> 2001-09-20 NeilBrown <neilb@xxxxxxxxxxxxxxx>
>              Anne Milicia <milicia@xxxxxxxxxxxxxxxxxxxxxxxx>
> 
>          * support/export/client.c (client_lookup) call gethostbyadd
>          to make sure that we have a canonical hostname, even for
>          dotted-quads

I think this patch only related to netgroup lookups.

> 
> Why does mountd need to repeat the gethostbyname() lookup on every host 
> even though exportfs already converted over to using hostname?

exportfs doesn't convert over host hostnames.  It essentially
copies /etc/exports to /var/lib/nfs/etab with minor formatting changes.

What do you actually put in /etc/exports, what do you find
in /var/lib/nfs/etab, and what exactly is the problem?

NeilBrown


> 
> Thanks,
> 
> Jason.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux