This post will show you How to Extend Volume Group (LVM) in Linux Easily.
If you are interested in learning, Request you to go through the below recommended tutorial.
DevOps Full Course Tutorial for Beginners - DevOps Free Training Online
Docker Full Course Tutorial for Beginners - Docker Free Training Online
Kubernetes Full Course Tutorial for Beginners - Kubernetes Free Training Online
Ansible Full Course Tutorial for Beginners - Ansible Free Training Online
Openstack Full Course Tutorial for Beginners - Openstack Free Training Online
If you are looking to know How to extend Volume group in linux on lvm. Here we have described the commands to extend volume group on Linux.
How to Extend Volume Group (LVM) in Linux Easily
Prerequisites:Identify the correct the disk and create a physical volume using the command "pvcreate", refer this link to create a physical volume on linux.
How to Extend Volume group?
Assume that we have a Volume group (vg01) with size 100Gb and we are going to add a new disk /dev/sdc1 (50gb) to the existing volume group "vg01". So totally we will have 150Gb size.Use 'vgextend' command to add a new disk to an existing volume group "vg01".
vgextend vg01 /dev/sdc1
Above command will add the new phsycal volume to the existing Volume group "vg01".
Ensure the volume group size has been increased to 150Gb or not.
vgdisplay vg01
or
vgs
That's all about how to extend volume group in linux.
Related Content on Linux might be useful to you to improve your Linux Skills.
How to Configure IP Address on Ubuntu using Netplan
How to Access Linux Server from Windows Remotely
Configure SSH Passwordless Login Authentication (SSH-keygen)
How to Create LVM Partition in Linux – LVM Tutorial
Install & Configure Samba Server on Linux (RHEL7 / CentOS7)
How to Access Linux Server from Windows Remotely
Configure SSH Passwordless Login Authentication (SSH-keygen)
How to Create LVM Partition in Linux – LVM Tutorial
Install & Configure Samba Server on Linux (RHEL7 / CentOS7)
Keep practicing and have fun. Leave your comments if any.
Stay connected with us on social networking sites, Thank you.
0 تعليقات