Steps to reserve/allocate a range of instance numbers of virtual bus nodes (ext_bus class) (October 2009)

Step 4: Write the contents of “foo” back into /stand/ext_ioconfig file using following
options of ‘ioconfig_dump’ tool
#ioconfig_dump-a-i –c –o /stand/ext_ioconfig –i foo
Step 5: Copy the /stand/ext_ioconfig file to /etc/ext_ioconfig file.
Step 6: Reboot the machine.
Once the system comes up, the devices that are connected to the fcd_vbus nodes, which are
moved above 255 range will be visible only in the agile view of iotree (ioscan –kfN) In the
legacy view of iotree (ioscan –kf) , fcd_vbus nodes whose instance number has been
moved above 255 will be shown in UNCLAIMED state and these nodes will instance number as -
1. The dummy entries that got added into the ioconfig file in step 3 above can be seen as
stale nodes in “ioscan –s
Use case: If there is a fcd_vbus node with only disk devices connected, this example can be
used to move the instance number of this fcd_vbus node to a range above 255 so that the
freed up instance number in the 0-255 range can be later used for another fcd_vbus node
with only tape devices are connected.
Scenario 2:
Reserving the entire virtual bus instance number range from 0 -
255
Step 1: Using the ‘ioconfig_dump’ tool, create a file named “foo”, which is the ASCII
format of the current /stand/ext_ioconfig file on a system. Run the following command to
generate the “foo” file from the current “/stand/ext_ioconfig” file.
#ioconfig_dump-a-i -r -f /stand/ext_ioconfig -o foo
The format of the entries in the “foo” file after the dump will be as follows:
Class_name:instance_number:hwpath:driver_name:flag
Where:
Class_name – Class of the node.
instance_number- Current instance number of the node represented by below hardware
path.
hwpath – Existent hardware path.
driver_name: Name of the driver which claimed this node.
flag – an integer number which is understood internally by HP-UX General I/O (GIO)
subsystem.
The flag is driver specific and while adding new entries it is preferable to take the flag value
from the existing entries in the file “foo”. For example if the value of the fcd_vbus is 515,
retain the same value for all the fcd_vbus entries that will be added to the file “foo”.