Jump to content


jim765

Member Since 5 Jun 2010
Offline Last Active 30 Mar 2019 09:32
-----

Posts I've Made

In Topic: NSF server plugin openpli 7 ?

15 February 2019 - 16:42

Seems to be very hard to type a few commands ?

 

Anyway, I can confirm something is wrong on openpli-7

 

# cat /etc/exports
/media/hdd      *(rw,no_root_squash,sync)

 

# exportfs
/media/hdd      <world>
 

# ps | grep nfs

  508 root         0 SW<  [nfsiod]
 1466 root         0 SW   [nfsd]
 1467 root         0 SW   [nfsd]
 1468 root         0 SW   [nfsd]
 ..

 

# showmount -e localhost
clnt_create: RPC: Program not registered
 

# /etc/init.d/nfsserver stop
stopping mountd: done
 

# /etc/init.d/nfsserver start
starting 8 nfsd kernel threads: done
starting mountd: done
exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/media/hdd".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x
 

# /etc/init.d/nfsserver status
/usr/sbin/rpc.mountd (pid 4182) is running...
nfsd (pid 4180 4179 4178 4177 4176 4175 4174 4173) is running...
 

# ls -l /etc/rc3.d/S20nfsserver
lrwxrwxrwx    1 root     root            19 Feb 14 21:45 /etc/rc3.d/S20nfsserver -> ../init.d/nfsserver
 

# showmount -e localhost
Export list for localhost:
/media/hdd *
 

And I can now mount /media/hdd from another PC.

 

I.e. (re-)starting nfsserver seems to have "fixed" it.   Note the box was freshly started from deep-standby.