Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)

Chapter 2, Administering Disks
Discovering and Configuring Newly Added Disk Devices
63
described in “Displaying and Changing Default Disk Layout Attributes” on page 77. See
the vxdisk(1M) manual page for details of the usage of this file, and for more
information about disk types and their configuration.
Discovering and Configuring Newly Added Disk Devices
When you physically connect new disks to a host or when you zone new fibre channel
devices to a host, you can use the vxdctl command to rebuild the volume device node
directories and to update the DMP internal database to reflect the new state of the system.
To reconfigure the DMP database, first run ioscan followed by insf to make the
operating system recognize the new disks, and then invoke the vxdctl enable
command. See the vxdctl(1M) manual page for more information.
You can also use the vxdisk scandisks command to scan devices in the operating
system device tree and to initiate dynamic reconfiguration of multipathed disks. See the
vxdisk(1M) manual page for more information.
Partial Device Discovery
The Dynamic Multipathing (DMP) feature of VxVM supports partial device discovery
where you can include or exclude sets of disks or disks attached to controllers from the
discovery process.
The vxdisk scandisks command re-scans the devices in the OS device tree and triggers
a DMP reconfiguration. You can specify parameters to vxdisk scandisks to implement
partial device discovery. For example, this command makes VxVM discover newly added
devices that were unknown to it earlier:
# vxdisk scandisks new
The next example discovers fabric devices:
# vxdisk scandisks fabric
The following command scans for the devices c1t1d0 and c2t2d0:
# vxdisk scandisks device=c1t1d0,c2t2d0
Alternatively, you can specify a ! prefix character to indicate that you want to scan for all
devices except those that are listed:
# vxdisk scandisks !device=c1t1d0,c2t2d0
You can also scan for devices that are connected (or not connected) to a list of logical or
physical controllers. For example, this command discovers and configures all devices
except those that are connected to the specified logical controllers:
# vxdisk scandisks !ctlr=c1,c2