Using Virtual Disks When VxVM Is Installed
When the VxVM is installed on your system and Veritas Dynamic Multipathing (DMP) is enabled on a physical disk or partition you want to export as virtual disk, then you have to export that disk or partition without setting the (non-default) excl
option. Otherwise, you receive an error in /var/adm/messages
while binding a domain that uses such a disk.
vd_setup_vd(): ldi_open_by_name(/dev/dsk/c4t12d0s2) = errno 16 vds_add_vd(): Failed to add vdisk ID 0
You can check whether Veritas DMP is enabled by checking the multipathing information in the vxdisk list
output. For example:
# vxdisk list Disk_3
Device: Disk_3
devicetag: Disk_3
type: auto
info: format=none
flags: online ready private autoconfig invalid
pubpaths: block=/dev/vx/dmp/Disk_3s2 char=/dev/vx/rdmp/Disk_3s2
guid: -
udid: SEAGATE%5FST336753LSUN36G%5FDISKS%5F3032333948303144304E0000
site: -
Multipathing information:
numpaths: 1
c4t12d0s2 state=enabled
Alternatively, if Veritas DMP is enabled on a disk or a slice that you want to export as a virtual disk with the excl
option set, then you can disable DMP using the vxdmpadm
command. For example:
# vxdmpadm -f disable path=/dev/dsk/c4t12d0s2