Configuring raid, Raid 0 – HP MSR Encryption Accelerators User Manual

Page 23

Advertising
background image

Software installation 23

2.

Edit the file to add an entry similar to the following:
types = [ “fio”, 16 ]

The parameter “16” represents the maximum number of partitions supported by the drive. For the IO

Accelerator, this can be any number from 1 upwards. Do not set this parameter to 0.

IMPORTANT:

Do not run the udev command to load the IO Accelerator driver while LVM or MD

is active. The init script will disconnect from the LVM volumes and MD devices before

disconnecting from the Memory device.

NOTE:

For the IO Accelerator, HP recommends 16 for the partition setting.

Configuring RAID

Where possible, you can configure two or more IO Accelerators into a RAID array, using standard Linux

procedures.

NOTE:

If you are using RAID1 mirroring and one device fails, enter the fio-format command

on the replacement device (not the existing good device) before rebuilding the RAID.

HP recommends that you do not use a RAID5 configuration.

RAID 0

To create a striped set where fioa and fiob are the two IO Accelerators you want to stripe, enter the

following command:
$ mdadm --create /dev/md0 --chunk=256 --level=0 --raid-devices=2 /dev/fioa

/dev/fiob
Making the Array Persistent (Available after restart)

IMPORTANT:

On some versions of Linux, the configuration file is in the

/etc/mdadm/mdadm.conf directory, not the /etc/mdadm.conf directory.

1.

Inspect the /etc/mdadm.conf file.

2.

If one or more lines declare the devices to inspect, then make sure those lines specify partitions as

an option.

3.

If it does not, add a new DEVICE line to the file specifying partitions.
For example:
DEVICE partitions
Add a device specifier for the fio ioMemory devices:
DEVICE /dev/fio*

4.

Verify if updates are required to /etc/mdadm.conf by entering the following command:
$ mdadm --detail --scan

5.

Compare the output of this command to what currently exists in mdadm.conf, and then add any

sections required to:
/etc/mdadm.conf.

Advertising