| Linode Forum https://forum.linode.com/ |
|
| NFS not working with Ubuntu 10.04 https://forum.linode.com/viewtopic.php?f=19&t=5549 |
Page 1 of 1 |
| Author: | cap [ Wed May 05, 2010 6:21 pm ] |
| Post subject: | NFS not working with Ubuntu 10.04 |
I upgraded Ubuntu Karmic to version 10.04 as per the library instructions, but on the new version NFS apparently is not supported by the kernel. I get this message trying to start the service: "Not starting NFS kernel daemon: no support in current kernel" I also created a new linode and installed Ubuntu 10.04 fresh there. Same thing. Am I missing something, or is this supposed new stable version of Ubuntu just not ready for roll out after all? Has anyone else dealt with this? Thanks. |
|
| Author: | obs [ Wed May 05, 2010 7:15 pm ] |
| Post subject: | |
What kernel are you running? |
|
| Author: | jed [ Thu May 06, 2010 10:41 am ] |
| Post subject: | |
We had a ticket about this recently, and Danny's solution (below) worked for that customer. Can you let me know if this works for you, as well? ------ NFS support is pre-compiled into our kernel: Code: root@distro-test:/etc/init.d# zgrep -i nfs /proc/config.gz The issues you are experiencing is the result of how the new "nfs-kernel-server" init script in Ubuntu Lucid checks for NFS support. You are able to resolve this issue by following these steps:
Code: root@distro-test:~# service nfs-kernel-server start |
|
| Author: | cap [ Thu May 13, 2010 12:14 pm ] |
| Post subject: | |
sorry for not getting back on this sooner. Yes, I was the customer with the ticket, and yes it worked fine. Thanks! |
|
| Author: | Brandon168 [ Thu Apr 28, 2011 6:11 pm ] |
| Post subject: | NFS Server Failing to Start |
The workaround above worked wonderfully for me until last week, when I had to reboot the server. The init.d script is still modified as above, but the nfs kernel fails to start now. Code: mount nfsd $PROCNFSD_MOUNTPOINT Results in "mount: unknown filesystem type 'nfsd'" The only related change I see is that our Linodes are now running a new kernel, 2.6.38-x86_64-linode17 #1 SMP Fri Apr 8 22:05:57 UTC 2011 x86_64 GNU/Linux Code: grep 'init_nf' /proc/kallsyms Any ideas? |
|
| Author: | caker [ Thu Apr 28, 2011 6:28 pm ] |
| Post subject: | |
Bah, that was my bad. I've had trouble with various kernel config options causing recent 64 bit 2.6 kernels to not boot correctly, and thus had to more or less start over from a fresh config this past round and missed the NFSD options. I've recompiled 2.6.38-x86_64-linode17 to include them. Give it another reboot and you should be all set. -Chris |
|
| Author: | Brandon168 [ Thu Apr 28, 2011 6:38 pm ] |
| Post subject: | |
and ..... we're up and running nfs again. Thanks, Brandon |
|
| Author: | uiltondutra [ Tue May 03, 2011 12:55 pm ] |
| Post subject: | mount.nfs4: Protocol not supported |
I'm having problem to mount nfs4 shares. The server is running the default Ubuntu 10.04 config. I just changed /etc/init.d/nfs-kernel-server as recommended on this post and setup the share. Any ideas? Client: mount -t nfs4 -o proto=tcp,port=2049 xxx.xxx.xxx.xxx:/cache /mnt/cache mount.nfs4: Protocol not supported Server: tail /var/log/messages May 3 16:15:52 tech9 kernel: svc: yyy.yyy.yyy.yyy, port=810: unknown version (4 for prog 100003, nfsd) |
|
| Author: | dataiv [ Thu Dec 22, 2011 9:35 am ] |
| Post subject: | |
jed wrote: Code: [list=1] This worked for me, still on Ubuntu 10.04 (.3) with the new 3.x kernel. I was having problems starting NFS. Thanks for the info and help. Glad I was able to find it. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|