From the course: LPIC-2 Linux Engineer (201-450) Cert Prep

Unlock this course with a free trial

Join today to access over 23,200 courses taught by industry experts.

Systemd mount units

Systemd mount units

- Did you know you could mount storage using systemd? You can, let's talk about it. - [Narrator] You're watching ITProTV. (lively music) - Hello, and welcome back to LPIC-2. I am Zach and this is Don. Now, we're talking about systemd mount units in this episode. That's the subject du jour. - That's right. Previously, we learned about mounting disks using fstab. In this episode we're going to focus on using systemd, which can create mount units to do this. So we'll learn about how to create a mount unit file, how to actually structure that, how to bring a mount unit online, and then how to take it offline or set it to come on at boot. We'll also talk about some of the advantages and disadvantages of it all in one action-packed episode. - So what is a systemd unit? Is it like an fstab file? - It's very similar to an fstab file. The main difference is instead of one big text file, we actually have separate text files for each mount unit that we want to create. Systemd's really powerful…

Contents