1834804 Members
2207 Online
110070 Solutions
New Discussion

Device Busy at CD-Mount

 
SOLVED
Go to solution
Kevin_194
Advisor

Device Busy at CD-Mount

Hi,

I want to mount the internal CD-Drive to /tmp.
I use the Command:
mount /dev/dsk/c0t0d0 /tmp
but I get:
/dev/dsk/c0t0d0: Device Busy

What is Wrong?
How can I umount it?

Thanks for replay.
Kevin
6 REPLIES 6
Mark Grant
Honored Contributor
Solution

Re: Device Busy at CD-Mount

Kevin,

The chance of you successfully mounting anything on /tmp is really small. A mount will fail if any process has a file open within the mount point and lots of things have files open in /tmp.

Also, if you managed to mount a CD on /tmp any application running that needed to open a tempory file would fail because of the read only nature of CD's.

In a nutshell then, it's not a good idea to mount a CD on /tmp.

Never preceed any demonstration with anything more predictive than "watch this"
T G Manikandan
Honored Contributor

Re: Device Busy at CD-Mount

The OS and application programs generate lot of temporary files which are taken care by the /tmp file system.

This file system is already mounted.

Please mount it on a different dir like
/SD_CDROM

Just do a
#scan -fnC disk

find out the logical device path of CDROM

#mount /SD_CDROM

Revert
Zigor Buruaga
Esteemed Contributor

Re: Device Busy at CD-Mount

Hi,

First check with "bdf" if /tmp is already mounted ( normally yes ).
Also I would suggest to create a new dir "mkdir /cdrom" as mount point for your CD-ROM.

Then run "/usr/sbin/mount -o ro -F cdfs /dev/dsk/c0t0d0 /cdrom"

Hope this helps.
Kind regards,
Zigor
Kevin_194
Advisor

Re: Device Busy at CD-Mount

Thanks for replay,

I maked /cdrom
but with this directory I have still the same problem:

mount /dev/dsk/c0t0d0 /cdrom
/dev/dsk/c0t0d0: device busy

Kevin
Mark Grant
Honored Contributor

Re: Device Busy at CD-Mount

Make sure you are not in /cdrom when you try and mount the CD,

Make sure the CD is not mounted somewhere else already.

Also, have you previously done a pfs_mount without doing a pfs_umount then you will have to do a pfs_umount -c /dev/?????? for your CD device
Never preceed any demonstration with anything more predictive than "watch this"
Robert-Jan Goossens
Honored Contributor

Re: Device Busy at CD-Mount

Hi Kevin,

What kind of cdrom player is installed into you system ( LITEON ????)

# ioscan -fnCdisk | grep LITEON

Take a look at next link,

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x9ecdd7d96cbad711900a0090279cd0f9,00.html

Hope it helps,

Robert-Jan.