HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)
i
ioscan(1M) ioscan(1M)
NAME
ioscan - scan the I/O system
SYNOPSIS
/usr/sbin/ioscan
[-N][-k-u][
-e][-d driver -C class ][-I instance ][-H hw_path ]
[
-f[-n] -F
[-n]][devfile ]
/usr/sbin/ioscan
[-b] -M driver -H hw_path [
-I instance ]
/usr/sbin/ioscan -t
/usr/sbin/ioscan -P
property [-d driver -C
class ][-I instance ][-H hw_path ][devfile ]
/usr/sbin/ioscan -m
lun [-F][-d driver
-C class ][-I instance ][-H lun hw_path ]
[devfile ]
/usr/sbin/ioscan
[-F] -m dsf [ devfile ]
/usr/sbin/ioscan -m
hwpath [-F][-H hw_path]
/usr/sbin/ioscan -s
/usr/sbin/ioscan -r -H
hw_path
/usr/sbin/ioscan -B
/usr/sbin/ioscan -U
/usr/sbin/ioscan -a
[-F ]
DESCRIPTION
ioscan scans system hardware, usable I/O system devices, or kernel I/O system data structures as
appropriate, and lists the results. For each hardware module on the system, ioscan displays by default
the hardware path to the hardware module, the class of the hardware module, and a brief description.
By default,
ioscan scans the system and lists all reportable hardware found. The types of hardware
reported include processors, memory, interface cards and I/O devices. Scanning the hardware may cause
drivers to be unbound and others bound in their place in order to match actual system hardware. Entities
that cannot be scanned are not listed. By default, ioscan will display the list using the legacy view (see
intro(7)).
The ioscan command scans the system in the agile view or the legacy view, depending on whether or not
the -N option is used, and lists all reportable hardware found. If ioscan cannot find any hardware based
on the options and arguments specified, it prints no information and exits with a return value of
0 since the
scan encountered no errors.
ioscan can also use its options to perform the following:
• ioscan -N displays output using the agile view instead of the legacy view (see intro(7)).
•
ioscan -M forces the specified software driver into the kernel I/O system and forces software driver
to be bound. This can be used to make the system recognize a device that cannot be recognized
automatically; for example, because it has not yet been connected to the system, does not support
autoconfiguration, or because diagnostics need to be run on a faulty device.
• ioscan -b, when used with -M option, tries to do an online binding first. If the driver does not sup-
port online binding, binding will be deferred to next boot. The hardware path specified for a deferred
binding operation must be a LUN hardware path of a node of type DEVICE in UNCLAIMED state.
• ioscan -t displays the date and time at which system hardware was last scanned.
Note: The -t option cannot be used with any other options available for this command.
• ioscan -P property displays the property of a node.
• ioscan -m lun displays the mapping between LUN hardware path and the lunpath hardware path.
• ioscan -m dsf displays the mapping between legacy device special files and persistent device special
files (see intro(7)).
• ioscan -m hwpath displays the mapping between (legacy) hardware path, lunpath hardware path,
and LUN hardware path.
• ioscan -s lists the stale entries present in the system.
HP-UX 11i Version 3: February 2007 − 1 − Hewlett-Packard Company 373