System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Device busy, but is not true

RNC
Frequent Advisor

Device busy, but is not true

Hello all,

I want to mount a disk in the cd-rom to my hp-ux, and I obtain the next error:

/dev/dsk/xxxxxx : Device busy

But it'snt correct, who can I see if the device is busy, or what proceess is the problem?

Thanks in advanced

 

 

P.S. This thread ahs been moved from General to HP-UX > sysadmin. - Hp Forum MOderator

6 REPLIES
Ivan Ferreira
Honored Contributor

Re: Device busy, but is not true

Device busy can be also the target mount point.

You can use the fuser command to list the process that are accessing to a file/directory.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
James George_1
Trusted Contributor

Re: Device busy, but is not true

Its possible that you are not mounting the right disk . Make sure you are mounting the CD ROM drive disk to the /cdrom directory .
So do

# ioscan -fnC disk

and find out the device name for the CD/DVD drive and then do

# mount /dev/dsk/cXtXdX /cdrom

Rgds / James
forum is for techies .....heaven is for those who are born again !!
Luk Vandenbussche
Honored Contributor

Re: Device busy, but is not true

Have you tried to mount with another media?
RNC
Frequent Advisor

Re: Device busy, but is not true

Hello,

I do the test whit fuser , and all is ok, i do the test to mount, and give the same error.
V. Nyga
Honored Contributor

Re: Device busy, but is not true

Hi,

maybe it's automounting?
Check with bdf if it's mounted.

By the way - which hardware, os do you have?

Volkmar
*** Say 'Thanks' with Kudos ***
Paul Maglinger
Regular Advisor

Re: Device busy, but is not true

Sometimes I've had problems similar to this and corrected by unmounting the directory (just to make sure), then deleting the /cdrom directory, recreating it and the remounting it.