Operating System - HP-UX
1837540 Members
3588 Online
110117 Solutions
New Discussion

Mounting CDROM fails "/dev/dsk/c2t2d0: Device busy" errors.

 
SOLVED
Go to solution
Gino Castoldi_2
Honored Contributor

Mounting CDROM fails "/dev/dsk/c2t2d0: Device busy" errors.

Mounting CDROM fails with "/dev/dsk/c2t2d0: Device busy" error message.

Model: 9000/821/D250 HP-UX 11.00

root# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 8/0.4.0 sdisk CLAIMED DEVICE HP C2490WD
/dev/dsk/c0t4d0 /dev/rdsk/c0t4d0
disk 1 8/0.6.0 sdisk CLAIMED DEVICE HP C2490WD
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
disk 2 8/4.5.0 sdisk CLAIMED DEVICE SEAGATE ST39236LC
/dev/dsk/c1t5d0 /dev/rdsk/c1t5d0
disk 3 8/4.8.0 sdisk CLAIMED DEVICE SEAGATE ST32550W
/dev/dsk/c1t8d0 /dev/rdsk/c1t8d0
disk 4 8/16/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-
5401TA /dev/dsk/c2t2d0 /dev/rdsk/c2t2d0

I rebooted the server and I still get the same problem, nothing else is accessing the cdrom drive (that I can tell). The syslog.log file has no information or errors.
I brought the machine down to single-user mode and I unmounted /var so that only "/" and "/usr" are mounted and I get the same error messages as before.

Mount command I'm using:
root# mount /dev/dsk/c2t2d0 /cdrom

Any ideas as to what the problem is?

(10 points to any good answer).
Thank you Gino Castoldi
3 REPLIES 3
Ian Dennison_1
Honored Contributor
Solution

Re: Mounting CDROM fails "/dev/dsk/c2t2d0: Device busy" errors.

fuser -c /dev/dsk/c2t2d0

First check that another process (automounter?) is not using the drive? Are you in the actual directory (pwd = /dev/dsk/ct2d0 or /dev/cdrom?).

Share and Enjoy. Ian
Building a dumber user
Carlo Henrico_1
Regular Advisor

Re: Mounting CDROM fails "/dev/dsk/c2t2d0: Device busy" errors.

1. Check your fstab whether there is nothing being mounted there automatically.

2. All else fails, create another mountpoint (/cd) and see if that works..

Cheers

Carlo
Live fast, die young - enjoy a good looking corpse!
Insu Kim
Honored Contributor

Re: Mounting CDROM fails "/dev/dsk/c2t2d0: Device busy" errors.

# mount -r /dev/dsk/c2t2d0 /cdrom
or suspect that CDROM is bad.
Never say "no" first.