cdrom will not eject


 
Thread Tools Search this Thread
Operating Systems Solaris cdrom will not eject
# 1  
Old 09-24-2003
cdrom will not eject

Hi I have placed a CD into the rom and now I can not eject it.

when i type in

eject cdrom i get the follwing error

root@ssdb0009 # eject cdrom
/vol/dev/rdsk/c0t6d0/dp_a0500_solaris_7_and_8_cd: Device busy

Therefore i try and eject it with the -f option (eject -f cdrom) I still get the device is busy

I stop the volume mgr and try then but stil not working.

do i need a reboot ??
# 2  
Old 09-24-2003
.............

hiho,

are you sure that no application tries to read the cdrom (perhaps another shell? )
perfom:

# cd /
# eject

killing the automountd means you have to umount the device yourself

# umount /dev/dsk/c0t6d0s0
<push the eject button>

greetings Preßy
# 3  
Old 09-24-2003
Hi denisca,

Unix never lies. It realy means the device is busy. It can have several causes. Your current working directory resides on the mounted CD. Or maybe your previous ksh still resides in there. fuser -cu /SD_CDROM should tell you more. This shows you the current runnning prcesses on this FS. ps -ef and than look for possible processes running on this FS might clear out some as well.
It is very important to first make sure all processes have stopped on this FS before stoppping and restarting mountd.

Good luck

Regs David
# 4  
Old 09-26-2003
Well without talking about anything else try by unmounting the cdrom and then eject.Smilie
# 5  
Old 09-27-2003
I have seen problems on Soalris often (especially with Oracle CDs for some reason) where vold gets messed up and no matter what you do you cannot eject the CD. There are 2 options I use:

1. Stop and restart vold:

#/etc/init.d/volmgt stop
#/etc/init.d/volmgt start
#eject


2. Reboot.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Trying to eject cdrom

The green cdrom light is blinking on our Sun Solaris server. I tried the eject command to eject cdrom: eject cdrom cdrom: No such file or directory bash-2.05# eject No default media available bash-2.05# eject cdrom0 cdrom0: No such file or directory The message log file shows: Oct 19... (6 Replies)
Discussion started by: agarcia19
6 Replies

2. Solaris

How to eject boot cdrom after booting from it?

Hey everyone, I currently have a sparcstation 5, and am trying to run some scripts on it without booting off the hard drive. Currently I am using a Solaris 8 install cd to boot into single user mode. However, the scripts I have are on a different CD. What I would like to do is to use the... (6 Replies)
Discussion started by: idlechatter
6 Replies

3. Solaris

CDROM will not eject - says device busy

Hi, I've seen similar posts on this board about ejecting CDROMs but I've tried the solutions people suggested but still cannot eject the CD. It's stuck in a production box so I can't reboot it... bash-3.00# eject -f cdrom /vol/dev/dsk/c0t0d0/sol_10_106_sparc/s0: Device busy bash-3.00#... (14 Replies)
Discussion started by: jimmy54321
14 Replies

4. Filesystems, Disks and Memory

eject virtual tape

Hi i´m working with aix 6.1 and DL4100 (virtual tape library from EMC) and i makes backups (mksysb) into virtual drive (virtual standalone drive). I need eject de tape when backup is finished and I don't now what command use. Thanks for your help. The commands mt and tctl doesn't works.... (0 Replies)
Discussion started by: wolaf
0 Replies

5. AIX

eject dvd/cd

does someone knows how to eject a dvd/cd device? thx (2 Replies)
Discussion started by: jcpetela
2 Replies

6. Solaris

SF V210 CDROM drive auto eject!

Hi, When I insert a cd to CDROM drive in SF V210 Solaris 10 it took seconds then eject it auto! How can I solve this issue? Thanks Regards :) (8 Replies)
Discussion started by: HishamN
8 Replies

7. AIX

Eject CDROM?

Now i have a prolem! I double click on my zip file from cdrom. System can not read my zip file and i can not eject my cdrom. How can i manage process and can i end a process or how can i eject my cdrom? please have me! thanks (4 Replies)
Discussion started by: leenguyen0101
4 Replies

8. Solaris

Tape eject using nsrjb

We have just got a Sun L8 tape library and I was trying to script a couple of things. One was to eject (export) a tape from the machine. nsrjb seems to have an enormous amount of options but this is one thing I have not been able to do. Anybody ever managed to do it? Cheers (1 Reply)
Discussion started by: Argus
1 Replies

9. Shell Programming and Scripting

eject floppy messages

Anyone know if there is a way to keep the "/dev/floppy/... can now be ejected" messages from coming up on the screen? I'm using Solaris 8 and it pops a message up, which is fine, but it also writes text in the terminal session... that is what I'm trying to avoid. I have tried running in silent... (4 Replies)
Discussion started by: Serious_Lee
4 Replies

10. UNIX for Dummies Questions & Answers

Eject Tape

Hi, I'm using AIX and I'm looking for a command that can eject the tape. Any help is highly appreciated. Regards, BS (3 Replies)
Discussion started by: bbhavis
3 Replies
Login or Register to Ask a Question