VERITAS Volume Manager 4.1 Administrator's Guide
Administering Disks
Configuring Newly Added Disk Devices
Chapter 268
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 attaced 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:
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
The next command discovers devices that are connected to the specified physical controller:
# vxdisk scandisks pctlr=8/12.8.0.255.0