Hi,
 
I am trying to mount the windows NT share to solaris 8.0 using Redhat 8.0 nfs.
 
Using smbmount I mounted windows share in Linux as /home/percipia/smb. I setup Linux as NFS Server and exported /home as nfs export.
 
 
[root@ldap root]# cat /etc/exports
/home 192.168.1.0/255.255.255.0(ro,nohide,insecure,sync)
 
 
[root@ldap root]# rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32768  status
    100024    1   tcp  32768  status
    391002    2   tcp  32769  sgi_fam
    100011    1   udp    639  rquotad
    100011    2   udp    639  rquotad
    100011    1   tcp    642  rquotad
    100011    2   tcp    642  rquotad
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100021    1   udp  32787  nlockmgr
    100021    3   udp  32787  nlockmgr
    100021    4   udp  32787  nlockmgr
    100005    1   udp  32788  mountd
    100005    1   tcp  32815  mountd
    100005    2   udp  32788  mountd
    100005    2   tcp  32815  mountd
    100005    3   udp  32788  mountd
    100005    3   tcp  32815  mountd
 
In Solaris, I was able to mount the Linux nfs share:
 
bash-2.03# showmount -e 192.168.1.135
export list for 192.168.1.135:
/home 192.168.1.0/255.255.255.0
 
bash-2.03# mount 192.168.1.135:/home /tmp/mnt
 
bash-2.03# ls /tmp/mnt
lost+found  percipia    sysadm      zzz
 
bash-2.03# ls /tmp/mnt/percipia/smb
 
No files listing.
 
Its not showing windows files.
 
In the  news groups,  I saw the following messages ruing nfsd with --re-export option. Redhat 8.0 nfsd man page I don't see the --re-export option. Do I need to install some other NFS package?.
 
 
[root@ldap root]# rpm -qa | grep -I nfs
redhat-config-nfs-1.0.1-3
nfs-utils-1.0.1-2
 
Any help to achine withis
Thanks
-SR
 
New Group message:
===============
 
From the Linux man-page nfsd(8):
       -r or --re-export
              Allow imported NFS  file-systems  to  be  exported.
              This can be used to turn a machine into an NFS mul-
              tiplier.  Caution should be used when  re-exporting
              loopback  NFS  mounts because re-entering the mount
              point will  result  in  deadlock  between  the  NFS
              client and the NFS server.

 
I would like to thank everybody who has found time to share their
expertise in this matter. After having played with 3 versions of Red Hat
Linux(5.1, 6.2, 7.0), recompiling from source two kernels (2.2.18, 2.4.2),
experimenting with 3 versions of nfs-utils (0.1.6, 0.1.9, 0.3.1), and
finally coming back to nfs-server-2.2beta, I finally made it work! If you
remember, when I had it partially working with nfs-server-2.2beta before,
all I had to do is add another modification to the /etc/rc.d/init.d/nfs
script. Turns out that not only rpc.mountd daemon, but also rpc.nfsd
daemon has to be started with --re-export option. It will then make the
subdirectory structure of /foo available to A as well. It was a great
experience, and I learned a lot of new things. Again, thanks for your
help.

Reply via email to