Tips for Linux / Unix Systems Administrator

How to un-mount the unresponsive media drive

First, let’s simulate it. Stick a disk in your CD/DVD drive, open up a terminal, and mount the CD/DVD drive. If your system automatically mount, then you can skip the mounting part.

root@server:~# mount /media/cdrom
root@server:~# cd /media/cdrom
root@server:~# while [ 1 ]; do echo "All your drives are belong to us!"; sleep 30; done

Now lets open up a second terminal and try to eject the media drive:

root@server:~# eject

Read More