You are not logged in.

#1 2013-08-16 18:47:13

marius
Member
Registered: 2010-06-03
Posts: 7

[SOLVED] NFS protocol not supported

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

#2 2013-08-16 18:55:07

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] NFS protocol not supported

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

#3 2013-08-16 21:25:42

marius
Member
Registered: 2010-06-03
Posts: 7

Re: [SOLVED] NFS protocol not supported

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

#4 2013-08-17 03:01:55

Pse
Member
Registered: 2008-03-15
Posts: 413

Re: [SOLVED] NFS protocol not supported

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

#5 2013-08-17 12:46:19

marius
Member
Registered: 2010-06-03
Posts: 7

Re: [SOLVED] NFS protocol not supported

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

Board footer

Powered by FluxBB