Table of Contents

How to use the OCZ REVODRIVE with CentOS 6.x

Overview

This article only explains how to load the driver for use of CentOS 6.x once the system has booted up. If you are looking for instructions on how to boot off the REVODRIVE, good luck!

Installation

Download and Extract Drivers

cd /usr/src/
wget http://www.oczenterprise.com/files/drivers/OCZ%20CentOS_6.2_64-Bit_3.3.4.0_DS.tar.gz
tar zxvf OCZ\ CentOS_6.2_64-Bit_3.3.4.0_DS.tar.gz
mkdir /lib/modules/extra
cp ocz10xx.ko /lib/modules/extra/

modprobe configuration

By default modprobe only looks in /lib/modules/<kernel_version>/ for modules. To make modprobe work like it should we need to create a the following file

Create /etc/modprobe.d/ocz10xx.conf and put the following into it.

install ocz10xx /sbin/insmod /lib/modules/extra/ocz10xx.ko
remove ocz10xx /sbin/rmmod ocz10xx

Load module on boot

If you want the module to load on boot you need to do the following

Create /etc/sysconfig/modules/ocz10xx.modules and put the following into it.

#!/bin/sh
/sbin/modprobe ocz10xx

Mounting

The OCZ REVODRIVE should show up as a standard /dev/sd* device. Which /dev/sd* can be found by running dmesg and looking for the [sd*] line. The below command does this for you.

dmesg | grep "`dmesg | grep "OCZ-REVODRIVE" | cut -d" " -f2`"