You are not logged in.

#1 2010-09-14 13:50:04

Tim-spongefryshoutypants
Member
From: Manchester UK
Registered: 2009-12-13
Posts: 15

[SOLVED] NFS client mount problem after move to iana-etc

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 specified

I 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 specified

In 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 specified

If 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 Call

Any 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

#2 2010-09-15 16:34:53

lartza
Member
Registered: 2006-10-17
Posts: 14

Re: [SOLVED] NFS client mount problem after move to iana-etc

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

#3 2010-09-15 16:39:45

Tim-spongefryshoutypants
Member
From: Manchester UK
Registered: 2009-12-13
Posts: 15

Re: [SOLVED] NFS client mount problem after move to iana-etc

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

#4 2010-10-07 18:12:56

Tim-spongefryshoutypants
Member
From: Manchester UK
Registered: 2009-12-13
Posts: 15

Re: [SOLVED] NFS client mount problem after move to iana-etc

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

Board footer

Powered by FluxBB