Operating System - HP-UX
1855834 Members
1881 Online
104107 Solutions
New Discussion

Can't mount cdrom drive on HP C3600.

 
will admin
Occasional Contributor

Can't mount cdrom drive on HP C3600.

I have four C3600's and they all get the same error. Device busy when I try to mount the cdrom drive as seen below where I cut and pasted.
I've already tried unmounting and I suspect another process is 'occupying' the drive.

# pwd
/
# mount /dev/dsk/c0t0d0 /cdrom
/dev/dsk/c0t0d0: Device busy
#
#
# ps -ef | grep mount
root 1891 1 0 May 22 ? 0:00 /usr/sbin/rpc.mountd
root 945 1 0 May 22 ? 0:01 /usr/lib/netsvc/fs/automount/aut
omount -f /etc/auto_master
#
9 REPLIES 9
Patrick Wallek
Honored Contributor

Re: Can't mount cdrom drive on HP C3600.

I hate to ask the obvious question, but are you sure that c0t0d0 is the CD-ROM drive?

# ioscan -kfnC disk

# diskinfo /dev/rdsk/c0t0d0
Helen French
Honored Contributor

Re: Can't mount cdrom drive on HP C3600.

Is the device file correct?:

# ioscan -fn
# ioscan -fnC disk
Life is a promise, fulfill it!
will admin
Occasional Contributor

Re: Can't mount cdrom drive on HP C3600.

This is the output I get...
(sorry for the formating)

# ioscan -kfnC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 10/0/14/0.0.0 sdisk CLAIMED DEVICE LITEON CD-ROM LTN485
S
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
Patrick Wallek
Honored Contributor

Re: Can't mount cdrom drive on HP C3600.

Hmmm....OK, what do you get if you do

# fuser /dev/dsk/c0t0d0

If you do a 'bdf' the cdrom isn't already mounted somewhere else is it?
Helen French
Honored Contributor

Re: Can't mount cdrom drive on HP C3600.

I would check if the CD is mounted already OR if the drive is working (h/w) failures OR if the CD media is working?

If you suspect h/w, then check cables, termination, drive etc.
Life is a promise, fulfill it!
will admin
Occasional Contributor

Re: Can't mount cdrom drive on HP C3600.

The fuser command yields this...

# fuser /dev/dsk/c0t0d0
/dev/dsk/c0t0d0:
PIYUSH D. PATEL
Honored Contributor

Re: Can't mount cdrom drive on HP C3600.

mount -o cdcase /dev/dsk/c0t0d0 /cdrom

Your fstab should not have an entry for cdrom. Any filesystem/device mentioned in /etc/fstab gets mounted automatically during boot. Are you trying to mount the cdrom automatically during the system boot. If not then remove the entry from fstab.

What application CD is this ??

HTH,
Piyush
Rajesh G. Ghone
Regular Advisor

Re: Can't mount cdrom drive on HP C3600.

Hi,
you can try #fuser -c /dev/dsk/c0t0d0 initially to see weather any thing is opened or not,or else you can try giving #fuser -u /dev/dsk/c0t0d0 to see any user is holding that mount point & after that you can give
#fuser -k /dev/dsk/c0t0d0 to kill all the process.

Regards,
Rajesh G.

Rajesh Ghone
Robert-Jan Goossens
Honored Contributor

Re: Can't mount cdrom drive on HP C3600.

Hi,

Check

# diskinfo -v /dev/rdsk/c0t0d0
if the cdrom is connected.

# ps -ef | grep pfs
if pfs deamons are using the cdrom

and check if below patch is loaded.

http://www5.itrc.hp.com/service/cki/patchDocDisplay.do?patchId=PHKL_27224
There are some dependencies !
and if you have 11.11 you need to load.
PHKL_27225

Hope it helps,

Robert-Jan.