HP B- Accelerators Linux manual Fio-update-iodrive

Page 49

The following describes the steps taken in the Clear operation:

1.Creates a unity map of every addressable block (this allows fio-sure-eraseto address every block, including previously unmapped bad blocks).

2.For each block, performs an erase cycle (every cell is pushed to 1).

3.Restores the bad block map.

Formats the device (the purpose of this is to make the device usable again, the utility erases all of the headers during the clear).

Purge support

A Purge is implemented by using the -poption with fio-sure-erase. Purge refers to the act of first overwriting the entire NAND media (including retired erase blocks) with a single character (every cell written to logical 0), and then performing a full chip erase (every cell pushed to 1) across all media (including retired erase blocks).

Metadata that is required for operation will not be destroyed (media event log, erase counts, physical bytes read/written, performance and thermal history), but any user-specific metadata will be destroyed.

The Purge operation includes the following steps:

1.Creates a unity map of every addressable block (this allows fio-sure-eraseto address every block, including previously unmapped bad blocks).

2.For each block, performs a write cycle (every cell is pushed to 0).

3.For each block, performs an erase cycle (every cell pushed to 1).

4.Restores the bad block map.

Formats the device (the purpose of this is to make the device usable again, the utility erases all of the headers during the clear).

fio-update-iodrive

CAUTION: HP strongly recommends that data is backed up on any IO Accelerator device before performing a firmware upgrade.

Description

Updates the IO Accelerator device's firmware. This utility scans the PCIe bus for all IO Accelerator devices and updates them.

A progress bar and percentage are shown for each device as the update completes.

Utilities 49

Image 49
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