Fusion-io ioDrive use with Debian

From Thomas-Krenn-Wiki
Jump to: navigation, search
Please note that this article / this category refers either on older software / hardware components or is no longer maintained for other reasons.
This page is no longer updated and is purely for reference purposes still here in the archive available.

In this article we illustrate how you use a Fusion-io ioDrive with Debian GNU/Linux Lenny 5 (64-bit). In this example we will be using a 2.6.32 core Debian Backports.

Downloading Drivers and Tools

The necessary drivers and tools can be downloaded here after a free registration:

Creating a Driver Package

The driver is provided by Fusion-io in the source code. It allows you to configure it specifically for your core.

Preparing the Build Environment

Install the following packages necessary for compiling the Fusion-io Source Driver Packages:

apt-get install gcc fakeroot build-essential debhelper linux-headers-$(uname -r) rsync

Compile Drivers

Unpack the driver source code:

tar xzvf iomemory-vsl_2.1.0.240-1.0.tar.gz

Change it in the directory:

cd iomemory-vsl-2.1.0.240

Begin the Build Process:

dpkg-buildpackage

Afterwards, find the corresponding Debian packages:

test-server:~/fusion-io/iomemory-vsl-2.1.0.240# cd ..
test-server:~/fusion-io# ls -l iomemory-vsl*deb
-rw-r--r-- 1 root root  339300 2010-09-30 11:09 iomemory-vsl-2.6.32-bpo.3-amd64_2.1.0.240-1.0_amd64.deb
-rw-r--r-- 1 root root 1622698 2010-09-30 11:09 iomemory-vsl-source_2.1.0.240-1.0_amd64.deb
test-server:~/fusion-io# 

Installation

Now install the following packages with dpkg-i:

fio-firmware_43247.2-1.0_all.deb
fio-util_2.1.0.240-1.0_amd64.deb
iomemory-vsl-source_2.1.0.240-1.0_amd64.deb

These packages are required for SNMP Support:

fio-snmp-agentx_1.0.1.184-1.0_amd64.deb
fio-snmp-mib_1.0.1.184-1.0_amd64.deb

You may also need these packages, but only in special cases:

fio-smis_1.0.1.184-1.0_amd64.deb
fio-sysvinit_2.1.0.240-1.0_all.deb
iomanager-gui_2.3.0.1859-1.1_all.deb
iomanager-jre_2.3.0.1859-1.1_amd64.deb
libfio_2.1.0.240-1.0_amd64.deb
libfusionjni_1.0.1.184-1.0_amd64.deb

Status Check

You can now load the module for Fusion-io:

modprobe iomemory-vsl

With fio-status you can check the status:

test-server:~# fio-status 

Found 1 ioDrive in this system
Fusion-io driver version: 2.1.0 build 240

Adapter: ioDrive
	Fusion-io ioDrive 320GB, Product Number:FS1-002-321-CS SN:18088
	External Power: NOT connected
	PCIE Power limit threshold: 24.75W
	Connected ioDimm module:
	  fct0:	Fusion-io ioDrive 320GB, Product Number:FS1-002-321-CS SN:14327

fct0	Attached as 'fioa' (block device)
	Fusion-io ioDrive 320GB, Product Number:FS1-002-321-CS SN:14327
	Alt PN:FS1-SS2-321-CS
	PCI:01:00.0, Slot Number:5
	Firmware v5.0.1, rev 42895
	322.55 GBytes block device size, 396 GBytes physical device size
	Internal temperature: avg 45.3 degC, max 45.8 degC
	Media status: Healthy; Reserves: 100.00%, warn at 10.00%


test-server:~#

The device /dev/fioa is now available for hard drive use:

9000068554:~# cat /proc/partitions 
major minor  #blocks  name

   8        0  312571224 sda
   8        1    1052226 sda1
   8        2    8393962 sda2
 253        0  314993344 fioa
9000068554:~# 


Foto Werner Fischer.jpg

Author: Werner Fischer

Werner Fischer, working in the Web Operations & Knowledge Transfer team at Thomas-Krenn, completed his studies of Computer and Media Security at FH Hagenberg in Austria. He is a regular speaker at many conferences like LinuxTag, OSMC, OSDC, LinuxCon, and author for various IT magazines. In his spare time he enjoys playing the piano and training for a good result at the annual Linz marathon relay.


Related articles

Fusion-io ioDrive
Fusion-io ioDrive Low-Level Formatting
I/O Performance of Hard Disks with SSDs and Fusion-io ioDrive