Partner links

LVM configuration on Openfiler 2.3

All partitions created

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.

Share:

Facebook
Twitter
Pinterest
LinkedIn

Partner links

Newsletter: Subscribe for updates

Subscribe
Notify of
guest
6 Comments
Inline Feedbacks
View all comments
Brian W
Brian W
13 years ago

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.

Brian W
Brian W
13 years ago

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?

Brian W
Brian W
13 years ago

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.

Get the latest

On social media

Security distros

Hacker
Linux distros for hacking and pentesting

Crypto mining OS

Bitcoin
Distros for mining bitcoin and other cryptocurrencies

Crypto hardware

MSI GeForce GTX 1070
Installing Nvidia GTX 1070 GPU drivers on Ubuntu

Disk guide

LVM
Beginner's guide to disks & disk partitions in Linux

Bash guide

Bash shell terminal
How to set the PATH variable in Bash
Categories
Archives
6
0
Hya, what do you think? Please comment.x
()
x