You are not logged in.

#1 2015-03-04 00:24:01

maggie
Member
Registered: 2011-02-12
Posts: 255

NFS shares do not mount anymore

After updating my system including nfs-utils I can't mount an NFS share anymore from my shell.

sudo mount -t nfs4 -v -o nfsvers=4 server:/srv/nfs/share /mnt/share
mount.nfs4: timeout set for Tue Mar  3 19:21:15 2015
mount.nfs4: trying text-based options 'addr=10.1.10.102,clientaddr=10.1.10.101'
mount.nfs4: mount(2): No such file or directory
mount.nfs4: mounting server:/srv/nfs/share failed, reason given by server: No such file or directory

The directory is present on the sever and I can ls it to prove it smile

I haven't made any changes to /etc/exports or anything and NFS was working before I updated. The wiki say to mount it as I have tried but I get that error.

Last edited by maggie (2015-03-04 00:28:00)

Offline

#2 2015-03-04 00:32:48

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: NFS shares do not mount anymore

Have you updated nfs-utils on the server? If so, nfs-server has to be restarted.

Offline

#3 2015-03-04 00:34:22

maggie
Member
Registered: 2011-02-12
Posts: 255

Re: NFS shares do not mount anymore

Yes, I have rebooted the server.

Offline

#4 2015-03-04 00:35:31

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: NFS shares do not mount anymore

Your problem is that you're following poor advice on the wiki.  Try:

sudo mount server:/srv/nfs/share /mnt/share

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2015-03-04 00:47:14

maggie
Member
Registered: 2011-02-12
Posts: 255

Re: NFS shares do not mount anymore

graysky wrote:

Your problem is that you're following poor advice on the wiki.  Try:

sudo mount server:/srv/nfs/share /mnt/share

Yes thank you. It works now. Why does the wiki contain bad advice?

Offline

#6 2015-03-04 00:51:17

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: NFS shares do not mount anymore

maggie wrote:

Yes thank you. It works now. Why does the wiki contain bad advice?

Users make the wiki what it is or what it isn't tongue

https://wiki.archlinux.org/index.php?ti … did=363622


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB