Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

9.2. Starting and Stopping NFS


To run an NFS server, the portmap service must be running. To verify that portmap is active, type the following command as root:
 /sbin/service portmap status 
Copy to Clipboard Toggle word wrap
If the portmap service is running, then the nfs service can be started. To start an NFS server, as root type:
 /sbin/service nfs start 
Copy to Clipboard Toggle word wrap
To stop the server, as root, type:
 /sbin/service nfs stop 
Copy to Clipboard Toggle word wrap
The restart option is a shorthand way of stopping and then starting NFS. This is the most efficient way to make configuration changes take effect after editing the configuration file for NFS.
To restart the server, as root, type:
 /sbin/service nfs restart 
Copy to Clipboard Toggle word wrap
The condrestart (conditional restart) option only starts nfs if it is currently running. This option is useful for scripts, because it does not start the daemon if it is not running.
To conditionally restart the server, as root, type:
 /sbin/service nfs condrestart 
Copy to Clipboard Toggle word wrap
To reload the NFS server configuration file without restarting the service, as root, type:
 /sbin/service nfs reload 
Copy to Clipboard Toggle word wrap
By default, the nfs service does not start automatically at boot time. To configure the NFS to start up at boot time, use an initscript utility, such as /sbin/chkconfig, /usr/sbin/ntsysv, or the Services Configuration Tool program. Refer to the chapter titled Controlling Access to Services in the System Administrators Guide for more information regarding these tools.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat