Re: NFS issue

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



>>>
>>> Try adding nohide as an option to /etc/exports. See exports(5) for
>>> more information about nohide and exporting filesystems with mount
>>> points.
>>>
>>
>> Most interesting.
>>
>>
>> Looked, and applied...
>>
>>
>> no change..
>>
>> these are the relevant lines in the /etc/exports
>>
>> /data/shared/   172.16.1.0/255.255.255.0(sync,rw,nohide)
>> /data/shared/   172.16.4.0/255.255.255.0(sync,rw,nohide)
>>

Hi,

I was under the impression that nfs exports a filesystem in its entirety.
Therefore, if you have another filesytem mounted in a subdirectory, you
have to export it too, as it will not be exported for you. You therefore
might have to have two entries:

/data/shared/   172.16.1.0/255.255.255.0(sync,rw,nohide)
/data/shared/Photos/Archive1   172.16.1.0/255.255.255.0(sync,ro)

I hope that helps. If nohide does not work, then you will have you use two
mounts on the clients.

A.

>>
>> (need to export to different subnets, anything else doesn't work)
>>
>>
>> Cheers
>>
>
> Did have another look at the nohide option after some sleep, and there
> is a rather special caveat...
>
> <quote>
> The nohide option is currently only effective on single host exports.
> It does not work  reliably  with  netgroup, subnet, or wildcard exports.
> </quote>
>
>
> Not really good enough as this data needs to be exported to a whole lot
> of machines, i.e. two subnets..
>
> Any other thoughts ?
>
>
> AM
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
>


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux