HP B- Accelerators Linux manual Setting the IO Accelerator driver options, Mounting filesystems

Page 20

The options file contains documentation for the various settings: two of which, MOUNTS and

KILL_PROCS_ON_UMOUNT, are discussed in more detail in the "Handling IO Accelerator driver unloads (on page 20)."

Mounting filesystems

The IO Accelerator driver is not loaded in the initrd, and, (built kernel) therefore, using the standard method for mounting filesystems (/etc/fstab), does not work.

To set up auto-mounting of a filesystem hosted on an IO Accelerator:

1.Add the mnt command to /etc/fstab.

2.Add the noauto option to /etc/fstab.

For example:

o /dev/fcta /mnt/fioa ext3 defaults,noauto 0 0

o /dev/fctb1 /mnt/iodrive ext3 defaults,noauto 0 0

To have the init script mount these drives after the driver is loaded and unmount them before the driver is unloaded, add a list of mount points to the options file. For more information, see "Using module parameters (on page 20)."

For the filesystem mounts shown in the previous example, the line in the options file appears similar to the following:

MOUNTS="/mnt/fioa /mnt/iodrive"

Handling IO Accelerator driver unloads

By default, the init script searches for any processes holding open a mounted filesystem, kills them, and then enables the filesystem to be unmounted. This behavior is controlled by the option KILL_PROCS_ON_UMOUNT in the options file. If these processes are not killed, then the filesystem cannot be unmounted. This might keep the IO Accelerator from unloading cleanly, causing a significant delay on the subsequent boot.

Setting the IO Accelerator driver options

This section explains how to set IO Accelerator options.

Using module parameters

The following table describes the module parameters you can set by editing the /usr/modprobe.d/iomemory-vsl.conffile and changing the values.

IMPORTANT: To take effect, these changes must be completed before the IO Accelerator is loaded.

Module parameter

Default

Description

 

(minimum/maxi

 

 

mum)

 

 

 

 

auto_attach

True

Attach the device on startup.

Software installation 20

Image 20
Contents HP IO Accelerator Version 3.2.3 Linux User Guide Page Contents Maintenance Resources Contents summary About this guideProduct naming IntroductionOverview Performance attributes IO Accelerator capacity 320GB 640GB Models AJ878B BK836ASupported hardware Required operating environmentSupported firmware revisions 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*.rpm$ rpmbuild --rebuild iomemory-vsl-VSL-version.src.rpm Building an RPM installation packageBuilding the IO Accelerator driver from source Upgrading device firmware from VSL 1.x.x or 2.x.x to $ rpm -qa grep -i iomemory Upgrading procedureFio-bugreport $ modprobe iomemory-vsl Fio-update-iodrive iodriveversion.fff$ rpm -e iomemory-vsl-2.6.18-194.el5-2.2.0.82-1.0 # 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.conf$ mdadm --assemble --scan Chkconfig boot.md on Chkconfig mdadmd on$ mdadm --detail --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 subagentSubagent log file Running and configuring the Snmp subagentManually running the Snmp subagent 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-iodriveEnabling the override parameter Common maintenance tasksOptions iomemory-vsl externalpoweroverride=value Disabling auto attach Uninstalling the IO Accelerator driver RPM packageUnloading the IO Accelerator driver 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 options device Fio-formatFio-detach device options 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 Health metrics Monitoring IO Accelerator healthNand flash and component failure 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 For more information Subscription serviceResources Regulatory information Safety and regulatory complianceWarranty 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