

Log into the server, sudo to elevated root privileges, then examine the disks present by running: Many shops use VMware exclusively for their servers, so this scenario takes place in a vSphere environment, but the steps involved would be the same if a disk were added to a physical server. To add a new volume using the entirety of the new disk capacity, the goal is to add a 10GB mount point called /repos in a new volume group called repos. Adding the full disk capacity to a new volume using LVM
LINUX LOGICAL VOLUME MANAGER HOW TO
In this article, I’ll explain how to achieve both.

Splitting disk capacity among new volumes.Adding the full disk capacity to an existing volume.There are two options when it comes to adding volumes: It’s easy to do this on the fly without requiring downtime or rebooting though, I always recommend making a full backup of all data on any existing volumes first as well as taking a snapshot of the virtual machine(s) involved. The Logical Volume Manager commands in Linux facilitate adding new disks and volumes to the operating system. Tech jobs: No rush back to the office for software developers as salaries reach $180,000 Microsoft’s Windows Insider program changes include new Canary ChannelĭevSecOps puts security in the software cycle TIOBE Index's most popular programming languages Image: Maximusdn/Adobe Stock Must-read developer coverage Learn how to use LVM to add new volumes as needed. Linux’s Logical Volume Manager is a handy framework for configuring disks and volumes. How to add a new LVM volumes for full and partial disk usage
