HP B- Accelerators Linux manual $ mdadm --detail --scan, $ mdadm --assemble --scan

Page 24

IMPORTANT: For example, if the array consists of two devices, the command output will not display three lines in the mdadm.conf file–

one line for the array, and a line for each device.

Ensure that those lines are added to the mdadm.conf file so it matches the output of the command.

For more details, see the mdadm and mdadm.conf manpages for your distribution. With these changes, on most systems the RAID 0 array will be created automatically upon restart.

6.If you cannot access /dev/md0 after restart, run the following command: $ mdadm --assemble--scan

You might also want to disable udev loading of the IO Accelerator driver, if needed, and then use the init script provided for driver loading. For more information, see "Using the Init Script (on page 19)."

Making an array persistent

NOTE: On some versions of Linux, the configuration file is located in the /etc/mdadm/mdadm.conf, not /etc/mdadm.conf directory.

Inspect /etc/mdadm.conf. If one or more lines declare the devices to inspect, be sure one of those lines specifies "partitions" as an option by adding a new DEVICE line to the file specifying the "partitions" option:

DEVICE partitions

Add a device specifier for the fio ioMemory devices:

DEVICE /dev/fio*

To verify whether any updates are needed to /etc/mdadm.conf, issue the following command:

$ mdadm --detail --scan

Compare the output of this command to what currently exists in mdadm.conf and add any needed sections to /etc/mdadm.conf.

IMPORTANT: For example, if the array consists of two devices, the command output will not display three lines in the mdadm.conf file–

one line for the array, and a line for each device.

Ensure that those lines are added to the mdadm.conf file so it matches the output of the command.

For more details, see the mdadm and mdadm.conf man pages for your distribution.

With these changes, the RAID 0 array will be created automatically upon restart on most systems. If you have problems accessing /dev/md0 after restart, run the following command:

$ mdadm --assemble --scan

If needed, you can also disable udev loading of the IO Accelerator driver. To load the driver, use the init script.

IMPORTANT: In SLES 11, to be sure these services are run on boot, you might have to run the following commands:

chkconfig boot.md on

chkconfig mdadmd on

Software installation 24

Image 24
Contents HP IO Accelerator Version 3.2.3 Linux User Guide Page Contents Maintenance Resources Contents summary About this guideIntroduction OverviewProduct naming Performance attributes IO Accelerator capacity 320GB 640GB Models AJ878B BK836ARequired operating environment Supported firmware revisionsSupported hardware Introduction Introduction Software installation Installation overviewInstalling RPM packages on SUSE, RHEL, and OEL $ uname -rRpm -Uvh iomemory-vsl-kernel-version-VSL-version.x8664.rpm Rpm -Uvh fio*.rpmBuilding an RPM installation package Building the IO Accelerator driver from source$ rpmbuild --rebuild iomemory-vsl-VSL-version.src.rpm Upgrading device firmware from VSL 1.x.x or 2.x.x to Upgrading procedure Fio-bugreport$ rpm -qa grep -i iomemory Fio-update-iodrive iodriveversion.fff $ rpm -e iomemory-vsl-2.6.18-194.el5-2.2.0.82-1.0$ modprobe iomemory-vsl # Provides iomemory-vsl # Required-Start boot.udev Loading the IO Accelerator driverControlling IO Accelerator driver loading Fio-attach /dev/fctUsing the init script $ chkconfig --del iomemory-vsl$ chkconfig --add iomemory-vsl # blacklist iomemory-vslSetting the IO Accelerator driver options Using module parametersMounting filesystems Handling IO Accelerator driver unloadsOne-time configuration Persistent configurationUpgrading the firmware $ modprobe iomemory-vsl auto-attach=0Enabling PCIe power Using the device as swapUsing the Logical Volume Manager Options iomemoryvsl preallocatememory=1072,4997,6710,10345Configuring RAID Device partitionsDevice /dev/fio Etc/mdadm.confChkconfig boot.md on Chkconfig mdadmd on $ mdadm --detail --scan$ mdadm --assemble --scan Building a RAID 10 across multiple devices Fio-statusUnderstanding Discard Trim support Discard Trim on LinuxSetting up Snmp for Linux Snmp details for LinuxFiles and directories Snmp master agentConfiguring the Snmp master agent Installing the Snmp subagentYum install net-snmp rsync Snmp agentX subagentRunning and configuring the Snmp subagent Manually running the Snmp subagentSubagent log file Using the Snmp sample config files Enabling Snmp test modePCI0100.0 Setting up Snmp for Linux Troubleshooting Snmp Supported Snmp MIB fieldsSnmp MIB Maintenance Maintenance toolsDevice LED indicators Command-line utilitiesEnabling PCIe power override Fio-update-iodriveCommon maintenance tasks Options iomemory-vsl externalpoweroverride=valueEnabling the override parameter Uninstalling the IO Accelerator driver RPM package Unloading the IO Accelerator driverDisabling auto attach Unmanaged shutdown issues Disabling the driverEtc/modprobe.d/iomemory-vsl.conf Options iomemoryvsl autoattach=0Utilities Utilities referenceFio-attach Fio-attach device optionsFio-beacon Fio-bugreportFio-beacon device options Tmp/fio-bugreport-20100121.173256-sdv9ko.tar.bz2Fio-detach Fio-format Fio-detach device optionsFio-format options device Fio-pci-check Fio-pci-check optionsFio-snmp-agentx Fio-statusFio-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 Monitoring IO Accelerator health Nand flash and component failureHealth metrics Health monitoring techniques About flashback protection technology Software RAID and health monitoringPerformance and tuning Introduction to performance and tuningDisabling Dvfs Limiting Apci C-statesSetting Numa affinity Setting the interrupt handler affinityNuma configuration Advanced configuration exampleIntroduction to Numa architecture Numa node override parameter13,14,18,19 Subscription service ResourcesFor more information Safety and regulatory compliance Warranty informationRegulatory information Support and other resources Before you contact HPHP 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