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 23,300 courses taught by industry experts.
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
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
List, create, and delete partitions on MBR and GPT disks4m 26s
-
(Locked)
Manage LVM volumes and volume groups6m 10s
-
(Locked)
Mount file systems at boot2m 31s
-
(Locked)
Mount file systems at boot by ID or label5m 59s
-
(Locked)
Extend existing logical volumes3m 56s
-
(Locked)
Mount and unmount CIFS and NFS network file systems2m 49s
-
(Locked)
Challenge: Local storage1m 18s
-
(Locked)
Solution: Local storage6m 7s
-
-
-