How to Add Disk to Ubuntu LVM

Follow these steps to add your new disk to ubuntu LVM

1.) Login to your server

2.) Install Logical Volume Manager ( If its not installed ).

3.) Check the name of your new disk by below command

4.) Convert your new disk to a physical volume

5.) Check your Machine’s Volume Group Name by below command

6.) Add the physical volume to the volume group with below command.

7.) Check your logical volume path by using below command

8.) Allocate the physical volume to a logical volume, add 100% physical volume to existing logical volume

9.) Resize the file system on the logical volume so it uses the additional space

 

Posted in: