From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 2 File Access, Storage, and Security

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Mount and unmount CIFS and NFS network file systems

Mount and unmount CIFS and NFS network file systems

From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 2 File Access, Storage, and Security

Start my 1-month free trial

Mount and unmount CIFS and NFS network file systems

- [Instructor] The two main types of network files systems in Linux are NFS and CIFS. NFS stands for network file system and is the Linux and Unix default. CIFS is a network file system of Windows. In order to mount a remote NFS file system, we need to make sure we have the nfs-utils package installed. Then we'd want to create a mountpoint for the nfsshare such as /mnt/nfsshare. You can mount the nfsshare anywhere you want, but /mnt is set aside for network mounts. Mounting an NFS drive isn't that much different from mounting a local hard drive. The only difference is the path name of the network drive which has an IP address or host name in it followed by a colon, and then the remote path. In order for the network drive to be mounted at boot, it needs to be in the /etc/fstab. The device is 192.168.1.218:/share. This is a combination of the IP address and the remote path. The mount point is /mnt/nfsshare. The file system is NFS and the file system option is _netdev. This means that…

Contents