RedHat 7/8 – Logical Volume Management (LVM)

LVM is a form of advanced partition management which will help us easy to manage disk space such as resize the volume, replacement of physical disk and etc.

Below is the diagram to show the basic structure of LVM

source from http://www.linuxbasics.in/logical-volume-management/

LVM consists of Physical Volumes, Volume Group, Logical Volumes, and finally file systems. 

Continue reading

RedHat 7/8 – How to delete partitions with parted command

You can delete both MBR and GPT partitions with parted command

i) Login as root user, execute the parted command with the disk devices that you want to delete in command prompt

ii) identify the partition number that you want to delete

iii) Delete the partition by enter rm command with partition number

Take note that rm command will immediately delete the partition from the partition table.

iv) Exit parted