You are not logged in.
I get this error:
mount.nfs4: Protocol not supported
when trying to mount a NFS share from my server like so:
sudo mount -t nfs4 192.168.1.20:/srv/nfs4/ /media/server
I can mount it on my raspberry pi, but not on my arch laptop.
The server configuration is like this:
/srv/nfs4/ 192.168.1.1/24(rw,fsid=root,no_subtree_check)
/srv/nfs4/media 192.168.1.1/24(rw,no_subtree_check,nohide)
showmount -e gives this:
Export list for 192.168.1.20:
/srv/nfs4/media 192.168.1.1/24
/srv/nfs4 192.168.1.1/24
Any ideas?
Last edited by marius (2013-08-17 12:50:46)
Offline
I don't think you are supplying all the information that you are given by your machine. The error you mention is often preceeded by a number of other messages which give some idea of what is actually occurring. Please post error messages exactly as they are given to you, and check the journal and/or dmesg for more information.
Also as a side note, you need to use code tags for things like commands and output. Hit the quote button on this post to see how I created the boxes below (the arrows will make sense when this post is quoted):
<--These are code tags-->
<--These are quote tags-->
Offline
This is all the info that is displayed... dmesg does not reveal anything nor does journal..
Verbose command gives this:
marius:~$ sudo mount -t nfs4 192.168.1.20:/srv/nfs4/ /media/server -v
mount.nfs4: timeout set for Fri Aug 16 23:26:44 2013
mount.nfs4: trying text-based options 'addr=192.168.1.20,clientaddr=192.168.1.30'
mount.nfs4: mount(2): Protocol not supported
mount.nfs4: Protocol not supported
Last edited by marius (2013-08-16 21:34:25)
Offline
Have you recently updated your kernel without rebooting? Can you run the following commands?
modprobe -r nfs
modprobe nfs
Last edited by Pse (2013-08-17 03:02:15)
Offline
You got it, tried
modprobe -r nfs
modprobe nfs
with no luck, but a reboot fixed the issue, doh!
Thank you!
Last edited by marius (2013-08-17 12:49:53)
Offline