You are not logged in.
Hi all,
I am having trouble with an NFS mount that worked fine before the move to iana-etc (so I'm assuming it is related to that).
When I try to mount I get an incorrect mount option error:
# mount -t nfs server:/share /dest
mount.nfs: an incorrect mount option was specifiedI had to add vers=3 when NFS4 came out as the server only supports version 3, but this makes no difference here:
# mount -t nfs server:/share /dest -o vers=3
mount.nfs: an incorrect mount option was specifiedIn verbose mode:
# mount -t server:/share /dest -o vers=3 -v
mount.nfs: timeout set for Tue Sep 14 14:51:15 2010
mount.nfs: trying text-based options 'vers=3,addr=*server_ip*'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying *server_ip* prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying *server_ip* prog 100005 vers 3 prot UDP port 710
mount.nfs: an incorrect mount option was specifiedIf I add an option specifying the protocol the error message goes away, but nothing is mounted. This happens if I specify udp or tcp.
# cat /etc/services
sunrpc 111/tcp rpcbind # SUN Remote Procedure Call
sunrpc 111/udp rpcbind # SUN Remote Procedure CallAny help is greatly appreciated!
Last edited by Tim-spongefryshoutypants (2010-10-07 18:15:59)
I'm a physicist. I have a working knowledge of the entire universe and everything it contains. --Sheldon Cooper
Offline
I might have the same problem, though modifying /etc/services doesn't help to "mount.nfs: an incorrect mount option was specified" error message at all.
I'm running arch diskless from the nfs server. root mounts at boot, but after that I can't mount anything
Offline
I added those lines to /etc/services to solve a different error, it reported that rpcbind wasn't running. I wasn't sure if this had anything to do with the mount option error or not, I would guess that it doesn't.
I'm a physicist. I have a working knowledge of the entire universe and everything it contains. --Sheldon Cooper
Offline
I solved this problem, but I'm not entirely sure how. I reinstalled iana-etc and filesystem, I also copied an /etc/services file from a different Arch machine because for some reason I didn't have one. Somewhere along the way it started working.
I'm a physicist. I have a working knowledge of the entire universe and everything it contains. --Sheldon Cooper
Offline