Solaris Common Messages and Troubleshooting Guide

device busy

Cause

You eject cdrom and you receive the message device busy. This could be the result of a number of problems. Below is a list of things that you can check and do to allow ejection of the cd from the device.

Action

Ensure that the current directory is not somewhere in the CD:


 % cd
 %eject cdrom

Step B: As root


# cd /etc/init.d
# ./volmgt stop
# eject cdrom 
If this works

# ./volmgt start 
If this does not work go to step B.

Step C: As root


# fuser /cdrom  
Kill any processes that you feel that you have already terminated. A note of caution: If this is a nfs-mounted cdrom and there are other users who access this drive, make sure you know what process you are killing and why.

# ./volmgt stop
#  ps -ef | grep vold 
If vold still exists kill the process.

#  eject cdrom 
If this does not work:

#  cd /vol 
Make sure that dev, dsk, rdsk, rmt are in the directory. If not, most possibly your /vol directory is corrupt and a reboot may be needed for proper rebuild.

Step D: The last three options are: 1) Reboot. 2) If the cd drive is external to the system, try power cycling the drive and pressing the eject button. 3) If all else fails and the cdrom is external, on the right hand side of the eject button is a small hole into which you can insert a small straight device which forces manual ejection of the caddy.