Go to main content

Managing Devices in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

SPARC: How to Add a SCSI Device to a SCSI Bus


Note -  When you add devices, specify the Ap_Id of the SCSI HBA (controller) to which the device is attached, not the Ap_Id of the device itself.
  1. (Optional) Display the SCSI configuration to identify the bus to which to add the device.
    # cfgadm -al
  2. Add the device and switch it on.
    1. Add the device.
      # cfgadm -x insert_device controller
    2. Type y at the prompt to proceed.

      I/O activity on the SCSI bus is suspended while the hot-plug operation is in progress.

    3. Insert the device and switch its power on.
  3. Verify that the device has been added.
    # cfgadm -al
Example 8  Adding a SCSI Device

In this example, a device is added to the controller c3.

# cfgadm -al
Ap_Id            Type         Receptacle   Occupant     Condition
c2               scsi-bus     connected    configured   unknown
c2::dsk/c2t0d0   CD-ROM       connected    configured   unknown
c3               scsi-sas     connected    configured   unknown
c3::dsk/c3t0d0   disk         connected    configured   unknown
c3::dsk/c3t1d0   disk         connected    configured   unknown
c3::dsk/c3t2d0   disk         connected    configured   unknown

# cfgadm -x insert_device c3
Adding device to SCSI HBA: /devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2
This operation will suspend activity on SCSI bus: c3
Continue (yes/no)? y
SCSI bus quiesced successfully.
It is now safe to proceed with hotplug operation.

After the device is added and power to the device is turned on, the operation continues and presents a confirmation prompt.

Enter y if operation is complete or n to abort (yes/no)? y

# cfgadm -al
Ap_Id            Type         Receptacle   Occupant     Condition
c2               scsi-bus     connected    configured   unknown
c2::dsk/c2t0d0   CD-ROM       connected    configured   unknown
c3               scsi-sas     connected    configured   unknown
c3::dsk/c3t0d0   disk         connected    configured   unknown
c3::dsk/c3t1d0   disk         connected    configured   unknown
c3::dsk/c3t2d0   disk         connected    configured   unknown
c3::dsk/c3t3d0   disk         connected    configured   unknownA disk is added to c3.