Sponsored Content
Full Discussion: eject dvd/cd
Operating Systems AIX eject dvd/cd Post 302254816 by bakunin on Wednesday 5th of November 2008 08:23:05 AM
Old 11-05-2008
Hmmm....

Ever tried the "cdeject" command to eject a cd? See the man page on how to use it.

Save for this (obvious) solution there might be several problems which could prevent a CD drive to eject its content:

1. CD is still mounted
If the filesystem on the medium is still mounted the drive won't eject it. Umount it first (man umount), then eject it.

2. Unable to umount
In case you already tried 1. and didn't succeed in umounting it (probably with a "device busy" error): search for processes still accessing the filesystem and kill them. Also often seen: if your current path is somewhere on the CD-ROM drive your own login shell is the process "accessing" the filesystem - do a "cd /somewhere/else" to remedy that, tehn umount again.

3. Hardware broken
Sometimes (very rarely, but it happens) the drives hardware is simply broken (or the drive been cut off from power) and it won't eject the medium therefore. Unbend a paper-clip (or use some similar device) and push into the tiny hole in front of the drive. This will unlock the spring inside and eject the drawer.

I hope this helps.

bakunin
 

5 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. UNIX and Linux Applications

unable to open the MRL 'dvd:///dev/dvd'

I am getting an error similar to this when I try to watch dvd's. Every program has a similar version of this. unable to open the MRL 'dvd:///dev/dvd'For VLC I have found a way to fix it. CD/DVD Drive not working VLC error (SOLVED) (Page 1) - Help & Support (Stable) - CrunchBang Linux Forums... (0 Replies)
Discussion started by: cokedude
0 Replies

5. AIX

Using mkdvd to create bootable mksysb on dvd reports success but nothing on dvd?

Hello, Running AIX 7.1 7100-00-03-1115, trying to make a mksysb image to a dvd drive using mkdvd. My final command looks like this.. mkdvd -e -V rootvg -R -C /usr1/AIXADMIN/mkcd/cd_fs -I /usr1/AIXADMIN/mkcd/cd_images -M /usr1/AIXADMIN/mkcd/mksysbimage -d /dev/cd0 -Y When i run this... (3 Replies)
Discussion started by: c3rb3rus
3 Replies
rmmount(1)							   User Commands							rmmount(1)

NAME
rmmount, rmumount - mounts and unmounts removable media SYNOPSIS
rmmount [-u] [-o options] [nickname | device] [mount_point] rmmount [-d] [-l] rmumount [nickname | mount_point | device] rmumount [-d] [-l] DESCRIPTION
The rmmount and rmumount utilities mount and unmount removable or hot-pluggable volumes. The optional argument can identify the volume by its volume label, mount point or block device path. rmmount can also take additional mount options if the user has sufficient privileges to override the default mount options. Unmounting removable media does not result in its ejection. Use eject(1) to optionally unmount and eject the media. OPTIONS
The following options are supported for rmmount and rmumount: -d Display the device path of the default device. This device is used if no arguments are supplied. -l Display the paths and nicknames of mountable devices. The following options are supported for rmmount only: -o options Display mount options. This option can only be used by users that have privileges to override the system default options. -u Unmounts the volume as opposed to mounting it. OPERANDS
The following operands are supported: device Specifies which device to mount or unmount, by the name it appears in the directory /dev. mount_point Specifies which device to mount or unmount, by the name it appears in the directory /dev. nickname Specifies which device to mount or unmount, by its nickname as known to this command. EXAMPLES
Example 1 Mounting a USB disk The following example mounts a USB disk with a volume label of PHOTOS: example% rmmount PHOTOS Example 2 Unmounting a pcfs Volume The following example unmounts a pcfs volume by device path: example% rmumount /dev/dsk/c4t0d0p0:1 EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/media Default mount root. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWrmvolmgr | +-----------------------------+-----------------------------+ |Interface Stability |Uncommitted | +-----------------------------+-----------------------------+ SEE ALSO
eject(1), attributes(5) SunOS 5.11 18 Sep 2006 rmmount(1)
All times are GMT -4. The time now is 12:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy