Delete an existing physical volume
pvremove command is used to delete an existing physical volume. When you use the pvremove command to delete a physical volume, it deletes the physical volume information on the LVM partition so that it is no longer considered a physical volume.
pvremove(options)(parameters)
-d # debug mode;
-f #Force deletion;
-y # Answer "yes" to the question.
Physical volume: Specify the device file name corresponding to the physical volume to be deleted.
Use the pvremove command to delete the physical volume /dev/sdb2
. Enter the following command at the command line:
pvremove /dev/sdb2 # Delete physical volume
Labels on physical volume "/dev/sdb2" successfully wiped