From the course: Linux System Engineer: Advanced Disk Systems and System Backup
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 by ID or label
From the course: Linux System Engineer: Advanced Disk Systems and System Backup
Mount file systems at boot by ID or label
- [Instructor] For this course, we're going to use the partition and volume created in the previous video. The partition we'll use is /dev/sdd1, and the volume is /dev/ssmpool/ssmvol. The partition still needs to be formatted, so let's do that now. Type into a terminal, sudo mkfs -t ext4 /dev/sdd1, and hit Enter. Type in your password if prompted. The logical volume was formatted by system storage manager when we created it, so we don't have to do anything with it here. Now let's create mountpoints for both devices. Type in clear, and then type in sudo mkdir /media/sdd1, and hit Enter. Now bring your line back, and change sdd1 to ssmvol, and hit Enter again. To recap, type in lsblk -f, and hit Enter. We have a partition at /dev/sdd1, that's formatted as ext4. We have a logical volume at /dev/ssmpool/ssmvol, that's formatted as xfs. Neither are currently mounted. We have mountpoints for both in /media. If you have this, we can proceed. The logical volume will be mounted by UUID, and…
Contents
-
-
-
-
-
-
(Locked)
Create EXT file systems3m 25s
-
(Locked)
Migrate EXT3 to EXT42m 26s
-
(Locked)
Repair EXT file systems4m 55s
-
(Locked)
EXT optimizations5m 50s
-
(Locked)
Create and repair XFS file systems1m 53s
-
(Locked)
Using System Storage Manager4m 34s
-
(Locked)
Mount file systems at boot by ID or label4m 40s
-
(Locked)
-
-
-
-