In this post we will see haw to remove Logical Volume, Volume Group and Physical Volume. The order is, to remove Logical Volume first, then Volume Group and then Physical Volume.
1. To delete a Logical Volume first unmount the LV:
umount <mount_point>
2. Then remove Logical Volume using lvremove command:
lvremove <lvname>
lvremove <lvname>
After removing Logical Volume now we can remove Volume group
- To remove Volume Group use vgremove command:
- To remove Physical Volume use pvremove command:
pvremove <pvname>
Here we complete the LVM part of RHCSA and RHCE exam objective. For any questions related to Logical Volume Manager please post comments.
No comments:
Post a Comment