WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: nfs-kernel-server not working  (Read 7624 times)

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
nfs-kernel-server not working
« on: October 05, 2013, 02:22:03 PM »
The only nfs server package I can find is nfs-kernel-server. It doesen't work.

My /etc/exports:
/home/tc 192.168.1.0/24(rw,no_subtree_check,no_root_squash,async)

$ sudo service nfs-kernel-server start
Exporting directories for NFS kernel daemon....
Starting NFS kernel daemon: nfsdrpc.nfsd: unable to resolve ANYADDR:nfs to inet address: Servname not supported for ai_socktype
rpc.nfsd: unable to resolve ANYADDR:nfs to inet6 address: Servname not supported for ai_socktype
rpc.nfsd: unable to set any sockets for nfsd
 failed!

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: nfs-kernel-server not working
« Reply #1 on: October 05, 2013, 06:07:41 PM »
I saw this one early on, since it is a commonly used protocol I will revisit it and get it working.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: nfs-kernel-server not working
« Reply #2 on: October 08, 2013, 09:35:27 PM »
I am making progress with this,there is only one issue left concerning Debian's mount whereas the busybox one works flawlessly.  At least on my setup.  Needs startup script work like TC packages often do.  I will post the changes in the next day to allow testing.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: nfs-kernel-server not working
« Reply #3 on: October 09, 2013, 10:15:03 PM »
Ok, I seem to have it figured out.  Debian's mount assumes nfs version 4, so version 3 has to be specified on the command line when mounting nfs shares normally exported by nfs-kernel-server.  "mount -o vers=3" does the trick.

I have made the needed adjustments to the startup scripts and dependency requirements, so please import and test.

The filesystems-3.8.10-tinycore package needs to be used for nfs server use.

The ipv6-3.8.10-tinycore is needed for ipv6 support.


Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: nfs-kernel-server not working
« Reply #4 on: October 12, 2013, 05:26:11 AM »
Seems to work fine.  :)

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
Re: nfs-kernel-server not working
« Reply #5 on: October 13, 2013, 05:57:11 AM »
Ah! I've been failing to start a server, and couldn't figure out why. I just saw the "filesystem-XXX is required" in your post, Jason W ... damn, I should have read the extension description more closely ... [sigh].

Thanks for that.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: nfs-kernel-server not working
« Reply #6 on: October 14, 2013, 01:00:29 AM »
dentonlt - glad it is working.  When fixes materialize I intend to get the needed info into the packages' README files so one can type "readme.sh nfs-kernel-server" and get the needed instructions.  But of course, documentation tends to lag behind.

Anyone feel free to submit READMEs based on experience or forum threads, it would be a great help.  At this point the submitting can be via forum thread attachments.