easy

Set Up LVM/LVM2 Using Webmin

Share this

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

Tags: 

Drupal in the Cloud, Part 2D: Rackspace's Cloud Servers

Share this

Rackspace is another (awesome) option for a cloud service provider. I think their interface is extremely easy to navigate, and you have the added bonus of getting an external IP immediately instead of having to assign an external IP. The benefit of this is that your server, as long as it stays on, retains the IP.

So, go forth and create a Rackspace account! When you are done, come back and follow these instructions:

  • Click on the Cloud Servers in the left-hand side menu
  • Click on the Add Server button
  • Select the distro you wish to use. I recommend Ubuntu 12.04
  • Give your server an internal name and the size. I'm setting mine up as a 256MB instance. Don't sweat this step, as Rackspace allows you to easily resize the server in minutes.
  • You will be given a password. Store this in a secure location and select Close Window
  • The building process will take about two minutes, in which time you can grab a drink, refill, or just watch the progress-o-meter

Tags: 

Pages

Subscribe to RSS - easy