Logical Volume Management in Linux
Some of you may have already heard of LVM. For those who do not know what it is, we will explain it shortly in this section. Imagine a situation where your disks run out of space. You can always move it to a larger disk and then replace the smaller one, but this implies system restarts and unwanted downtimes. As a solution, you can consider LVM, which offers more flexibility and efficiency. By using LVM, you can add more physical disks to your existing volume groups, while still in use. This still offers the possibility to move data to a new hard drive, but with no downtime, everything is done while filesystems are online.
As we don't have a system with LVM, we will show you the steps necessary to create new LVM volumes by using the 1 TB drive on our system and we will make it an LVM physical volume:
- Create the LVM physical volume with the