Obtaining Physical SCSI HBA Information

Before you configure a virtual SCSI HBA, you must obtain information about the physical SCSI HBAs that are attached to the service domain. For more information about configuring HBA cards in I/O domains, see Configuring I/O Domains.

Note:

If at least the Oracle Solaris 11.3 OS is installed in the primary domain, the service domain can be the control domain.

The ldm list-hba command lists the physical SCSI HBA initiator ports for the specified active domain. After identifying a logical domain's SCSI HBA initiator ports, you can specify a particular initiator port on the ldm add-vsan command line to create a virtual SAN. See the ldm(8) man page.

The following example shows the initiator ports for the SCSI HBAs that are attached to the svcdom service domain. The -l option shows detailed information.

primary# ldm list-hba -l svcdom
NAME                                                 VSAN
----                                                 ----
/SYS/MB/SASHBA0/scsi@0/iport@1
[/pci@300/pci@1/pci@0/pci@2/scsi@0/iport@1]
/SYS/MB/SASHBA0/scsi@0/iport@2
[/pci@300/pci@1/pci@0/pci@2/scsi@0/iport@2]
/SYS/MB/SASHBA0/scsi@0/iport@4
[/pci@300/pci@1/pci@0/pci@2/scsi@0/iport@4]
/SYS/MB/SASHBA0/scsi@0/iport@8
[/pci@300/pci@1/pci@0/pci@2/scsi@0/iport@8]
/SYS/MB/PCIE1/SUNW,emlxs@0/fp@0,0
[/pci@300/pci@1/pci@0/pci@4/SUNW,emlxs@0/fp@0,0]
/SYS/MB/PCIE1/SUNW,emlxs@0,1/fp@0,0
[/pci@300/pci@1/pci@0/pci@4/SUNW,emlxs@0,1/fp@0,0]

If the LUNs you expect to see for an initiator port do not appear in the ldm list-hba output, verify that multipathing is disabled in the referenced service domain for the referenced initiator port. See Managing SAN Devices and I/O Multipathing in Oracle Solaris 11.4.