Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon

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

Google Cloud Platform icon

Path Info

Clock icon Intermediate
Clock icon 15m
Clock icon Jun 30, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Validate Any Local Storage Devices

    1. Identify any secondary storage devices on the system, looking for nvme1n1.
    2. Collect the UUID value for that storage device.
    3. Add the storage device to /etc/fstab using the UUID value.
      • The primary mount point should be /mnt/data.
    4. Check the default scheduler for the identified storage device.
  2. Challenge

    Create a udev Rule to Update the Disk Scheduler

    1. Use udevadm to collect the unique identifier ID_SERIAL_SHORT for the storage device.
    2. Create the udev rule file, called 99-scheduler.rules.
    3. Update the rule file using the ID_SERIAL_SHORT value.
    4. Reload the udev rules and apply the udev rules.
  3. Challenge

    Validate the Changes to the System

    1. Reboot the system.
    2. Confirm the updated disk schedule value is still place.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans