You are not logged in.
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
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
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.
...
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
@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 packages • Zsh and other configs
Offline
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
The post upgrade info did not show up for me either...would have saved some aggravation if it had
Anyway, thanks WonderWoofy. Marking thread solved
Offline
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