1846545 Members
2279 Online
110256 Solutions
New Discussion

Error mounting CDROM

 
SOLVED
Go to solution
dictum9
Super Advisor

Error mounting CDROM

This is on 11iv2. I keep getting this error even after rebooting the machine. Any idea what's going on?


# /usr/sbin/mount -F cdfs -o rr /dev/dsk/c0t0d0 /SD_CDROM
mount: /dev/dsk/c0t0d0 on /SD_CDROM : Device busy




19 REPLIES 19
Steven E. Protter
Exalted Contributor

Re: Error mounting CDROM

Shalom,

There is a process open on it.

fuser -u /SD_CDROM

-uk should kill it and permit mounting.

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
Carlos Roberto Schimidt
Regular Advisor

Re: Error mounting CDROM

HI,

You tried run fuser in directory for looking for any process?

# fuser /SD_CDROM
Torsten.
Acclaimed Contributor

Re: Error mounting CDROM

Please check your /etc/fstab file. Perhaps there is an entry to mount the device and the system will mount the drive while booting. Check output of mount also.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
dictum9
Super Advisor

Re: Error mounting CDROM

I had this problem on another machine, and what you said helped there, but not here. I think it's a different issue. Hardware related maybe? Ioscan -funC disk reads just fine.

# fuser -u /SD_CDROM
/SD_CDROM:

# fuser -ku /SD_CDROM
/SD_CDROM:

# /usr/sbin/mount /dev/dsk/c0t0d0 /SD_CDROM/
mount: /dev/dsk/c0t0d0 on /SD_CDROM : Device busy
dictum9
Super Advisor

Re: Error mounting CDROM


Nothing unusual in either /etc/fstab file or mount output.

I wonder if I should reseat the CDROM drive, I cannot think of any other issues. I rebooted the machine and still getting the same thing. Something is wrong.
gigiz
Valued Contributor

Re: Error mounting CDROM

cd /
fuser -cu /SD_CDROM
fuser -ku /SD_CDROM
umount /SD_CDROM
mount /dev/dsk/c0t0d0 /SD_CDROM

dictum9
Super Advisor

Re: Error mounting CDROM

# fuser -cu /SD_CDROM
/SD_CDROM: fuser: could not find file system mounted at /SD_CDROM.
# fuser -ku /SD_CDROM
/SD_CDROM:

# umount /SD_CDROM
umount: cannot find /SD_CDROM in /etc/mnttab
cannot unmount /SD_CDROM
# mount /dev/dsk/c0t0d0 /SD_CDROM
mount: /dev/dsk/c0t0d0 on /SD_CDROM : Device busy



Arunvijai_4
Honored Contributor

Re: Error mounting CDROM

Hello,

Just a thought: You can try with rockridge extensions,

http://www5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHKL_32035&context=hpux:800:11:11

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Robert-Jan Goossens
Honored Contributor

Re: Error mounting CDROM

could you post the output of

# ioscan -fnCdisk

Regards,
Robert-Jan
V. Nyga
Honored Contributor

Re: Error mounting CDROM

Hi,

do an ioscan and
what does 'bdf' says?

Volkmar
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: Error mounting CDROM

There should be a space between C and disk:
ioscan -fnC disk
(Sorry RJ) :-)

But it seems like you use the wrong device file.
So ioscan and bdf should show more.

V.
*** Say 'Thanks' with Kudos ***
dictum9
Super Advisor

Re: Error mounting CDROM


I am using /dev/dsk/c0t0d0 device to mount onto /SD_CDROM


# ioscan -fnC disk

Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 4 0/1/1/1.8.0 sdisk CLAIMED DEVICE HP 73.4GST373207LC
/dev/dsk/c3t8d0 /dev/rdsk/c3t8d0
disk 5 0/1/1/1.10.0 sdisk CLAIMED DEVICE HP 73.4GST373207LC
/dev/dsk/c3t10d0 /dev/rdsk/c3t10d0
disk 6 0/1/1/1.12.0 sdisk CLAIMED DEVICE HP 73.4GST373207LC
/dev/dsk/c3t12d0 /dev/rdsk/c3t12d0
V. Nyga
Honored Contributor
Solution

Re: Error mounting CDROM

Hi again,

create a new directory /SD_CDROM1 or just /test and try to mount to this directory.
If this doesn't work, then I think your CDROM is gone.

Volkmar
*** Say 'Thanks' with Kudos ***
dictum9
Super Advisor

Re: Error mounting CDROM

Already tried that to no avail.
James A. Donovan
Honored Contributor

Re: Error mounting CDROM

Will the cd mount if you leave of the "-o rr" part of your command?

i.e.,

# usr/sbin/mount -F cdfs /dev/dsk/c0t0d0 /SD_CDROM
Remember, wherever you go, there you are...
Sandman!
Honored Contributor

Re: Error mounting CDROM

Hi...what's is the output of

# diskinfo -v /dev/rdsk/c0t0d0

cheers!
Carlos Roberto Schimidt
Regular Advisor

Re: Error mounting CDROM

/SD_CDROM is configured for automount?

If you can mount cd on other directory, i think you have configured automount for your cd.

If you run "ls -l /SD_CDROM" have any output?
Robert-Jan Goossens
Honored Contributor

Re: Error mounting CDROM

TEAC cdrom, there is a patch for this cdrom player(PHKL_27224)

http://www4.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHKL_27224&context=hpux:800:11:00

Best regards,
Robert-Jan
Robert-Jan Goossens
Honored Contributor

Re: Error mounting CDROM

Sorry just read your initial post 11iV2. Try to recreate the device files for your cdrom.

/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
# mv /dev/dsk/c0t0d0 /tmp/
# mv /dev/rdsk/c0t0d0 /tmp/
# insf -e

# ioscan -fnCdisk
# mkdir /cdrom
# mount -F cdfs -o rr /dev/dsk/cxtydz /cdrom

Regards,
Robert-Jan