Featured resource
2026 Tech Forecast
2026 Tech Forecast

1,500+ tech insiders, business leaders, and Pluralsight Authors share their predictions on what’s shifting fastest and how to stay ahead.

Download the forecast
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Core Tech
Google Cloud Platform icon
Labs

Storage & LVM Administration in Ubuntu Linux

In this lab, you will inventory attached disks with `lsblk`, `fdisk -l`, and `blkid`, partition them with `gdisk`, create ext4, XFS, and swap filesystems, configure persistent mounts in `/etc/fstab` using UUIDs, and build a Logical Volume Manager (LVM) stack from physical volumes through volume groups to logical volumes. You will finish by extending mounted storage online through LVM while the system remains running, building the practical skills needed to design, provision, and grow storage on an Ubuntu server without downtime.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Intermediate
Last updated
May 21, 2026
Duration
1h 0m

Contact sales

By clicking submit, you agree to our Privacy Policy and Terms of Use, and consent to receive marketing emails from Pluralsight.
Table of Contents
  1. Challenge

    Partition Disks and Create Filesystems

    To start things off, you will inventory the attached storage using lsblk, fdisk -l, and blkid, then partition the first disk with the interactive gdisk editor to create an ext4 partition and a swap partition. You will format the new partitions with mkfs.ext4 and mkswap, then verify filesystem integrity on the unmounted ext4 partition with fsck.ext4 before placing it into service.

  2. Challenge

    Mount, Unmount, and Persist Filesystems

    Next, you will bring the new storage online by mounting the archive filesystem manually with mount, inspecting it with df -h and findmnt, and persisting the mount in /etc/fstab using a UUID so it survives reboots. You will also activate and persist swap with swapon, verify it with swapon --show and free -h, and stand up an on-demand tmpfs scratch area through a systemd .mount unit as a more flexible alternative to static /etc/fstab entries.

  3. Challenge

    Manage Logical Volumes with LVM

    To finish things off, you will take a quick detour through the XFS toolset with mkfs.xfs, xfs_info, and wipefs, then build a complete LVM storage stack from the ground up. You will initialize physical volumes with pvcreate, group them with vgcreate, provision a logical volume with lvcreate, and inspect the stack with tools such as pvdisplay, vgdisplay, lvdisplay, pvs, and vgs. Finally, you will validate the design through online expansion and live data migration by extending the logical volume with lvextend and resize2fs, expanding the volume group across a second disk with vgextend, and migrating data live between disks with pvmove.

About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

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.

Get started with Pluralsight