Posts

Showing posts from December, 2017

Working with logical Volumes (part 3)

  Following this tutorial assumes that you have followed along with the other two parts in this series. However, if you already have some familiarity with Linux you should be able to follow along. Working with logical volumes (part 1) Working with logical volumes (part 2) Add a disk to the volume group One of the great things about lvm is that you can add and remove physical volumes on the fly without data loss and without interrupting services. If you haven’t already done so, add a new hard disk to your virtual machine. I created an additional 10 GB disk but you can make the disk any size you want. It doesn’t have to match the previous disk that we created. When I run   sudo fdsik -l   among my output is the following: ...... Disk /dev/sdc: 10 GiB, 10737418240 bytes, 20971520 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/sdb: 10 GiB, 10737418240 bytes, 20971520 sectors