- Lab
- A Cloud Guru
Configuring a Disk Schedule Using Udev Rules
In this hands-on lab, you will use `udev` rules to manage and configure the disk scheduler for a disk attached to the lab system. As part of the workflow, you will identify the disk, check the default scheduler configuration, and collect the unique identifier of each disk. With this information, you will create a `udev` rule to set the disk schedule and confirm it is successfully updated. *This course is not approved or sponsored by Red Hat.*
Path Info
Table of Contents
-
Challenge
Validate Any Local Storage Devices
- Identify any secondary storage devices on the system, looking for
nvme1n1
. - Collect the
UUID
value for that storage device. - Add the storage device to
/etc/fstab
using theUUID
value.- The primary mount point should be
/mnt/data
.
- The primary mount point should be
- Check the default scheduler for the identified storage device.
- Identify any secondary storage devices on the system, looking for
-
Challenge
Create a udev Rule to Update the Disk Scheduler
- Use
udevadm
to collect the unique identifierID_SERIAL_SHORT
for the storage device. - Create the
udev
rule file, called99-scheduler.rules
. - Update the rule file using the
ID_SERIAL_SHORT
value. - Reload the
udev
rules and apply theudev
rules.
- Use
-
Challenge
Validate the Changes to the System
- Reboot the system.
- Confirm the updated disk schedule value is still place.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.