• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Linux OS Service ‘NetFS’

by admin

Service Name

NetFS

Description

NetFS is a boot-time script used to mount or unmount Network File System (NFS), Samba (SMB/CIFS), and Netware (NCP) file systems. The script is run once at boot time to scan for network-related file system mounts: nfs, smb, cifs, or ncp types.

Service administration

To view the options available for administrating the netfs service use the service command without any options.

# service netfs
Usage: /etc/init.d/netfs {start|stop|restart|reload|status}

The chkconfig tool can be used to determine or set the levels of startup.

# /sbin/chkconfig --list netfs
netfs           0:off   1:off   2:off   3:on    4:on    5:on    6:off

The netfs script is executed only if the networking subsystem is enabled.

umount all NFS/CIFS/SMB filesystems using NetFS service

NetFS provides a simple way to unmount all networked file systems while leaving all local networking services. For example to umount all the network filesystems mounted stop the NetFS service.

# service netfs stop

To view the status of the network mount points use the below command:

# service netfs status
Configured NFS mountpoints: 
/nfs_data
Active NFS mountpoints: 
/nfs_data

Filed Under: Linux, Linux Services

Some more articles you might also be interested in …

  1. unlink: command not found
  2. geth: The go-ethereum command-line interface
  3. f3read and f3write Command Examples
  4. csvpy: Loads a CSV file into a Python shell
  5. How to verify the integrity of a file with md5 checksum
  6. Understanding the Network interface configuration file /etc/sysconfig/network-scripts/ifcfg-eth#
  7. file Command Examples in Linux
  8. Linux OS Service ‘haldaemon’
  9. rc-update Command Examples in Linux
  10. cut: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright