Determine the CD-ROM device target id in Solaris

Home -> UNIX -> Solaris -> System administration

10393 views

From the computer of: qmchenry (337 recipes)
Created: Jan 30, 2004


Add a comment

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

Different Sun platforms have different default device targets for the CD-ROM drive. This simple command will display the drives in the system and allow you to easily determine the CD-ROM target id.

Run the command:

iostat -En


In the output, the description of the product usually contains CD. In the following example output, the CD-ROM target id is c0t3d0:

c0t2d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Model: ST340014A Revision: 3.04 Serial No: 5JX5DHHF
Size: 40.02GB <40018206720 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0
c0t3d0 Soft Errors: 2 Hard Errors: 0 Transport Errors: 0
Vendor: TEAC Product: CD-224E Revision: P.9A Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 2 Predictive Failure Analysis: 0

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:

  Solaris: unmounting a filesystem with umount
  Troubleshoot SCSI devices with probe-scsi-all
  Solaris/SPARC: remove a devalias with nvunalias
  Determine if Solaris is running in 32 or 64 bit mode
  Solaris/SPARC: create a devalias with nvalias
  Determine the run level of a Solaris system
  Solaris: disk usage of all users on a filesystem
  Mount an ISO image on a Solaris filesystem with lofiadm
  Serial communication to a console from Solaris using tip
  Solaris 10: Create multi-terabyte UFS filesystem

 

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.