If the original default behavior for fabric-connected devices is desired, see the next step.
# init 6
After you configure the hardware in your direct-attach system or SAN, you must ensure that the systems recognize the devices. This section explains host recognition of fabric devices, also known as 24-bit FC addressing devices on the SAN. After configuring the devices, ports, and zones in your SAN, make sure that the system is aware of the devices. You can have up to 16 million fabric devices connected together on a SAN with FC support.
This section is limited to the operations required from the perspective of the Oracle Solaris OS. It does not cover other aspects, such as device availability and device-specific management. If devices are managed by other software, such as a volume manager, refer to the volume manager product documentation for additional instructions.
# cfgadm -al -o show_SCSI_LUN
If you issue the cfgadm -al -o show_SCSI_LUN controller-ID command immediately after a system boots, the output might not show the Fibre Channel Protocol (FCP) SCSI LUN level information. The information does not appear because the storage device drivers, such as the ssd and st driver, are not loaded yet on the running system.
# modinfo | grep ssd
This section provides an example of the procedure for detecting fabric devices using FC host ports c0 and c1. This procedure also shows the device configuration information that is displayed with the cfgadm command.
# cfgadm -l Ap_Id Type Receptacle Occupant Condition c0 fc-fabric connected unconfigured unknown c1 fc-private connected configured unknown
In this example, c0 represents a fabric-connected host port, and c1 represents a private, loop-connected host port. Use the cfgadm command to manage the device configuration on fabric-connected host ports.
By default, the device configuration on private, loop-connected host ports is managed by a system running the Oracle Solaris OS.
# cfgadm -al Ap_Id Type Receptacle Occupant Condition c0 fc-fabric connected unconfigured unknown c0::50020f2300006077 disk connected unconfigured unknown c0::50020f23000063a9 disk connected unconfigured unknown c0::50020f2300005f24 disk connected unconfigured unknown c0::50020f2300006107 disk connected unconfigured unknown c1 fc-private connected configured unknown c1::220203708b69c32b disk connected configured unknown c1::220203708ba7d832 disk connected configured unknown c1::220203708b8d45f2 disk connected configured unknown c1::220203708b9b20b2 disk connected configured unknown
The procedures in this section show how to detect fabric devices that are visible on a system and to configure and make them available to a system running the Oracle Solaris OS. The procedures in this section use specific devices as examples to illustrate how to use the cfgadm command to detect and configure fabric devices.
The device information that you supply and that is displayed by the cfgadm command depends on your system configuration.