Overview: The Next Generation Mass Storage Stack (September 2009)

Table Of Contents
–v ioconfig_file
Checks an I/O configuration file for corruption. The ioconfig_file argument specifies the file to
check.
-A With the –f option, performs Critical Resource Analysis (CRA) on all the devices corresponding to the
hardware paths specified in infile. You must specify the -f option with this option.
Instance numbers are reassigned as specified in infile, only if CRA of all these devices report
SUCCESS. Existing device special files of LUNs whose instance numbers are to be reassigned are
deleted and new device special files are created with the new instance numbers after successful
instance number reassignment. If the driver associated with at least one given hardware path does
not support online instance number reassignment, you must also specify the -r option. If the infile
contains a hardware path of a node whose driver does not support online instance number
reassignment and -r option is not specified, the command aborts the operation. If this option is
used, restarting sfd is not required.
For example, to perform CRA and reassign instance numbers for the devices specified in the infile,
provided all the drivers associated with the hardware paths in the infile support online instance
number reassignment, enter the following command:
# ioinit -f infile -A
To perform CRA and reassign instance numbers for the devices specified in the infile, if few drivers
associated with the hardware paths in the infile do not support online instance number
reassignment, enter the following command:
# ioinit -f infile -A –r
scsictl(1M)
The scsictl command controls SCSI targets and LUNs. It supports the following new option:
–t tgtid
Operates on a SCSI target instead of a LUN. The tgtid argument specifies the target port ID. The list
of operations is defined in scsictl(1M).
mediainit(1)
The mediainit command initializes mass storage media by formatting the media, writing and reading test
patterns to verify media integrity, and sparing any defective blocks found. Formatting destroys the existing user
data only in the area being initialized. It does not destroy the user data on the entire disk; you can easily retrieve
the original data.
Before you can reuse or redeploy a disk, you must erase the user data completely to ensure data security.
In HP-UX Update 4, mediainit provides the disk scrub feature. Disk scrubbing overwrites the entire disk with a
single character. Because all addressable locations of the disk are overwritten, retrieval of the original data
becomes more difficult and data security is ensured.
The disk scrub feature is supported only for “disk” class devices. The mediainit command, by default scrubs the
media three times. It enables you to specify the character to use for disk scrubbing. With the -t option, you can
also select the number of iterations of scrubbing to be done.
The mediainit command provides new options –S, -C, and –t, which can be used to scrub the disk devices.
22