1833869 Members
1638 Online
110063 Solutions
New Discussion

directory connection

 
SOLVED
Go to solution
hangyu
Regular Advisor

directory connection

I want to mount the unix to windows server with "nfs" , I tried the below script , it is not work and have the below error
mount smb -o username="domain/user",password="password" //ip_address/dir /dir -t nfs

error:
mount: directory to mount not in host:dir format

but if I erase the word "-t nfs" -- >
mount smb -o username="domain/user",password="password" //ip_address/dir /dir , it is work , can suggest how can I use "nfs" to connect ? thx
4 REPLIES 4
Muthukumar_5
Honored Contributor

Re: directory connection

Try with -t smbfs.

Refer this manual,
http://coewww.rutgers.edu/www1/linuxclass2003/lessons/lecture6.html

hth.
Easy to suggest when don't know about the problem!
hangyu
Regular Advisor

Re: directory connection

thx reply ,

it work fine to use smbfs but if I want to use "nfs" , could suggest what can I do ? thx
Martin Brachtl
Advisor
Solution

Re: directory connection

Kasper Hedensted
Trusted Contributor

Re: directory connection

If you want to mount a directory from Windows to Unix with NFS, then you need a NFS server on your Windows box.