[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Commands Reference, Volume 5
uscsicfg Command
Purpose
List SCSI devices attached to an adapter.
Syntax
uscsicfg [ -adapter] [ -adaptername adaptername] [ -id] [ -idname name] [ -idscsi location code] [ -identify name] [ -remove name] [ -normal name]
Description
The uscsicfg command allows the user to list all
SCSI devices attached to a particular adapter by providing the name or location code of the SCSI device or
the name of the adapter to which it is attached.
This command also allows the user to put a disk that is connected to an
SES backplane into the identify, remove, or normal state. To put the disk
into one of these states, the user needs to provide the state and the name, or location code of the
device.
Flags
-adapter |
Lists the names of all the SCSI adapters on the system. |
-adaptername adaptername |
Lists the devices attached to adaptername where adaptername is the name of a SCSI adapter (for example, scsi1). |
-id |
Lists all the SCSI devices that are not adapters on the system. |
-idname name |
Lists all the SCSI devices that are siblings of name where name is the name of a SCSI device
that is not an adapter (for example, hdisk0). |
-identify name |
Sets the name in identify mode where name is a disk attached to a backplane (for example, hdisk0). |
-idscsi location
code |
Lists all the SCSI devices that have the same parent as the device
for which the location code was provided. The device
is not an adapter. |
-normal name |
Sets the name to normal from identify, or remove
where name is a disk attached to a backplane (for
example, hdisk0). |
-remove name |
Sets the name in remove mode where name is a disk attached to a backplane (for example, hdisk0). |
Examples
- /usr/lpp/diagnostics/bin/uscsicfg -adaptername scsi0
backplane ses0 10-60-00-15,0 bank slot box power
hdisk0 10-60-00-8,0 U 1 SYSTEM on
cd0 10-60-00-3,0
- /usr/lpp/diagnostics/bin/uscsicfg -idname cd0
backplane ses0 10-60-00-15,0 bank slot box power
hdisk0 10-60-00-8,0 U 1 SYSTEM on
cd0 10-60-00-3,0
- /usr/lpp/diagnostics/bin/uscsicfg -identify hdisk0
- /usr/lpp/diagnostics/bin/uscsicfg -identify hdisk0
Files
/usr/lpp/diagnostics/bin |
Contains the uscsicfg command. |
Related Information
The diag command.
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]