HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)

i
ioscan(1M) ioscan(1M)
options can be used to restrict listings. Cannot be used with
-u. This option does not
require superuser privileges.
-m keyword Display mapping information according to the keyword specified.
ioscan retrieves
the information from the kernel I/O data structures without scanning the hardware.
Keywords can be any one of the following:
lun Display the LUN to lunpath mapping. The
-d, -C, -I, and -H options can
be used to restrict listings. Arguments passed must be from the agile view.
The
-F option can be used to generate a compact listing of fields separated
by colons (:). Fields include: class, instance number, LUN hardware path,
driver, software state, hardware type, block major number, character major
number, health, a brief description, lunpath(s). Device special files
corresponding to LUN will be shown on separate line(s).
dsf Display the mapping between the legacy and persistent special files. Either
a legacy or persistent special file can be specified as an argument. If none
is specified, all valid mappings for character special files are displayed. The
-F option can be used to generates a compact listing of fields separated by
colons (:). Fields include: persistent special file, legacy special file(s). Mul-
tiple legacy special files mapping to the persistent special file are separated
by a white space.
hwpath Display the mapping between the legacy hardware path, lunpath hardware
path, and LUN hardware path. The
-H option can be used to restrict list-
ings. The argument specified with -H can either be a legacy hardware
path, lunpath hardware path, or LUN hardware path. The hardware path
specified will also be displayed along with the corresponding other two
representations, if present.
The -F option can be used to generate a compact listing of fields separated
by colons (:), which is useful for producing custom listings with awk.
Fields include: LUN hardware path, lunpath hardware path, legacy
hardware path(s). If there are multiple legacy hardware paths mapped to
a lunpath hardware path, they will be separated by a white space in the
last field. For example, if a lunpath hardware path has two mappings to a
legacy hardware path, the two legacy hardware paths are separated by a
white space in the last field. If there are multiple mappings, they are
displayed in separate lines. For example, if one lun hardware path maps to
two lunpath hardware paths which map to a legacy hardware path each.
-M driver Specify the software driver to bind at the hardware path given by the -H
option.
Must be used with the
-H option.
-n List device file names in the output. Only special files in the
/dev directory and its
subdirectories are listed. Must be used with either the
-f or the -F option.
-N Displays the agile view (see intro(7)) of the system hardware. For mass storage device
entries that would normally include the driver class, the legacy hardware path, and
the device description, ioscan prints a class of lunpath, the lunpath hardware path,
and the name of the LUN that it maps to, when used with this option. In addition,
the output will include entries for the mass storage devices at their LUN hardware
paths, with the expected driver class and description. Thus, each mass storage device
will have at least two entries in the ioscan output: one for the LUN hardware path
and one for each lunpath hardware path. If used with the -n option, ioscan only
prints persistent special files.
-P property Displays the property of nodes in the agile view. This option can be combined with
the -C, -d, -I and -H options, but the parameters passed must belong to the agile
view. The valid properties are:
bus_type, cdio, is_block, is_char, is_pseudo, b_major, c_major, minor, class, driver,
hw_path, id_bytes, instance, module_name, sw_state, hw_type, description, health.
-r Remove a deferred binding at the specified hardware path. Must be used with the -H
option. The hw_path must belong to the agile view.
HP-UX 11i Version 3: February 2007 3 Hewlett-Packard Company 375