Information Technology Reference
In-Depth Information
disconnected
: Occupant is isolated from the system (typically used for test-
ing occupant or when occupant is unconfigured)
➤
connected
: Occupant is configured and accessible by the system (the occu-
pant is configured; this is the normal state)
➤
Occupants are typically in the
unconfigured
state or in the
configured
state.
Configured is the normal operational state.
The overall status condition of the attachment point (receptacle and occu-
pant) can be
ok
,
failing
,
failed
,
unusable
, or
unknown
. The status condition
of an attachment point is the result of errors that occur during operation or
diagnostic tests that run to identify and isolate faulty components.
Hot-Plugging SCSI Controllers and Devices
The
cfgadm
command is used to display information about hot-plugging
configurations, to connect and disconnect SCSI controllers, and to configure
or unconfigure SCSI devices.
Attachment points are represented using
attachment point IDs (AP_Ids)
. For
example, SCSI controllers are represented using IDs such as
c0
and
c1
. A
SCSI device such as disk
/dev/dsk/c1t3d0
that is attached to controller
c1
has an AP_Id of
c1::dsk/c1t3d0
, whereas a tape drive such as
/dev/rmt/0
attached to controller
c0
has an AP_Id of
c0::rmt/0
. Refer to the
cfgadm(1M)
manual page for more information on attachment point IDs.
The
-al
command-line argument can be used to display information about
SCSI controllers and devices. The following
cfgadm
command can be used
to display this information:
# cfgadm -al
AP_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::rmt/0 tape connected configured unknown
c1 scsi-bus connected configured unknown
c1::dsk/c1t3d0 disk connected configured unknown
#
A SCSI controller can be disconnected using the
cfgadm -c disconnect
AP_Id
command. For example, to disconnect the
c1
controller, use the fol-
lowing command:
# cfgadm -c disconnect c1
#
Likewise, to connect the
c1
controller, use the following command:
# cfgadm -c connect c1
#