You are not logged in.
Pages: 1
Topic closed
So because sshfs is slow in a small network and the encryption is useless i decided to setup NFS
But when mounting i get this error:
[~]:$ sudo mount -t nfs4 192.168.0.100:/home/jelle/Downloads /home/jelle/Downloads/ -v
mount.nfs4: timeout set for Fri Nov 27 21:16:26 2009
mount.nfs4: text-based options: 'clientaddr=192.168.0.102,addr=192.168.0.100'
mount.nfs4: mount(2): No such file or directory
mount.nfs4: mounting 192.168.0.100:/home/jelle/Downloads failed, reason given by server:
No such file or directoryI have searched the forum and wiki but couldnt find any clue.
SERVER SETUP
/etc/hosts.allow
nfsd: 192.168.0.1/255.255.255.0
rpcbind: 192.168.0.1/255.255.255.0
mountd: 192.168.0.1/255.255.255.0/etc/exports
/home/jelle/Downloads 192.168.0.1/255.255.255.0(rw,subtree_check,async,no_root_squash,fsid=0)SERVER[~]:$ sudo exportfs -v
/home/jelle/Downloads
192.168.0.1/255.255.255.0(rw,async,wdelay,no_root_squash,fsid=0)And on my Desktop
hosts.allow
/home/jelle/Downloads 192.168.0.1/255.255.255.0(rw,subtree_check,async,no_root_squash,fsid=0)Last edited by jelly (2009-11-27 20:21:12)
Offline
i have the same problem. the error printed is "no such file or directory" even though the directory exists, on the server. let me know if you had any luck?
[solved]
when you mount the share on the client only use '/' for root. it will mount whatever directory specified in the config.
Last edited by f3ar007 (2009-12-11 23:23:54)
Offline
Quite old thread, but I had a similar problem today. It may be helpful for future visitors.
I was trying to put a share to another subnet, while i got the same error message. It turned out that I only specified the fsid=0 entry for the range of the old subnet, so the new one had no /-mount point to look at. This results in the ENOENT error message just as above.
So be sure to have a proper for all clients accessible fsid=0 export.
Cheers,
Cae
Offline
closing a necrobumped thread. This info, I believe, is also available on the wiki.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Pages: 1
Topic closed