You are not logged in.

#1 2014-06-27 01:33:42

Da_Coynul
Member
From: United States of America
Registered: 2010-10-02
Posts: 85

[SOLVED] nfs mount failure after nfs-utils update

After upgrading nfs-utils on my server from version 1.2.9-5 to version 1.3.0-2, the NFS shares for my diskless workstations fail to mount. The boot process hangs and finally times out with the message:

ERROR: Failed to mount the real root device

I don't see any NFS error messages in the journal on the server. Other than the nfs-utils upgrade, nothing changed in my config. I have not upgraded nfs-utls on the workstations. Could the problem be that the server and client versions of nfs-utils need to be identical? I did not see that on the NFS wiki page.

Jonathan

Last edited by Da_Coynul (2014-06-28 12:15:49)

Offline

#2 2014-06-27 02:04:55

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,372

Re: [SOLVED] nfs mount failure after nfs-utils update

Haven't gotten there yet.  Probably a bug in the update.

Last edited by nomorewindows (2014-06-27 02:06:55)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3 2014-06-27 05:04:39

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

Re: [SOLVED] nfs mount failure after nfs-utils update

For some reason, this didn't show up when I upgraded nfs-utils.  Luckily I follow [arch-dev-public] for my machines that run [testing], and I caught it a while back.

pacscripts nfs-utils wrote:

...
post_upgrade() {
  if [ "$(vercmp $2 1.2.9-5)" -lt 0 ]; then
cat << 'EOM'
  ==> IMPORTANT 1.3.0 NFS UTILS CHANGES:
  ==> This is a rather important upgrade, you are going to have to change systemd services files.
  ==> NFS-SERVER:
  ==> systemctl enable nfs-server.service
  ==> NFS-CLIENT:
  ==> systemctl enable nfs-client.target
  ==>
  ==> Extended configuration options for NFS (clients & server) are available in:
  ==> /etc/conf.d/nfs-common
  ==> /etc/conf.d/nfs-server
  ==> Please change them to your needs.
EOM
  fi
}

Edit: Basically, we are now apparently finally able to use the upstream service files instead of Arch specific ones.  So you will probably also have dead symlinks in /etc/systemd/system/multi-user.target.wants as well.

Last edited by WonderWoofy (2014-06-27 05:05:48)

Offline

#4 2014-06-27 07:51:02

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

Re: [SOLVED] nfs mount failure after nfs-utils update

@ww - Good find, you should update the wiki: https://wiki.archlinux.org/index.php/Nfs

Last edited by graysky (2014-06-27 07:59:58)


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

Offline

#5 2014-06-27 08:09:36

gangely
Member
Registered: 2014-03-11
Posts: 3

Re: [SOLVED] nfs mount failure after nfs-utils update

FYI, the message did not show  with this upgrade: upgraded nfs-utils (1.2.9-5 -> 1.3.0-2)

[2014-06-27 09:44] [PACMAN] Running 'pacman -Syu'
[2014-06-27 09:44] [PACMAN] synchronizing package lists
[2014-06-27 09:45] [PACMAN] starting full system upgrade
[..]
[2014-06-27 09:45] [PACMAN] upgraded nfs-utils (1.2.9-5 -> 1.3.0-2)
[2014-06-27 09:45] [PACMAN] upgraded youtube-dl (2014.06.25-1 -> 2014.06.26-1)

Offline

#6 2014-06-28 12:14:48

Da_Coynul
Member
From: United States of America
Registered: 2010-10-02
Posts: 85

Re: [SOLVED] nfs mount failure after nfs-utils update

The post upgrade info did not show up for me either...would have saved some aggravation if it had mad

Anyway, thanks WonderWoofy. Marking thread solved smile

Offline

#7 2014-07-16 19:09:58

stefano
Member
Registered: 2011-04-09
Posts: 265

Re: [SOLVED] nfs mount failure after nfs-utils update

I may have the same issue. After the latest upgrade, shares on my Archlinux server fail to mount on my Kubuntu laptop. nfs.mount just times out.

Enabling nfs-server.service in systemd, as suggested in the thread,  fails to solve the issue. Is there anything else I am supposed to do to restore mounting? I looked at  /etc/conf.d/nfs-common but did not find it very informative, I must say.

Help appreciated.

Cheers,

Stefano

Offline

Board footer

Powered by FluxBB