HP-UX Virtual Partitions Administrator Guide (includes A.05.09) (5900-2188, March 2012)

Examples
To add all hardware using the SBA/LBA hardware path of 1/2 to an existing partition
winona2:
winona1# vparmodify -p winona2 -a io:1.2
To remove all hardware with SBA/LBA 1/2 from partition winona2:
winona1# vparmodify -p winona2 -d io:1.2
NOTE: The virtual partition must be in the down state to add or delete I/O resources.
I/O: Allocation Notes
When planning or performing I/O allocation, note the following:
An LBA can be assigned to at most one virtual partition at any given time.
When you are planning your I/O to virtual partition assignments, note that only one virtual
partition may own any hardware at or below the LBA (Local Bus Adapter) level. In other words,
hardware at or below the LBA level must be in the same virtual partition.
Example
Looking at the ioscan output of a rp7400/N4000, the two internal disk slots use the same
LBA:
0/0 ba Local PCI Bus Adapter (782)
0/0/2/0 ext_bus SCSI C875 Ultra Wide Single-Ended
0/0/2/1 ext_bus SCSI C875 Ultra Wide Single-Ended
Therefore, you cannot assign one of the internal disks to partition vpar1 and the other internal
disk to partition vpar2; these disks must reside in the same partition.
Syntax Notes
CAUTION: Using vPars A.03.01 or earlier, LBAs must be explicitly specified (included in the
hardware path). Specifying only the SBA is not supported. If specifying only an SBA, the
commands will not assume that all LBAs under the SBA are to be assigned; the system may
actually panic.
Beginning with vPars A.03.02, you can specify only the SBA. The vPars commands will assume
the change applies to all LBAs under the specified SBA.
The exception are boot disks; boot disks are specified using the full hardware path.
NOTE: When assigning I/O, if you specify a path below the LBA level (for example, cell/
sba/lba/.../device, vPars automatically assign the LBA to the virtual partition. For
example, if you specify -a io:0/0/0/2/0.6.0 where 0/0/0 is the cell/sba/lba, the lba of
0/0/0 is assigned to the virtual partition. Further, this LBA assignment implies that all devices
using 0/0/0 are assigned to the virtual partition.
The assignment rules of LBAs remain applicable: the LBA can only be owned by one virtual
partition. For example, once the LBA at 0/0/0 is assigned to one virtual partition, it cannot
be simultaneously assigned to any other virtual partition. Thus, if the device at 0/0/0/2/0.6.0
is assigned to a virtual partition, the LBA at 0/0/0 is assigned to that virtual partition, so the
device at 0/0/0/2/0.6.0 cannot be assigned to a different virtual partition.
LBA Example
The vparcreate command on a non-nPartitionable system looks like:
#vparcreate -p vpar1 -a cpu::1 -a cpu:::1 -a mem::1024 -a io:0.0 -a
io:0.0.2.0.6.0:BOOT
228 CPU, Memory, and I/O Resources (A.03.xx)