Set Up LVM/LVM2 Using Webmin

First off, what is Logical Volume Management and why do you need it? LVM is basically a set of hard drives grouped into being seen by the system as one hard drive. It is different than RAID, because there is no redundancy. In addition, the drives that are "grouped" can be of any size or any interface. You can have SATA, SAS, and IDE all in the same LVM. I wouldn't recommend it, but you could.

But what is it used for? Gigantic volumes, of course! Right now the largest hard drive you can buy is 3TB. What happens when you need a volume larger than that? You can use a RAID setup that will add redundancy, but you will also need a better controller and a lot more drives. But a simpler, quicker solution is to use LVM.

Here's the overview to get LVM going within Webmin:

  • Install LVM
  • Refresh Webmin Modules
  • Add a Volume Group
  • Add drives to the Volume Group
  • Add a Logical Volume within the Volume Group
  • Create the file system within the Logical Volume
  • Mount the newlycreated file system

Now for the nitty-gritty:

  • From the command line, install LVM
  • sudo apt-get install lvm2

  • Once LVM is installed, refresh the modules within Webmin
  • With Logical Volume Management selected under the Hardware menu, click on the Add new volume group link

Share this


Subscribe to RSS - lvm