HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)
i
ioinit(1M) ioinit(1M)
EXAMPLES
To reassign an instance number to a device and class (specified in infile) and reboot the system:
/sbin/ioinit -f infile -r
where infile contains the following:
56.52 scsi 2
64000/0xfa00/0x7 disk 20
56.52
is the h/w_path,
scsi is the class_name, and 2 is the instance_#.
64000/0xfa00/0x7
is the h/w_path,
disk is the class_name, and 20 is the instance_#.
To achieve circular reassignment of instance numbers between two existing devices of a class (specified in
infile), assuming the driver associated with the given hardware paths support online reassignment of
instance numbers.
/sbin/ioinit -f infile
where infile contains the following:
64000/0xfa00/0x7 disk 20
64000/0xfa00/0xa disk 30
64000/0xfa00/0x7
is the h/w_path, disk is the class_name, and 20 is the instance_#. The existing
instance_# of this device is 30.
64000/0xfa00/0xa is the h/w_path,
disk is the class_name, and 30 is the instance_#. The existing
instance_# of this device is 20. After the successful completion of this operation,
64000/0xfa00/0x7
will have the new instance_# as 20 and 64000/0xfa00/0xa
will have the new instance_# as 30.
Verify
my_ioconfig file for corruptions and find if it is of type legacy or agile.
/sbin/ioinit -v /etc/back/my_ioconfig
WARNINGS
Running rmsf or insf overwrites the effect of reassignment by ioinit before the system is rebooted.
AUTHOR
ioinit was developed by HP.
FILES
/stand/ioconfig
/etc/ioconfig
/stand/ext_ioconfig
/etc/ext_ioconfig
SEE ALSO
init(1M), insf(1M), ioscan(1M), rmsf(1M), inittab(4), ioconfig(4), intro(7).
372 Hewlett-Packard Company − 3 − HP-UX 11i Version 3: February 2007