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
How to Remove LVM Physical Volume (PV) on Linux Easily
Step 1 : Ensure that physical volume extents not been used.Use the below commands to ensure that the physical volume is not been used by any logical volumes.
If it is used, then move to the step 2. If it not used, then skip to step 3.
Step 2 : Move data to other disks within the Volumegroup.If you have enough free extents on the other disks within the volumegroup.
If you want to move it to the particular disk within the Volumegroup.
pvmove /dev/sdc1 /dev/sdb1
Step 3 : Remove physical volume from the Volume group.Use "vgreduce" command to remove the physical volume from the Volume group.
vgreduce vg01 /dev/sdc1
Now your physical volume has been removed from the existing volume group.
Related Content on Linux might be useful to you to improve your Linux Skills.
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)
Stay connected with us on social networking sites, Thank you.