1748061 Members
5508 Online
108758 Solutions
New Discussion юеВ

can't umount cdrom

 
eric_204
Frequent Advisor

can't umount cdrom

I meet this problem for many times already, could suggest how can I umount the cdrom . thx in advance.

# umount /mnt/cdrom
umount: /mnt/cdrom: device is busy
# lsof /mnt/cdrom
# fuser /mnt/cdrom
/mnt/cdrom:
No process references; use -v for the complete list
# fuser -v /mnt/cdrom

USER PID ACCESS COMMAND
/mnt/cdrom root kernel mount /mnt/cdrom
14 REPLIES 14
Alexander Chuzhoy
Honored Contributor

Re: can't umount cdrom

Did you try: umount -l /mnt/cdrom
Mark Grant
Honored Contributor

Re: can't umount cdrom

Personally, I think think the "mount -l" option could become more irritating than it's worth.

Do you have an automountin CDROM?

Never preceed any demonstration with anything more predictive than "watch this"
eric_204
Frequent Advisor

Re: can't umount cdrom

thd , but I tried "-l" , it pop "no such option" , please advise .
Steven E. Protter
Exalted Contributor

Re: can't umount cdrom

reboot the unit, eject the cd while the server/computer is resetting.

The most common cause of this is an open process on the cdrom

In HP-UX the command to break that is fuser -cuk /mount_of_cdrom

9 times out of 10 you terminate yourself in that process.

While doing an install cd /cdrom instead of /cdrom/runInstaller from somewhere else.

That sort of thing.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alexander Chuzhoy
Honored Contributor

Re: can't umount cdrom

Does the "eject" command works?
eric_204
Frequent Advisor

Re: can't umount cdrom

thx reply , the command "eject" is not work in my case . On the other hand , except reboot the server , what can I do ? thx.
eric_204
Frequent Advisor

Re: can't umount cdrom

I don't want to reboot the system , is there other suggestion ? thx.
Cristian Draghici
Frequent Advisor

Re: can't umount cdrom

What if you press the eject button on the CDROM unit?

Is the CD ejected?

K.C. Chan
Trusted Contributor

Re: can't umount cdrom

Have you check to make sure there are no process accessing /mnt/cdrom, try using fuser -u /mnt/cdrom. If there are any processes accessing /mnt/cdrom, you can use fuser -k options to kill it, then try umounting /mnt/cdrom.
Reputation of a thousand years can be determined by the conduct of an hour