RAID 1

Create a mirrored set by using the fioa and fiob IO Accelerators:

$ mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/fioa /dev/fiob

To view your specific names, use the fio-statuscommand.

RAID 10

Create a striped, mirrored array by using four IO Accelerators (fioa, fiob, fioc, and fiod):

$ mdadm --create /dev/md0 -v --chunk=256 --level=raid10 --raiddevices=4 /dev/fioa /dev/fiob /dev/fioc /dev/fiod

View the results:

fio-status

Building a RAID 10 across multiple devices

In a RAID 10 configuration, sets of two disks are mirrored, and then those mirrors are striped. When setting up a RAID 10 configuration across multiple IO Accelerator Duos, HP recommends that you make sure that no mirror resides solely on the two IO Accelerator modules that comprise an IO Accelerator Duo.

To lay the data out:

1.Use the --layout=n2option when creating the RAID 10 configuration. This is the default.

2.Ensure that no two IO Accelerator modules from the same duo are listed side-by-side.

The following sample code illustrates HP recommended configurations.

CAUTION: You must list the fiox devices in the correct sequence.

IMPORTANT: When the IO Accelerator devices have been formatted with the fio-formatutility, use the following commands.

# 2 Duos RAID10

$ mdadm --create --assume-clean --level=raid10 --layout=n2 -n 4 /dev/md0 \ /dev/fioa /dev/fioc \

/dev/fiob /dev/fiod

#Mirror groups are: fioa,fioc and fiob,fiod

#3 Duos RAID10

$ mdadm --create --assume-clean --level=raid10 --layout=n2 -n 6 /dev/md0 \ /dev/fioa /dev/fiod \

/dev/fioc /dev/fiof \ /dev/fioe /dev/fiob

# 4 Duos RAID10

$ mdadm --create --assume-clean --level=raid10 --layout=n2 -n 8 /dev/md0 \ /dev/fioa /dev/fiod \

Software installation 25

Page 25
Image 25
HP B- Accelerators Linux manual Building a RAID 10 across multiple devices, Fio-status