Re: Problem with NFS4 and CentOs 5.8

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



On 04/10/2012 11:08 AM, Veli-Pekka Kestilä wrote:
> Hi,
>
> I hope someone could give me help with following problem on centos 5.8
> kernel and nfs4.
>
> On server i have bind mounted directory shared to the client with
> following setup:
> mounted directory:
>       /srv/nfs/imagetest on /exports/imagetest type none (rw,bind)
>
> /etc/exports file:
>       /exports
> 10.0.4.0/24(ro,insecure,sync,wdelay,no_subtree_check,no_root_squash,fsid=0,crossmnt)
>       /exports/imagetest
> 10.0.4.20(rw,insecure,sync,wdelay,no_subtree_check,nohide,no_root_squash)
>
> On client I have mounted it with following command:
>       10.0.4.2:/ on /media/nfs type nfs4
> (rw,nodev,sync,proto=tcp,retry=10,rsize=32768,wsize=32768,hard,intr,addr=10.0.4.2)
It appears that this client IP is one of the ro list of IPs - thus 
trying to mount rw will be a problem??
> This works fine with kernel: 2.6.18-274.17.1.el5.centos.plusxen
>
> But with 2.6.18-308.1.1.el5.centos.plusxen I get the following error:
>       -bash: cd: imagetest/: Not a directory when accessing the share.
>
> If I disable nohide-option I can access the directory, but with the
> contents of the original /exports/imagetest without the mounting.
>
> Greetings,
> -vpk
>
>
>
> _______________________________________________
> 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