HP B- Accelerators Linux manual Using the init script, $ chkconfig --del iomemory-vsl, Iodrive=0

Page 19

NOTE: The init script is part of the fio-sysvinitpackage, which must be installed before you can enable the init script.

To disable this loading of the IO Accelerator driver, enter the following command:

$ chkconfig --del iomemory-vsl

To re-enable the driver loading in the init script, enter the following command:

$ chkconfig --add iomemory-vsl

For more details, see "Using the init script (on page 19)".

Using udev

On systems that rely on udev to load drivers, if you want to prevent udev from auto-loading the IO Accelerator at boot time, users must modify a drivers option file.

To modify the drivers option file:

1.Locate and edit the /etc/modprobe.d/iomemory-vsl.conffile, which contains the following line:

# blacklist iomemory-vsl

2.To disable loading, remove the # from the line, and then save the file.

3.Reboot Linux. The IO Accelerator will not load from udev.

4.To restore the udev-loading of the IO Accelerator, replace the # to comment out the line.

CAUTION: The version of udev on RHEL4u7/CentOS4u7 and earlier does not support the blacklist directive. Even if the driver is blacklisted as documented, udev will load the driver. To blacklist the driver in these versions, put the name of the driver on a separate line in the /etc/hotplug/blacklist file.

For example: iomemory-vsl

Disabling the loading on either udev or init script systems

Users can disable the loading of the IO Accelerator driver at boot time on either udev or init script systems. Disabling prevents the auto_attach process for diagnostic or troubleshooting purposes. To disable or enable the auto_attach functionality, follow the steps in "Disabling auto_attach ("Disabling auto attach" on page 38)."

Alternatively, you can prevent the driver from loading by appending the following parameter at the kernel command line of your boot loader:

iodrive=0

However, HP does not recommend this method, because it prevents the driver from functioning at all and limit the amount of troubleshooting you can perform.

Using the init script

The installation process places an init script in the /etc/init.d/iomemory-vslfile. This script uses the setting options found in the options file in /etc/sysconfig/iomemory-vsl.The options file must have ENABLED set (non-zero) for the init script to be used:

ENABLED=1

Software installation 19

Image 19
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 $ uname -r Software installationInstallation overview Installing RPM packages on SUSE, RHEL, and OELRpm -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 Fio-attach /dev/fct # Provides iomemory-vsl # Required-Start boot.udevLoading the IO Accelerator driver Controlling IO Accelerator driver loading# blacklist iomemory-vsl Using the init script$ chkconfig --del iomemory-vsl $ chkconfig --add iomemory-vslHandling IO Accelerator driver unloads Setting the IO Accelerator driver optionsUsing module parameters Mounting filesystems$ modprobe iomemory-vsl auto-attach=0 One-time configurationPersistent configuration Upgrading the firmwareOptions iomemoryvsl preallocatememory=1072,4997,6710,10345 Enabling PCIe powerUsing the device as swap Using the Logical Volume ManagerEtc/mdadm.conf Configuring RAIDDevice partitions Device /dev/fio$ 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 master agent Setting up Snmp for LinuxSnmp details for Linux Files and directoriesSnmp agentX subagent Configuring the Snmp master agentInstalling the Snmp subagent Yum install net-snmp rsyncManually 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 Command-line utilities MaintenanceMaintenance tools Device LED indicatorsFio-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 Options iomemoryvsl autoattach=0 Unmanaged shutdown issuesDisabling the driver Etc/modprobe.d/iomemory-vsl.confFio-attach device options UtilitiesUtilities reference Fio-attachTmp/fio-bugreport-20100121.173256-sdv9ko.tar.bz2 Fio-beaconFio-bugreport Fio-beacon device optionsFio-detach Fio-detach device options Fio-formatFio-format options device Fio-pci-check options Fio-pci-checkFio-status device options Fio-snmp-agentxFio-status Fio-snmp-agentx 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 technologyLimiting Apci C-states Performance and tuningIntroduction to performance and tuning Disabling DvfsSetting the interrupt handler affinity Setting Numa affinityNuma node override parameter Numa configurationAdvanced configuration example Introduction to Numa architecture13,14,18,19 Resources Subscription serviceFor more information Warranty information Safety and regulatory complianceRegulatory information Customer Self Repair Support and other resourcesBefore you contact HP HP contact informationRé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