Troubleshoot SCSI devices with probe-scsi-all

Home -> UNIX -> Solaris -> System administration

28742 views

From the computer of: qmchenry (339 recipes)
Created: Sep 26, 2003


Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

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 is 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, for example:

/pci@1f,2000/scsi@1
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

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.





Related recipes:

  Enable/configure FC-AL/SAN devices with cfgadm in Solaris
  Solaris: Delete ZFS slices from a disk
  Display Solaris system configuration with prtconf
  How to make Solaris reject remote logging
  Reconfiguration boot in Solaris
  Display Solaris swap information
  Solaris software RAID
  Get detailed Solaris memory information with prtdiag
  Safely change the Solaris superuser login shell
  Solaris: Create a mount point

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.