WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: nfs-utils under 2.5  (Read 2449 times)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
nfs-utils under 2.5
« on: November 22, 2009, 03:29:07 AM »
I am having a problem with nfs-server running mounted.
rpc.mountd fails to start unless it is after exportfs.

Another issue is that /usr/local/etc/exports is a symlink into mounted extension, and not writeable.
It does not appear to be used, though. /etc/exports is used.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: nfs-utils under 2.5
« Reply #1 on: November 22, 2009, 07:10:50 AM »
I will test the rpc.mountd function when I get home to my nfs setup.

The exports file in /usr/local/etc/ is just there to be copied to /etc/ by the startup script if it does not exist.  The "cp -p" function copies the target, that is the real file.

Taken from the startup script:

[ -f /etc/exports ] || cp -p /usr/local/etc/exports /etc/

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: nfs-utils under 2.5
« Reply #2 on: November 22, 2009, 07:21:29 AM »
Upon looking at Slackware's nfs init script, exportfs is indeed before starting the daemons.  I will change the init.d script to match it.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: nfs-utils under 2.5
« Reply #3 on: November 22, 2009, 12:25:15 PM »
Thanks, Jason.
That fixed the server problem.