From the course: LPIC-1 Exam 101 (Version 5.0) Cert Prep
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
Mount filesystems automatically - Linux Tutorial
From the course: LPIC-1 Exam 101 (Version 5.0) Cert Prep
Mount filesystems automatically
- [Male] For this exercise, we're going to configure automatic mounting of a partition and a volume created in a previous video. The partition we'll use is /dev/sdc1. For the logical volume we'll use /dev/vgdata/lvdata. The partitions still needs to be formatted, so let's do that now. We'll format it as ext4 by typing in sudo mkfs -t ext4 /dev/sdc1, and hit enter. Type in your password if prompted. The LV data logical volume should still be formatted from earlier in the chapter. Let's create mount points for both. Type in clear, and then type in sudo mkdir /media/backups, and hit enter. This is for our sdc1 partition. We will need a mount point for the LV data logical volume as well. Make sure that the directory of /media/lvdata exists. We can do this by typing in sudo mkdir /media/lvdata, and hit enter. Before going on, let's check our drives. Type in lsblk /f, and hit enter. To recap, we have a partition at…
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)
Hard drive partitioning strategies5m 43s
-
(Locked)
List, create, delete partitions on MBR and GPT disks5m 55s
-
(Locked)
Create parititons using parted3m 20s
-
(Locked)
Resize partitions without losing data4m 44s
-
(Locked)
Basic features of logical volume management (LVM)2m 10s
-
(Locked)
Manage LVM volumes and volume groups6m 5s
-
(Locked)
Extend existing logical volumes2m 48s
-
(Locked)
Reduce existing logical volumes3m 44s
-
(Locked)
Replace a physical volume3m 58s
-
(Locked)
Create EXT filesystems3m 25s
-
(Locked)
Repair EXT filesystems4m 55s
-
(Locked)
Mount filesystems automatically4m 13s
-
(Locked)
Back up and restore an EXT filesystem2m 57s
-
(Locked)
Basic features of Btrfs3m 25s
-
(Locked)
Archiving files with tar4m 41s
-
(Locked)
-