Learn, Solve & Master Python, Linux, SQL, ML & DevOps
Extend LVM Partition Without Downtime (Adding New Disk / PV)
Problem Overview
In production systems, disk space can run out unexpectedly. Restarting servers to increase disk space is often not an option, especially for critical applications.
Linux LVM (Logical Volume Manager) allows you to extend storage online, without stopping services or rebooting the server.
In this guide, you’ll learn how to safely extend an LVM partition step by step while the system remains up and running.
Prerequisites
Before starting, make sure the following conditions are met:
The system is using LVM
A new disk has been attached to the server
You have root or sudo access
Filesystem is ext4 or xfs
You have verified current disk usage
Solution
- Confirm that the OS detects the newly added disk.
0
0
votes
Article Rating
0 Comments
Oldest
Newest
Most Voted
Inline Feedbacks
View all comments
