WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: (5.x) nfs server doesn't to work  (Read 4650 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
(5.x) nfs server doesn't to work
« on: October 08, 2013, 07:01:59 AM »
 :'(
dCore user

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: (5.x) nfs server doesn't to work
« Reply #1 on: October 08, 2013, 07:14:00 AM »
I don't find the post at the moment, but I recall that somebody confirmed it worked...

Do you have any error messages?

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: (5.x) nfs server doesn't to work
« Reply #2 on: October 08, 2013, 07:48:43 AM »
Code: [Select]
jls@pc2:~$ sudo /usr/local/etc/init.d/nfs-server start
nodev   nfsd
/usr/local/sbin/rpc.statd is already running
6762
/usr/local/sbin/rpc.mountd is already running
6780
nfs-server utilities are started.

but looking at services nfs-server is not on
dCore user

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: (5.x) nfs server doesn't to work
« Reply #3 on: October 08, 2013, 08:55:03 AM »
Actually I don't care about nfs since I managed to use openssh
dCore user

Offline makoto

  • Newbie
  • *
  • Posts: 26
Re: (5.x) nfs server doesn't to work
« Reply #4 on: October 09, 2013, 12:22:20 PM »
It's a bug that I've already posted. Patch is here:
Code: [Select]
--- /usr/local/etc/init.d/nfs-server
+++ /usr/local/etc/init.d/nfs-server
@@ -12,7 +12,7 @@
    fi
 
  if grep nfsd /proc/filesystems 2> /dev/null; then
-      if grep nfsd /proc/mounts 2> /dev/null; then
+      if [ -z "`grep nfsd /proc/mounts`" 2> /dev/null ]; then
          mount -t nfsd nfsd /proc/fs/nfs 2> /dev/null
        fi
      fi

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: (5.x) nfs server doesn't to work
« Reply #5 on: October 09, 2013, 02:53:03 PM »
Simpler:
grep -q nfsd /proc/mounts || mount -t nfsd nfsd /proc/fs/nfs 2> /dev/null

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: (5.x) nfs server doesn't to work
« Reply #6 on: October 09, 2013, 04:16:46 PM »
Hi
I've tried both awabimakoto and gerald_clark solution, but nothing chaged
dCore user

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
Re: (5.x) nfs server doesn't to work
« Reply #7 on: October 13, 2013, 06:40:00 AM »
jls_legalize: did you install the filesystems-`uname -r` extension?