- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

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.*

Lab 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.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.