From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Unlock this course with a free trial
Join today to access over 24,600 courses taught by industry experts.
Configure systems to mount filesystems at or during boot - Linux Tutorial
From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Configure systems to mount filesystems at or during boot
- [Instructor] Now let's explore how to mount file systems both manually but also automatically at boot time. In a previous lesson, we explored how to create file systems, but you might have noticed there's still no way for us to access a file system. How do we create files and directories on them? Well, to make a file system accessible, we first must mount it. Mounting basically means attaching or plugging in a file system to one of our directories. And here's how it works. First, we can take a look at a directory often used for temporarily mounting a random file system. Now this is currently empty, but let's say we want to mount the XFS file system created in one of our previous lessons. This is stored on the partition at /dev/vdb1. To mount it, we use this command. Now with the file system mounted at /mnt, We can now easily create a file on it and we can see that our previously empty file system now has one file inside. And we can use the lsblk method to confirm that our file…
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
-
-
-
-
-
-
-
(Locked)
List, create, delete, and modify physical storage partitions10m 9s
-
(Locked)
Configure and manage swap space5m 32s
-
(Locked)
Create and configure filesystems9m 19s
-
(Locked)
Configure systems to mount filesystems at or during boot7m 19s
-
(Locked)
Filesystem and mount options5m 56s
-
(Locked)
Use remote filesystems: NFS12m 9s
-
(Locked)
Use network block devices: NBD11m 9s
-
(Locked)
Manage and configure LVM storage10m 38s
-
(Locked)
Monitor storage performance15m 47s
-
(Locked)
Create, manage, and diagnose advanced filesystem permissions11m 7s
-
(Locked)
-