Restarting nfs server

Restarting nfs server

Postby firwareslut » Fri Oct 21, 2011 1:40 pm

How do I restart the NFS service without rebooting? I am noticing that if I don't always cleanly dismount the nfs share I cannot reconnect until I reboot the NAS.
firwareslut
Donator VIP
Donator VIP
 
Posts: 202
Joined: Thu Oct 06, 2011 11:53 am

Re: Restarting nfs server

Postby fvdw » Fri Oct 21, 2011 3:07 pm

use the webinterface and use stop button in NFS server menu and then start button

ps in in the coming release the new version of the sever will be integrated
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Restarting nfs server

Postby firwareslut » Sat Oct 22, 2011 2:18 pm

I need the command so I can create a remote login to script to restart it automatically if the client doesn't succeed in mounting the share.
firwareslut
Donator VIP
Donator VIP
 
Posts: 202
Joined: Thu Oct 06, 2011 11:53 am

Re: Restarting nfs server

Postby fvdw » Sat Oct 22, 2011 11:37 pm

the current old version of nfs-utilsis stopped using
Code: Select all
killall -9 nfsd
killall -9 statd
killall -9 mountd
killall-9 portmap


starting
Code: Select all
/opt/etc/init.d/S55portmap
/opt/etc/init.d/S56nfs-utils


The new version will use different commands
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: Bing Bot and 7 guests