This is Part 2 of my Linux Storage series.
▶️ Watch Part 1 (Foundations – partitions, filesystems, LVM concepts) here: • Must-Know Linux Storage Basics Before Lear...
Don’t break your server by mistake. Learn Linux storage hands-on with fstab, LVM, partitions, and real-world disk setups.
This video shows how Linux storage is configured in production using mismatched disks.
In real production environments, servers rarely come with perfectly matched disks.
You work with what you get, and one mistake in Linux storage configuration can take your server down.
In this Linux storage hands-on tutorial, we attach two mismatched disks (10GB & 20GB) and build a production-ready storage setup from scratch.
⚠️ WARNING:
A single typo in /etc/fstab can prevent your server from rebooting.
This video shows how to safely configure and verify fstab before restarting your system.
What you’ll learn in this video:
• Identifying new disks using lsblk
• Creating partitions using fdisk
• Formatting filesystems with mkfs.ext4
• Creating mount points and mounting disks
• Configuring persistent mounts using /etc/fstab
• Understanding fstab fields and UUIDs
• Creating LVM from scratch (PV, VG, LV)
• Fixing LVM errors caused by existing filesystems
• Reusing disks safely using wipefs
• Extending logical volumes online (lvextend + resize2fs)
• Reboot testing to verify fstab and LVM mounts
Commands used:
lsblk, fdisk, mkfs.ext4, mount, blkid, wipefs, pvcreate, vgcreate, lvcreate, lvextend, resize2fs
This knowledge directly applies to:
• Cloud block storage (AWS EBS, Azure Disk, GCP Persistent Disk)
• Kubernetes persistent volumes
• Databases and log storage
• Production troubleshooting and on-call scenarios
If you understand this video, Linux storage will never feel scary again.
▬▬▬▬▬▬▬ Timestamps ▬▬▬▬▬▬▬
00:00 – Introduction: Linux Storage Hands-On (2 Disks)
00:31 – What You’ll Learn in This Video
00:57 – Identifying New Disks (lsblk, lsblk -fp)
01:23 – Creating Disk Partitions using fdisk
04:09 – Formatting Partitions with ext4 Filesystem
05:22 – Creating Mount Points & Mounting Disks
06:42 – Verifying Mounts by Writing Data
07:21 – /etc/fstab Explained + Persistent Mounts
11:51 – LVM Creation Error (Why It Happens)
12:19 – Reusing Disks for LVM (wipefs Explained)
13:09 – Creating LVM (PV, VG, LV from Scratch)
15:58 – Extending Logical Volume (lvextend + resize2fs)
18:25 – Reboot Test: Verifying fstab & LVM Mounts
19:20 – Final Summary & DevOps Takeaways
👍 Like, share, and subscribe for more real-world DevOps and Linux hands-on labs.
🔗 Watch Related Playlists:
Kubernetes: • Kubernetes Basics to Advance
Github Actions: • GitHub Actions: Basics to Advanced
Ansible: • Ansible Automation: From Beginner to Advan...
AWX: • AWX Tutorials: Beginner to Advanced Guide
AI: • AI
▬▬▬▬▬▬ Connect with me ▬▬▬▬▬▬
LinkedIn: / kumar-nikhil811
Website: https://techinik.com
Medium: / kumarnikhil811
#linux #devops #linuxfordevops #sre #storage #linuxstorage #kubernetes