Server: FreeBSD 8.1-RELEASE-p2 on ZFS (using zfs exports, not firewalled)
Client: Arch Linux
This just began happening a few days ago and seems to come and go. On my client (arch linux laptop), I get the following when trying to mount an NFS share from my 8.1-p2 server:
The above is only AFTER I forced the FreeBSD server to user version 4 by adding the following to /etc/rc.conf:
BEFORE, the above change, I was getting:
Anyone else been having problems with NFS lately? I haven't updated or made any changes to the NFS configuration, it's frustrating trying to figure out why this began happening. I've tried restarting all services, going to sysinstall and disabling NFSv3 (though it just appears to return after I exit...not sure if this has anything to do with it). I'm not running a firewall on the server.
I thought that this may have something to do with Arch because I noticed the problem after a recent update, but I just tested my Fedora install on a different computer (my desktop) and it's throwing the same "connection refused" error.
I think this may have something to do with the NFS versioning...but who knows. Any tips would be appreciated.
Client: Arch Linux
This just began happening a few days ago and seems to come and go. On my client (arch linux laptop), I get the following when trying to mount an NFS share from my 8.1-p2 server:
Code:
[andre@dlaptop ~]# sudo mount -v /mnt/nas
mount.nfs: timeout set for Fri Feb 25 16:19:15 2011
mount.nfs: trying text-based options 'soft,rsize=8192,wsize=8192,vers=4,addr=10.0.0.98,clientaddr=10.0.0.102'
mount.nfs: mount(2): Connection refused
mount.nfs: trying text-based options 'soft,rsize=8192,wsize=8192,vers=4,addr=10.0.0.98,clientaddr=10.0.0.102'
mount.nfs: mount(2): Connection refused
mount.nfs: trying text-based options 'soft,rsize=8192,wsize=8192,vers=4,addr=10.0.0.98,clientaddr=10.0.0.102'
mount.nfs: mount(2): Connection refused
mount.nfs: trying text-based options 'soft,rsize=8192,wsize=8192,vers=4,addr=10.0.0.98,clientaddr=10.0.0.102'
mount.nfs: mount(2): Connection refused
The above is only AFTER I forced the FreeBSD server to user version 4 by adding the following to /etc/rc.conf:
Code:
nfs_server_flags="-u -t -n 4 -e"
BEFORE, the above change, I was getting:
Code:
[andre@dlaptop ~]sudo mount -v /mnt/nas
mount.nfs: timeout set for Fri Feb 25 16:15:24 2011
mount.nfs: trying text-based options 'soft,rsize=8192,wsize=8192,vers=4,addr=10.0.0.98,clientaddr=10.0.0.102'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'soft,rsize=8192,wsize=8192,addr=10.0.0.98'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.0.0.98 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 10.0.0.98 prog 100005 vers 3 prot UDP port 809
mount.nfs: mount(2): Connection refused
mount.nfs: trying text-based options 'soft,rsize=8192,wsize=8192,vers=4,addr=10.0.0.98,clientaddr=10.0.0.102'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'soft,rsize=8192,wsize=8192,addr=10.0.0.98'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.0.0.98 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 10.0.0.98 prog 100005 vers 3 prot UDP port 809
mount.nfs: mount(2): Connection refused
Anyone else been having problems with NFS lately? I haven't updated or made any changes to the NFS configuration, it's frustrating trying to figure out why this began happening. I've tried restarting all services, going to sysinstall and disabling NFSv3 (though it just appears to return after I exit...not sure if this has anything to do with it). I'm not running a firewall on the server.
I thought that this may have something to do with Arch because I noticed the problem after a recent update, but I just tested my Fedora install on a different computer (my desktop) and it's throwing the same "connection refused" error.
I think this may have something to do with the NFS versioning...but who knows. Any tips would be appreciated.