How do I start and stop NFS service?
Q. How do I start and stop NFS service from command prompt? How do I make sure NFS always stars automatically when system boots or restarts?
A. Make sure the portmap is running with the following command:
# /etc/init.d/portmap start
OR
# /etc/init.d/portmap restart
To start NFS Service type the command:
# /etc/init.d/nfs start
To restart NFS Service type the command:
# /etc/init.d/nfs restart
To STOP NFS Service type the command:
# /etc/init.d/nfs stop
To start NFS service automatically at boot time, use the following command:
# ntsysv
Select Portmap and NFS and save the changes.
See also:
E-mail this to a friend
Printable version
Related Other Helpful FAQs:
- MySQL startup script under BSD/Linux
- How do I start Oracle service in UNIX?
- Linux start oracle as a service
- How To Start and Stop MySQL Database Server From A Shell Prompt
- Linux Start and stop the cron or crond service
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!




April 19th, 2007 at 6:21 pm
what can cause a nfs service to stop or freeze
November 7th, 2007 at 10:19 pm
IF you’re using the package nfs-kernel-server you have to substitute nfs for nfs-kernel-server instead. So you’d type
# /etc/init.d/nfs-kernel-server stop
instead
cheers