December 2018
Beginner
826 pages
22h 54m
English
When we created the logical volume, we simply specified that the new device should use 50% of the available space, but we could have also suggested a specific size in absolute values (for example, 1G).
You might be asking why you would use LVM, if we effectively got to the same position we were in when we simply placed a filesystem atop a disk partition. The answer is: flexibility.
In LVM-land, you can grow volume groups by adding more physical disks to them, you can move data from one physical disk to another (in a running system), and you can even shift all data off a drive, before removing that drive in a hotplug (or hot unplug) fashion. This relies on your filesystem supporting such changes, but modern ones will (allowing ...