HP B- Accelerators Linux manual Fio-detach device options, Fio-format options device

Page 43

Detaches and removes the corresponding /dev/fctx IO Accelerator block device. The fio-detachcommand waits until the device completes all read/write activity before executing the detach process. The command displays a progress bar and percentage as it completes the process.

NOTE: Before using this utility, be sure that the device you want to detach is not currently mounted and in use.

Syntax

fio-detach <device> [options]

where <device> is the name of the device node (/dev/fctx), where x indicates the board number: 0, 1, 2, and so on. For example, /dev/fct0 indicates the first IO Accelerator installed on the system.

You can specify multiple IO Accelerator devices. For example, /dev/fct1 /dev/fct2 indicates the second and third IO Accelerator devices installed on the system. You can also use a wildcard to indicate all IO Accelerator devices on the system.

For example, /dev/fct*

Options

Description

 

 

-i

Immediate: Causes a forced immediate detach (does not save metadata). This will fail

 

if the device is in use by the OS.

-q

Quiet: Disables the display of the progress bar and percentage.

NOTE: Detaching an IO Accelerator device might fail with an error indicating that the device is busy. This might occur if the IO Accelerator device is part of a software RAID volume (0,1,5), is mounted, or if some process has the device open.

The tools fuser, mount, and lsof can be helpful to determine what is holding the device open.

fio-format

Description

IMPORTANT: The IO Accelerator devices are shipped pre-formatted. fio-formatis not required except to change the logical size or block size of a device, or to erase user data on a device. To ensure the user data is truly erased, use fio-sure-erase.

The fio-formatutility performs a low-level format of the board. By default, fio-formatdisplays a progress-percentage indicator as it runs.

CAUTION: Use this utility with care since it deletes all user information on the IO Accelerator.

IMPORTANT: Use the -sor -ooption to change the default capacity of the device size. When enabled, the -sand -ooptions must include the size or percentage indicators.

NOTE: Use a large block (sector) size to reduce IO Accelerator memory consumption. For

example: 4096 bytes. Be aware that some applications are not compatible with non-512-byte sector sizes.

Syntax

fio-format [options] <device>

Utilities 43

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