Operating System - HP-UX
1834925 Members
2332 Online
110071 Solutions
New Discussion

Problem mounting my cdrom

 
KURT HARLESS
Advisor

Problem mounting my cdrom

Greetings,

Trying to mount my cdrom on a K-580, running 11.0.

Issue a "mount /cdrom" and receive the following message;
/dev/dsk/c4t2d0: Device busy

No users are attached to the drive.
How can I tell what's going on?

Additional information;

I have no entry in my mnttab file for the cdrom

I have an entry in my fstab file for the cdrom;
/dev/dsk/c4t2d0 /cdrom cdfs ro,suid 0 0

I tried to issue the following command as well;
mount -F cdfs /dev/dsk/c4t2d0 /cdrom
/dev/dsk/c4t2d0: Device busy

Any ideas?

Thanks

Kurt
"We've come too far, for too long and done too little too much..!"
7 REPLIES 7
Patrick Wallek
Honored Contributor

Re: Problem mounting my cdrom

This may be a silly question, but have you tried doing a umount /cdrom to try and unmount and then try remounting the CD?

KURT HARLESS
Advisor

Re: Problem mounting my cdrom

of course... Receive the following message;
# umount /cdrom
umount: cannot find /cdrom in /etc/mnttab
cannot unmount /cdrom
"We've come too far, for too long and done too little too much..!"
Ajitkumar Rane
Trusted Contributor

Re: Problem mounting my cdrom

Try fuser -ku /cdrom. This should kill any proccess attached to it.But first does /cdrom show up in bdf? If yes whats the content. If some application CD is mounted using the pfs command then you need to use pfs_umount.

Hope this helps

Good luck.
Amidsts difficulties lie opportunities
James A. Donovan
Honored Contributor

Re: Problem mounting my cdrom

I've had similar problems in the past. Try this:

mkdir /xcdrom
mount /dev/dsk/c4t2d0 /xcdrom

If this succeeds, then

umount /xcdrom
rm /cdrom ---don't ask me why, it just worked.
mkdir /cdrom
mount /dev/dsk/c4t2d0 /cdrom

Remember, wherever you go, there you are...
Dan Hetzel
Honored Contributor

Re: Problem mounting my cdrom

Hi Kurt,

Do you have pfsd and pfs_mountd running?
If this is the case, it could prevent from mounting a cdrom and report a "device busy" ?

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
KURT HARLESS
Advisor

Re: Problem mounting my cdrom

Replies:

Rane: Results for fuser -u /cdrom
# fuser -u /cdrom
/cdrom:

#
So I take that as no active connections to this resource.

Donovan:
# mkdir /xcdrom
# mount /dev/dsk/c4t2d0 /xcdrom
/dev/dsk/c4t2d0: Device busy
Still busy...

Hetzel:
# ps -ef | grep pfs
root 2026 14853 1 08:24:05 pts/t2 0:00 grep pfs

No indication of any pfs*

Still puzzled....
Should I have an entry in my mnttab for my cdrom? If so, Anyone know what it should look like?

About ready to boot the box this weekend if all else fails...

Thanks for the continued support.

Kurt
"We've come too far, for too long and done too little too much..!"
KURT HARLESS
Advisor

Re: Problem mounting my cdrom

OK I AM AN IDIOT!

Apparently, I need to have a CD in the drive before I mount it! Duuuuuu

Thanks all
"We've come too far, for too long and done too little too much..!"