I/O operations for a domain are often provided by another domain such as a service domain or an I/O domain. For example, a service domain can export a virtual device or a root domain can provide direct access to a physical device.
Be aware of these implicit I/O dependencies, as an outage in a service domain or a root domain will result in a service interruption of the dependent domain, as well.
You can use the ldm list-dependencies command to view the I/O dependencies between domains. In addition to listing the dependencies of a domain, you can invert the output to show the dependents of a particular domain.
The following list shows the types of I/O dependencies that you can view by using the ldm list-dependencies command:
Dependency created when a virtual disk is connected to a virtual disk backend that has been exported by a virtual disk server
Dependency created when a virtual network device is connected to a virtual switch
Dependency created when an SR-IOV virtual function is associated with an SR-IOV physical function
The following ldm list-dependencies commands show some of the ways in which you can view domain dependency information:
To show detailed domain dependency information, use the –l option.
primary# ldm list-dependencies -l
DOMAIN         DEPENDENCY      TYPE      DEVICE
primary
svcdom
ldg0           primary         VDISK     primary-vds0/vdisk0
                               VNET      primary-vsw0/vnet0
               svcdom          VDISK     svcdom-vds0/vdisk1
                               VNET      svcdom-vsw0/vnet1
ldg1           primary         VDISK     primary-vds0/vdisk0
                               VNET      primary-vsw0/vnet0
                               IOV       /SYS/MB/NET0/IOVNET.PF0.VF0
               svcdom          VDISK     svcdom-vds0/vdisk1
                               VNET      svcdom-vsw0/vnet1
                               IOV       /SYS/MB/NET2/IOVNET.PF0.VF0To show detailed information about dependents grouped by their dependencies, use both the –l and –r options.
primary# ldm list-dependencies -r -l
DOMAIN         DEPENDENT       TYPE      DEVICE
primary        ldg0            VDISK     primary-vds0/vdisk0
                               VNET      primary-vsw0/vnet0
               ldg1            VDISK     primary-vds0/vdisk0
                               VNET      primary-vsw0/vnet0
                               IOV       /SYS/MB/NET0/IOVNET.PF0.VF0
svcdom         ldg0            VDISK     svcdom-vds0/vdisk1
                               VNET      svcdom-vsw0/vnet1
               ldg1            VDISK     svcdom-vds0/vdisk1
                               VNET      svcdom-vsw0/vnet1
                               IOV       /SYS/MB/NET2/IOVNET.PF0.VF0