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 file systems at boot
From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 2 File Access, Storage, and Security
Mount file systems at boot
- [Instructor] To mount a drive, we need to make a mount point first. We'll be using our LV data logical volume on RH host1. To create the mount point type into a terminal sudo space mkdir space slash media slash LV data and hit enter. Type in your password if prompted. Note that the name of this directory is arbitrary. You can name it whatever you want. However, for this exercise I'm using the same name as the logical volume. Now let's mount our logical volume on this directory. To do so type in sudo space mount space slash dev slash VG data slash LV data space slash media slash LV data and hit enter. Verify this with the DF command by typing in DF space dash capital T which shows us the file system type. We can see that it's mounted and it's formatted with XFS. If you want to list the file system options it was mounted with use the mount command without any arguments. Type in mount and hit enter. You can see the LV data entry at the very bottom. This mount won't survive a reboot…
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
-
-
-