RILINDO FOSTER wrote: > Okay, it took a few minutes, but I figure it out. Seems that Scientific Linux eems to regress a bit in this area. > > With Centos, you need to bind like so: > > /home/share /exports/share none bind 0 0 > /home/vhosts /exports/vhosts none bind 0 0 > > And then specify the options (including fsid0): > > in /etc/exports > > /exports *(rw,fsid=0,insecure,no_subtree_check,sync,no_root_squash) > /exports/vhosts *(rw,fsid=0,insecure,no_subtree_check,sync,no_root_squash) > /exports/share *(rw,fsid=0,insecure,no_subtree_check,sync,no_root_squash) > [root@centos home]# > > In order for clients to mount via NFS4 (with all the usual stuff about specifying in the ports in /etc/sysconfig/nfs) in thisfmat : > > mount -t nfs4 192.168.15.200:/ /mnt > > Which is apparently the correct way of mount via NFS > > HOWEVER, in Scientific Linux, you can get way with a) not binding the directories and b) go back to this format: > > /home/exports *(ro,sync) > /opt *(ro,sync) > > > And still be able to mount: > > mount -t nfs4 192.168.15.100:/opt /mnt > > > I have to double check the mounts to confirm that I am mount via NFS4. > > Centos box (mounting SL box via NFS4): > > 192.168.15.100:/opt /mnt nfs4 rw,addr=192.168.15.100 0 > > SL Box (mounting Centos box via NFS4): > > 192.168.15.200:/ /mnt nfs4 rw,addr=192.168.15.200,clientaddr=192.168.15.100 0 0 > > Huh. > > Thanks a lot for the pointers, guys. It has been interesting. :) > > On Jun 2, 2011, at 8:50 PM, RILINDO FOSTER wrote: > >> Here you go. Nothing too fancy: >> >> [root@centos ~]# cat /etc/exports >> /home *(ro,sync) >> /opt/company_data *(rw,sync) >> If I am not mistaking, difference might be between 5.x and 6.x, not distro oriented. Not binding and having DNS/hostname issues is nice and is progress. P.S. Please do not forget not to top post. Thanks. Ljubomir _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos