NFS not mounting since upgrading from 14.04 to 16.04
I have several external mounts that are mounted using NFS.
These were working perfectly when I had Ubuntu 14.04, however, I have just updated to 16.04.1 and now they are not mounting.
They are not mounting on startup as specified in /etc/fstab nor am I able to mount them manually.
The fstab reads:
10.125.225.120:/var/storage /external-storage/server1 nfs user 0 0
All the other mounts are in the fstab following the same model.
When I run dmseg I get the following error message for NFS:
NFS: nfs4_discover_server_trunking unhandled error -512. Exiting with error EIO
Any help would be greatly appreciated!
mount fstab nfs
add a comment |
I have several external mounts that are mounted using NFS.
These were working perfectly when I had Ubuntu 14.04, however, I have just updated to 16.04.1 and now they are not mounting.
They are not mounting on startup as specified in /etc/fstab nor am I able to mount them manually.
The fstab reads:
10.125.225.120:/var/storage /external-storage/server1 nfs user 0 0
All the other mounts are in the fstab following the same model.
When I run dmseg I get the following error message for NFS:
NFS: nfs4_discover_server_trunking unhandled error -512. Exiting with error EIO
Any help would be greatly appreciated!
mount fstab nfs
add a comment |
I have several external mounts that are mounted using NFS.
These were working perfectly when I had Ubuntu 14.04, however, I have just updated to 16.04.1 and now they are not mounting.
They are not mounting on startup as specified in /etc/fstab nor am I able to mount them manually.
The fstab reads:
10.125.225.120:/var/storage /external-storage/server1 nfs user 0 0
All the other mounts are in the fstab following the same model.
When I run dmseg I get the following error message for NFS:
NFS: nfs4_discover_server_trunking unhandled error -512. Exiting with error EIO
Any help would be greatly appreciated!
mount fstab nfs
I have several external mounts that are mounted using NFS.
These were working perfectly when I had Ubuntu 14.04, however, I have just updated to 16.04.1 and now they are not mounting.
They are not mounting on startup as specified in /etc/fstab nor am I able to mount them manually.
The fstab reads:
10.125.225.120:/var/storage /external-storage/server1 nfs user 0 0
All the other mounts are in the fstab following the same model.
When I run dmseg I get the following error message for NFS:
NFS: nfs4_discover_server_trunking unhandled error -512. Exiting with error EIO
Any help would be greatly appreciated!
mount fstab nfs
mount fstab nfs
asked Nov 28 '16 at 15:52
matty0501matty0501
113
113
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
If you're desperate, you could look at the changelogs for the NFS packages, all the way back to nfs-utils (0.1.3-1) (current version is 1:1.2.8-9ubuntu12 Ubuntu:16.04/xenial), read the files from the top down to the NFS versions you're running on 12.04:
+w3@aardvark:~(0)$ dpkg -l nfs*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================-===========-=========-==========================
un nfs-common <none> <none> (no description available)
un nfs-kernel-server <none> <none> (no description available)
+w3@aardvark:~(0)$ apt-get changelog nfs-common
Get:1 http://changelogs.ubuntu.com nfs-utils 1:1.2.8-9ubuntu12 Changelog [131 kB]
Fetched 131 kB in 1s (113 kB/s)
<...snip...>
+w3@aardvark:~(0)$ apt-get changelog nfs-kernel-server
Get:1 http://changelogs.ubuntu.com nfs-utils 1:1.2.8-9ubuntu12 Changelog [131 kB]
Fetched 131 kB in 1s (118 kB/s)
<...snip...>
Probably not so useful, because the root cause of most NFS regressions I've seen has been in the linux-image package not nfs-utils.
– Dominic Scheirlinck
May 9 '17 at 2:01
add a comment |
I saw the same problem in 16.04 and recently "fixed" it (with a workaround to disable a kernel module).
If you manually mount the filesystem, then check /etc/mtab, you'll probably see a bunch of junk added to the options, e.g. mine became:
rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.24.25.xx,local_lock=none,addr=172.24.23.xx
The key insight is the sec=sys bit, that means NFS isn't using any of the GSSAPI/Kerberos authentication stuff. (From context in mailing list issues, I've gleaned the the "-512" error is a generic error for when the "AUTH_GSS upcall" fails.)
You'd expect passing sec=sys yourself in /etc/fstab would fix this, but it didn't work for me. Nor did explicitly putting NEED_GSSD=no in /etc/default/nfs-common.
What did work, following this thread was just blacklisting the rpcsec_gss_krb5 module via modprobe.d:
echo 'blacklist rpcsec_gss_krb5' > /etc/modprobe.d/blacklist-rpcsec-gss-krb5.conf
reboot
The other caveat is that this is probably a bug, and should just work. There is, for example, this recent Redhat bug report for "nfs4_discover_server_trunking unhandled error -512" which has been marked as a duplicate of a non-public bug.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f854591%2fnfs-not-mounting-since-upgrading-from-14-04-to-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you're desperate, you could look at the changelogs for the NFS packages, all the way back to nfs-utils (0.1.3-1) (current version is 1:1.2.8-9ubuntu12 Ubuntu:16.04/xenial), read the files from the top down to the NFS versions you're running on 12.04:
+w3@aardvark:~(0)$ dpkg -l nfs*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================-===========-=========-==========================
un nfs-common <none> <none> (no description available)
un nfs-kernel-server <none> <none> (no description available)
+w3@aardvark:~(0)$ apt-get changelog nfs-common
Get:1 http://changelogs.ubuntu.com nfs-utils 1:1.2.8-9ubuntu12 Changelog [131 kB]
Fetched 131 kB in 1s (113 kB/s)
<...snip...>
+w3@aardvark:~(0)$ apt-get changelog nfs-kernel-server
Get:1 http://changelogs.ubuntu.com nfs-utils 1:1.2.8-9ubuntu12 Changelog [131 kB]
Fetched 131 kB in 1s (118 kB/s)
<...snip...>
Probably not so useful, because the root cause of most NFS regressions I've seen has been in the linux-image package not nfs-utils.
– Dominic Scheirlinck
May 9 '17 at 2:01
add a comment |
If you're desperate, you could look at the changelogs for the NFS packages, all the way back to nfs-utils (0.1.3-1) (current version is 1:1.2.8-9ubuntu12 Ubuntu:16.04/xenial), read the files from the top down to the NFS versions you're running on 12.04:
+w3@aardvark:~(0)$ dpkg -l nfs*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================-===========-=========-==========================
un nfs-common <none> <none> (no description available)
un nfs-kernel-server <none> <none> (no description available)
+w3@aardvark:~(0)$ apt-get changelog nfs-common
Get:1 http://changelogs.ubuntu.com nfs-utils 1:1.2.8-9ubuntu12 Changelog [131 kB]
Fetched 131 kB in 1s (113 kB/s)
<...snip...>
+w3@aardvark:~(0)$ apt-get changelog nfs-kernel-server
Get:1 http://changelogs.ubuntu.com nfs-utils 1:1.2.8-9ubuntu12 Changelog [131 kB]
Fetched 131 kB in 1s (118 kB/s)
<...snip...>
Probably not so useful, because the root cause of most NFS regressions I've seen has been in the linux-image package not nfs-utils.
– Dominic Scheirlinck
May 9 '17 at 2:01
add a comment |
If you're desperate, you could look at the changelogs for the NFS packages, all the way back to nfs-utils (0.1.3-1) (current version is 1:1.2.8-9ubuntu12 Ubuntu:16.04/xenial), read the files from the top down to the NFS versions you're running on 12.04:
+w3@aardvark:~(0)$ dpkg -l nfs*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================-===========-=========-==========================
un nfs-common <none> <none> (no description available)
un nfs-kernel-server <none> <none> (no description available)
+w3@aardvark:~(0)$ apt-get changelog nfs-common
Get:1 http://changelogs.ubuntu.com nfs-utils 1:1.2.8-9ubuntu12 Changelog [131 kB]
Fetched 131 kB in 1s (113 kB/s)
<...snip...>
+w3@aardvark:~(0)$ apt-get changelog nfs-kernel-server
Get:1 http://changelogs.ubuntu.com nfs-utils 1:1.2.8-9ubuntu12 Changelog [131 kB]
Fetched 131 kB in 1s (118 kB/s)
<...snip...>
If you're desperate, you could look at the changelogs for the NFS packages, all the way back to nfs-utils (0.1.3-1) (current version is 1:1.2.8-9ubuntu12 Ubuntu:16.04/xenial), read the files from the top down to the NFS versions you're running on 12.04:
+w3@aardvark:~(0)$ dpkg -l nfs*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================-===========-=========-==========================
un nfs-common <none> <none> (no description available)
un nfs-kernel-server <none> <none> (no description available)
+w3@aardvark:~(0)$ apt-get changelog nfs-common
Get:1 http://changelogs.ubuntu.com nfs-utils 1:1.2.8-9ubuntu12 Changelog [131 kB]
Fetched 131 kB in 1s (113 kB/s)
<...snip...>
+w3@aardvark:~(0)$ apt-get changelog nfs-kernel-server
Get:1 http://changelogs.ubuntu.com nfs-utils 1:1.2.8-9ubuntu12 Changelog [131 kB]
Fetched 131 kB in 1s (118 kB/s)
<...snip...>
answered Nov 28 '16 at 18:02
waltinatorwaltinator
22.6k74169
22.6k74169
Probably not so useful, because the root cause of most NFS regressions I've seen has been in the linux-image package not nfs-utils.
– Dominic Scheirlinck
May 9 '17 at 2:01
add a comment |
Probably not so useful, because the root cause of most NFS regressions I've seen has been in the linux-image package not nfs-utils.
– Dominic Scheirlinck
May 9 '17 at 2:01
Probably not so useful, because the root cause of most NFS regressions I've seen has been in the linux-image package not nfs-utils.
– Dominic Scheirlinck
May 9 '17 at 2:01
Probably not so useful, because the root cause of most NFS regressions I've seen has been in the linux-image package not nfs-utils.
– Dominic Scheirlinck
May 9 '17 at 2:01
add a comment |
I saw the same problem in 16.04 and recently "fixed" it (with a workaround to disable a kernel module).
If you manually mount the filesystem, then check /etc/mtab, you'll probably see a bunch of junk added to the options, e.g. mine became:
rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.24.25.xx,local_lock=none,addr=172.24.23.xx
The key insight is the sec=sys bit, that means NFS isn't using any of the GSSAPI/Kerberos authentication stuff. (From context in mailing list issues, I've gleaned the the "-512" error is a generic error for when the "AUTH_GSS upcall" fails.)
You'd expect passing sec=sys yourself in /etc/fstab would fix this, but it didn't work for me. Nor did explicitly putting NEED_GSSD=no in /etc/default/nfs-common.
What did work, following this thread was just blacklisting the rpcsec_gss_krb5 module via modprobe.d:
echo 'blacklist rpcsec_gss_krb5' > /etc/modprobe.d/blacklist-rpcsec-gss-krb5.conf
reboot
The other caveat is that this is probably a bug, and should just work. There is, for example, this recent Redhat bug report for "nfs4_discover_server_trunking unhandled error -512" which has been marked as a duplicate of a non-public bug.
add a comment |
I saw the same problem in 16.04 and recently "fixed" it (with a workaround to disable a kernel module).
If you manually mount the filesystem, then check /etc/mtab, you'll probably see a bunch of junk added to the options, e.g. mine became:
rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.24.25.xx,local_lock=none,addr=172.24.23.xx
The key insight is the sec=sys bit, that means NFS isn't using any of the GSSAPI/Kerberos authentication stuff. (From context in mailing list issues, I've gleaned the the "-512" error is a generic error for when the "AUTH_GSS upcall" fails.)
You'd expect passing sec=sys yourself in /etc/fstab would fix this, but it didn't work for me. Nor did explicitly putting NEED_GSSD=no in /etc/default/nfs-common.
What did work, following this thread was just blacklisting the rpcsec_gss_krb5 module via modprobe.d:
echo 'blacklist rpcsec_gss_krb5' > /etc/modprobe.d/blacklist-rpcsec-gss-krb5.conf
reboot
The other caveat is that this is probably a bug, and should just work. There is, for example, this recent Redhat bug report for "nfs4_discover_server_trunking unhandled error -512" which has been marked as a duplicate of a non-public bug.
add a comment |
I saw the same problem in 16.04 and recently "fixed" it (with a workaround to disable a kernel module).
If you manually mount the filesystem, then check /etc/mtab, you'll probably see a bunch of junk added to the options, e.g. mine became:
rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.24.25.xx,local_lock=none,addr=172.24.23.xx
The key insight is the sec=sys bit, that means NFS isn't using any of the GSSAPI/Kerberos authentication stuff. (From context in mailing list issues, I've gleaned the the "-512" error is a generic error for when the "AUTH_GSS upcall" fails.)
You'd expect passing sec=sys yourself in /etc/fstab would fix this, but it didn't work for me. Nor did explicitly putting NEED_GSSD=no in /etc/default/nfs-common.
What did work, following this thread was just blacklisting the rpcsec_gss_krb5 module via modprobe.d:
echo 'blacklist rpcsec_gss_krb5' > /etc/modprobe.d/blacklist-rpcsec-gss-krb5.conf
reboot
The other caveat is that this is probably a bug, and should just work. There is, for example, this recent Redhat bug report for "nfs4_discover_server_trunking unhandled error -512" which has been marked as a duplicate of a non-public bug.
I saw the same problem in 16.04 and recently "fixed" it (with a workaround to disable a kernel module).
If you manually mount the filesystem, then check /etc/mtab, you'll probably see a bunch of junk added to the options, e.g. mine became:
rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.24.25.xx,local_lock=none,addr=172.24.23.xx
The key insight is the sec=sys bit, that means NFS isn't using any of the GSSAPI/Kerberos authentication stuff. (From context in mailing list issues, I've gleaned the the "-512" error is a generic error for when the "AUTH_GSS upcall" fails.)
You'd expect passing sec=sys yourself in /etc/fstab would fix this, but it didn't work for me. Nor did explicitly putting NEED_GSSD=no in /etc/default/nfs-common.
What did work, following this thread was just blacklisting the rpcsec_gss_krb5 module via modprobe.d:
echo 'blacklist rpcsec_gss_krb5' > /etc/modprobe.d/blacklist-rpcsec-gss-krb5.conf
reboot
The other caveat is that this is probably a bug, and should just work. There is, for example, this recent Redhat bug report for "nfs4_discover_server_trunking unhandled error -512" which has been marked as a duplicate of a non-public bug.
edited May 9 '17 at 3:44
d a i s y
3,36082444
3,36082444
answered May 9 '17 at 1:59
Dominic ScheirlinckDominic Scheirlinck
514
514
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f854591%2fnfs-not-mounting-since-upgrading-from-14-04-to-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown