Operating System - HP-UX
1748054 Members
4980 Online
108758 Solutions
New Discussion юеВ

Unable to mount cdrom, device busy

 
George_Dodds
Honored Contributor

Unable to mount cdrom, device busy

I've got a problem with a few itanium servers running 11.22 where i cant mount the cdrom,

Different cd's/dvd's have been tried including HPUX install dvd's.


Checked BDF and cdrom is not mounted.

Below is a few other things i've checked.

disk 0 0/0/3/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0

# / : # mount -F cdfs /dev/dsk/c0t0d0 /cdrom
/dev/dsk/c0t0d0: Device busy

# / : # fuser /dev/dsk/c0t0d0
/dev/dsk/c0t0d0:

# / : # diskinfo -v /dev/dsk/c0t0d0
diskinfo: can't open /dev/dsk/c0t0d0: Device busy

# / : # ls -ltr
drwxrwxrwx 2 root sys 96 Mar 9 2005 cdrom

Created a new directory /cdrom1 and tried to mount that with no success


Checked /etc/mnttab and no entries found

# /dev/dsk : # ls -ltr
total 0
brw-r----- 1 bin sys 31 0x000000 Mar 9 2005 c0t0d0

mayday1: /dev/rdsk : # ls -ltr
total 0
crw-r----- 1 bin sys 188 0x000000 Mar 9 2005 c0t0d0


Tried psf_mount on the offchance.

# /usr/sbin/pfs_mount -t rrip -o xlat=unix /dev/dsk/c0t0d0 /cdrom
pfs_mountd.rpc: Can't open /dev/dsk/c0t0d0: Device busy
/usr/sbin/pfs_mount: /dev/dsk/c0t0d0 on /cdrom: open failed: Device busy
/usr/sbin/pfs_mount: giving up on /cdrom


Have seen this in the past on PA_RISC systems and it required a patch update, has anyone come across the same issue on itanium servers.

Or is it just something silly i'm missing :-)

Cheers

George
12 REPLIES 12
Venkatesh BL
Honored Contributor

Re: Unable to mount cdrom, device busy

> # / : # diskinfo -v /dev/dsk/c0t0d0
> diskinfo: can't open /dev/dsk/c0t0d0: Device busy


Try "diskinfo -v /dev/rdsk/c0t0d0" (you need to give the char device name"


Steven E. Protter
Exalted Contributor

Re: Unable to mount cdrom, device busy

Shalom,

There is no longer a need to use pfs_mount

Try: ioscan -fnC disk

Try using all the device names with diskinfo until you get an answer.

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
George_Dodds
Honored Contributor

Re: Unable to mount cdrom, device busy

Yup allready done, typo on my part.

# diskinfo -v /dev/rdsk/c0t0d0
diskinfo: can't open /dev/rdsk/c0t0d0: Device busy
George_Dodds
Honored Contributor

Re: Unable to mount cdrom, device busy

Allo SEP, i get a response using diskinfo on other disk devices, just the dvd drives that seem to be an issue.
George_Dodds
Honored Contributor

Re: Unable to mount cdrom, device busy

Os is 11.23 not 11.22 as stated
Shahul
Esteemed Contributor

Re: Unable to mount cdrom, device busy

Hi,

I had a similar problem on an Itanium server, it was because my EMC powerpath was blocking me to use the device file. If you have EMC powerpath, please check. Else ignore this.

Good luck
Shahul
George_Dodds
Honored Contributor

Re: Unable to mount cdrom, device busy

Hi Shahul

It doesnt have emc powerpath, but will have a look to see if anything else could be blocking the device file. Allthough i'm not sure how to do this.
likid0
Honored Contributor

Re: Unable to mount cdrom, device busy

I had a similar problem, and when I whent physicaly to the server the cdrom light was bleeping like mad and it wouldn't open, after I forced opened it, and closed it again, it mounted with no problems.
Windows?, no thanks
likid0
Honored Contributor

Re: Unable to mount cdrom, device busy

Ah clicked to soon, I also wanted to mention if you tried a lsof against the device, to see whats there ?
Windows?, no thanks