ioinit.1m (2010 09)

i
ioinit(1M) ioinit(1M)
NAME
ioinit - test and maintain consistency between the kernel I/O data structures and the ioconfig files
SYNOPSIS
/sbin/ioinit -i [-r]
/sbin/ioinit -c
/sbin/ioinit -f infile [
-A][-r]
/sbin/ioinit -v ioconfig_file
/sbin/ioinit -rC class_name
DESCRIPTION
Starting with HP-UX 11i Version 3, there are two ioconfig files,
/etc/ioconfig
which is the same as
on prior releases and
/etc/ext_ioconfig
which contains additional agile entries (see intro (7) for
information on agile addressing). These two ioconfig files will have their copies in
/stand as
/stand/ioconfig
and /stand/ext_ioconfig
respectively.
The
ioinit command is invoked by the init
process when the system is booted, based on the ioin
entry in /etc/inittab:
ioin::sysinit:/sbin/ioinitrc > /dev/console 2>&1
where ioinitrc is a script to invoke ioinit with the -i and -r options. Given the
-i option,
ioinit checks consistency between the /stand versions of ioconfig files and the /etc
versions of
ioconfig files. If these files are consistent,
ioinit invokes insf to install special files for any new dev-
ices found.
If
/stand versions of ioconfig files are inconsistent with /etc versions, ioinit updates /stand
ver-
sions of ioconfig files from
/etc versions and, if the -r option is given, reboots the system.
If
/stand/ioconfig
or /stand/ext_ioconfig is corrupted or missing when the system reboots,
ioinitrc brings the system up in single-user mode. The user should then restore /stand/ioconfig
or /stand/ext_ioconfig
accordingly from backup or invoke ioinit with the -c option to recreate
/stand/ioconfig, /stand/ext_ioconfig
, /etc/ioconfig, and
/etc/ext_ioconfig from
the kernel.
If the
-f option is given, ioinit reassigns instance numbers to existing devices within a given class
based on infile. If the driver associated with the given hardware path does not support online instance
number reassignment, reboot is required. If
ioinit finds no errors associated with the reassignment,
and the
-r option is given, the system is rebooted. (See the WARNINGS section.)
If the
-A option is used with -f option, the command performs Critical Resource Analysis (CRA) on all
the devices corresponding to the hardware paths specified in infile, before assigning the new instance
numbers. Existing device special files of LUNs, whose instance number is to be reassigned, will be
deleted and recreated after the reassignment of instance numbers. If the driver associated with the given
hardware path does not support online instance number reassignment, the
-r option must be used.
If the
-c option is given, ioinit recreates /etc/ioconfig and /etc/ext_ioconfig
from the
existing kernel I/O data structures.
If the
-v option is given, ioinit verifies if there is any corruption in the specified system ioconfig
file.
If the
-C option is given, the kernel is forced to reassign instance numbers, starting from 0, for existing
devices with the given class_name on the next reboot. Note that this option must be used with the -r
option, which reboots the system immediately, if the operation is successful.
Options
ioinit recognizes the following options:
-A Performs Critical Resource Analysis (CRA) on all the devices corresponding to the
hardware paths specified in infile. Instance numbers will be reassigned as specified in
infile, only if CRA of all these devices report SUCCESS. Existing device special files of
LUNs whose instance number are reassigned will be deleted and recreated with the
updated instance numbers.
The
-f option must be specified when using the -A option. (See the -f option below.)
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (4 pages)