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

Page 25

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

Image 25
Contents HP IO Accelerator Version 3.2.3 Linux User Guide Page Contents Maintenance Resources About this guide Contents summaryOverview IntroductionProduct naming IO Accelerator capacity 320GB 640GB Models AJ878B BK836A Performance attributesSupported firmware revisions Required operating environmentSupported hardware Introduction Introduction Installation overview Software installationInstalling RPM packages on SUSE, RHEL, and OEL $ uname -rRpm -Uvh fio*.rpm Rpm -Uvh iomemory-vsl-kernel-version-VSL-version.x8664.rpmBuilding the IO Accelerator driver from source Building an RPM installation package$ rpmbuild --rebuild iomemory-vsl-VSL-version.src.rpm Upgrading device firmware from VSL 1.x.x or 2.x.x to Fio-bugreport Upgrading procedure$ rpm -qa grep -i iomemory $ rpm -e iomemory-vsl-2.6.18-194.el5-2.2.0.82-1.0 Fio-update-iodrive iodriveversion.fff$ modprobe iomemory-vsl Loading the IO Accelerator driver # Provides iomemory-vsl # Required-Start boot.udevControlling IO Accelerator driver loading Fio-attach /dev/fct$ chkconfig --del iomemory-vsl Using the init script$ chkconfig --add iomemory-vsl # blacklist iomemory-vslUsing module parameters Setting the IO Accelerator driver optionsMounting filesystems Handling IO Accelerator driver unloadsPersistent configuration One-time configurationUpgrading the firmware $ modprobe iomemory-vsl auto-attach=0Using the device as swap Enabling PCIe powerUsing the Logical Volume Manager Options iomemoryvsl preallocatememory=1072,4997,6710,10345Device partitions Configuring RAIDDevice /dev/fio Etc/mdadm.conf$ mdadm --detail --scan Chkconfig boot.md on Chkconfig mdadmd on$ mdadm --assemble --scan Fio-status Building a RAID 10 across multiple devicesDiscard Trim on Linux Understanding Discard Trim supportSnmp details for Linux Setting up Snmp for LinuxFiles and directories Snmp master agentInstalling the Snmp subagent Configuring the Snmp master agentYum install net-snmp rsync Snmp agentX subagentManually running the Snmp subagent Running and configuring the Snmp subagentSubagent log file Enabling Snmp test mode Using the Snmp sample config filesPCI0100.0 Setting up Snmp for Linux Supported Snmp MIB fields Troubleshooting SnmpSnmp MIB Maintenance tools MaintenanceDevice LED indicators Command-line utilitiesFio-update-iodrive Enabling PCIe power overrideOptions iomemory-vsl externalpoweroverride=value Common maintenance tasksEnabling the override parameter Unloading the IO Accelerator driver Uninstalling the IO Accelerator driver RPM packageDisabling auto attach Disabling the driver Unmanaged shutdown issuesEtc/modprobe.d/iomemory-vsl.conf Options iomemoryvsl autoattach=0Utilities reference UtilitiesFio-attach Fio-attach device optionsFio-bugreport Fio-beaconFio-beacon device options Tmp/fio-bugreport-20100121.173256-sdv9ko.tar.bz2Fio-detach Fio-detach device options Fio-formatFio-format options device Fio-pci-check options Fio-pci-checkFio-status Fio-snmp-agentxFio-snmp-agentx options Fio-status device optionsUtilities Fio-sure-erase Fio-sure-erase options device Fio-update-iodrive Fio-update-iodrive options iodriveversion.fff Domainbusslot.func Nand flash and component failure Monitoring IO Accelerator healthHealth metrics Health monitoring techniques Software RAID and health monitoring About flashback protection technologyIntroduction to performance and tuning Performance and tuningDisabling Dvfs Limiting Apci C-statesSetting the interrupt handler affinity Setting Numa affinityAdvanced configuration example Numa configurationIntroduction to Numa architecture Numa node override parameter13,14,18,19 Resources Subscription serviceFor more information Warranty information Safety and regulatory complianceRegulatory information Before you contact HP Support and other resourcesHP contact information Customer Self RepairRéparation par le client CSR Riparazione da parte del cliente Reparaciones del propio cliente Reparo feito pelo cliente Support and other resources Support and other resources Support and other resources Acronyms and abbreviations SMH Documentation feedback Index Uninstalling utilities