Came here in search of an answer to a problem, but didn't find it? Visit the forum @ LinuxBSDos.com, pick a category and ask a question.

LVM configuration on Openfiler 2.3

I am reading page: 1 2

You could create as many LVs as you need to, but for this tutorial, we are going to create just two – one for swap and the other for the main filesystem. Let’s start by creating the LV for root. Since a default installation of Openfiler takes up less than 1.0 GB of the root partition, we can safely allocate 2.0 GB to this LV. Because of the magic of LVM, we can always grow this and any other LV after installation. Select the Mount Point, File System Type, Logical Volume Name and Size as shown in the screenshot below. Click “Ok,” then “Add” to create the LV for swap.

Creating roots LV

Creating the first Logical Volume. This LV is for the root filesystem.

To create swap, select the File System Type, Logical Volume Name and Size as shown in the screenshot below. “Ok.”

Creating swap

Creating another Logical Volume, this time for swap

Here’s what the screen will look like after the VG and the LVs have been created. click “Ok.” Notice that there’s still about 47 GB of disk space unused. This will be used to grow the LVs or create additional LVs if the need arises.

VG and LV created

The VG and LVs created.

Here is the final screen in the disk partition aspect of the installation. Click “Next” to continue with the rest of the installation.

All partitions created

All partitions have been created. The rest of the installation may now continue.

Openfiler is developed and maintained by Xinit Systems, a UK-based outfit. Installation images for 32- and 64-bit platforms and several virtual machine monitors are available here.

0saves
To have articles like this delivered automatically to your Feed Reader or Inbox, subscribe via RSS or email.
I am reading page: 1 2

Digital Ocean SSD VPS Cloud Server droplets

Digital Ocean is a VPS/Cloud hosting provider. For just $5 per month, you can get yourself a Cloud server with 512 MB of RAM, 20 GB super-fast SSD, free snapshots, plus backups for a minimal fee. All via a simple graphical interface.

And by signing up with this referral link, you can help support this website.

If you are reading this, your ad could also be occupying this space. Contact us to make it happen.

If commenting on this article is closed, please post your comments at forum.linuxbsdos.com.

6 Comments

  1. Brian W says:

    My apologies..there are 2 – 1.5Tb drives in each of the 8 servers. We are only worrying about one server right now just to get the thing up and running. After setting up the kernal and the swap partition I was able to get the remaining space on the primary drive into a volume group but was unable to get the space (the whole 1.5Tb) on the secondary drive to merge so that under the Volumes tab it would show that there was almost 3Tb available as storage.

  2. Brian W says:

    Finid…I am a student working on school project in the school lab. Trying to turn 8 servers into one huge SAN. I am referencing your instructions along with the directions from the OF website. Since each of these servers have 2-3Tb drives (no RAID), do I need to name each of the LVM’s with the same name or can they be different to reflect the individual drive?

    • finid says:

      Need some clarification: Are you saying that each server has 1 drive of about 2-3 Tb or multiple, 1 Tb drives? Keep in mind that you do not name LVM, but volume groups and logical volumes. So clarify the first point for me and then I can attempt to answer your question.

  3. Brian W says:

    It would be nice to mention what version you are using because I downloaded OF on April 20 because i saw no windows to make the LVM group like that shown in your pictures. I had to do it through the web GUI.

    • finid says:

      According to the title, it’s version 2.3. Btw, this is about installing Openfiler using an LVM-based partitioning scheme. If you are doing it through the admin interface, then you are not touching the disk or disk partitions on which Openfiler is installed.

Leave a Comment