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

Mount file systems at boot by ID or label

From the course: Linux System Engineer: Advanced Disk Systems and System Backup

Start my 1-month free trial

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