HP B- Accelerators Linux manual Unmanaged shutdown issues, Disabling the driver

Page 39

To disable auto_attach using the Linux init script:

1.Edit the following file:

/etc/modprobe.d/iomemory-vsl.conf

2.Add the following line to the file:

options iomemory_vsl auto_attach=0

3.Save the file.

4.To re-enable auto_attach, edit the file by either removing the line added in step 2, or edit the line as in the following:

options iomemory-vsl auto_attach=1

Unmanaged shutdown issues

If you experience an unmanaged shutdown, then the IO Accelerator performs a consistency check during the reboot. The reboot might take several minutes or more to complete and is indicated by a progress percentage during the startup.

Although data written to the IO Accelerator device is not lost due to unmanaged shutdowns, important data structures might not have been properly committed to the device. This consistency check repairs these data structures.

Disabling the driver

By default, the driver automatically loads when the operating system starts. You can disable the IO Accelerator auto-load for diagnostic or troubleshooting purposes.

To disable the IO Accelerator driver auto-load:

1.Append the following parameter to the kernel command line of your boot loader: iodrive=0

The IO Accelerator does not load, so the device cannot be available to users.

IMPORTANT: Disable the IO Accelerator to keep it from loading, or move it out of the /lib/modules/<kernel_version> directory.

2.Proceed with troubleshooting to correct the problem. If outdated firmware is the problem, use iodrive=1 to place the IO Accelerator in minimal mode. Use fio-update-iodriveor HP IO Accelerator Management Tool to update the firmware.

To reenable the IO Accelerator to the system, use the fio-attachutility or HP IO Accelerator Management Tool.

Maintenance 39

Image 39
Contents HP IO Accelerator Version 3.2.3 Linux User Guide Page Contents Maintenance Resources About this guide Contents summaryIntroduction OverviewProduct naming IO Accelerator capacity 320GB 640GB Models AJ878B BK836A Performance attributesRequired operating environment Supported firmware revisionsSupported 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 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 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/fioChkconfig boot.md on Chkconfig mdadmd on $ mdadm --detail --scan$ 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 rsyncRunning and configuring the Snmp subagent Manually running 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 overrideCommon maintenance tasks Options iomemory-vsl externalpoweroverride=valueEnabling the override parameter Uninstalling the IO Accelerator driver RPM package Unloading the IO Accelerator driverDisabling 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-format Fio-detach device optionsFio-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 Monitoring IO Accelerator health Nand flash and component failureHealth 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 Subscription service ResourcesFor more information Safety and regulatory compliance Warranty informationRegulatory 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