About Linux FAQ

Browse More FAQs:

How do I start and stop NFS service?

Posted by Vivek Gite [Last updated: January 5, 2007]

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:

Discussion on This FAQ

  1. john piroino Says:

    what can cause a nfs service to stop or freeze

  2. Christian Dreyer Says:

    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

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!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2006-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.