HomeSolarisSolaris system administrationTroubleshoot SCSI Devices with Probe-scsi-all

Troubleshoot SCSI Devices with Probe-scsi-all

If you experience trouble with SCSI devices, one of the best ways to determine if the host hardware can see the SCSI hardware is with probe-scsi-all. This recipe describes a procedure to use this command.


The probe-scsi-all is a bootprom command that is not available in the Solaris operating enviroment. To use it, you must be at the ok prompt. To access this prompt, you must be consoled into the computer through a serial interface or the RSC (remote system control) card, if present. Once you have access to the system console, the safest way to get to this prompt is to use the init command in Solaris:

sync; sync; init 0

This will change the system’s run level to 0 (bootprom) shutting down processes gracefully. At this point, the system has not restarted. To avoid serious problems, it is best to restart the system before running probe-scsi-all. Since you need to be at the ok prompt after rebooting, set the auto-boot? environment variable to false and reboot:

setenv auto-boot? false
reset-all

You will be able to see the system restart and should get back to the ok prompt. Now you can issue the command:

probe-scsi-all

The output of this command will show you all of the SCSI devices that the host system can see and their device paths. Note the following example:

/[email protected],2000/[email protected]
Target 0
Unit 0 Removable Tape QUANTUM DLT7000 2150
Target 1
Unit 0 Removable Device type 8 HP C6280-7000 2.00

Before you reboot your system, you must reset the auto-boot? variable to true:

setenv auto-boot? true
reset-all

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular

Recent Comments

Cleveland Furia on How to Clear Google Activity
Sid Wohlfarth on How to Clear Google Activity
Riley Magsayo on How to Clear Google Activity
สมัครรับเครดิตฟรี ทันที on How to improve Remote Desktop Protocol Performance
Neal Wangstad on How to Clear Google Activity
Slavcho Andov on How to install Ubuntu
Slavcho Andov on How to fix bad sectors
Sheraz Ali on How to Backup Android