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.