Operating System - HP-UX
1748112 Members
3399 Online
108758 Solutions
New Discussion юеВ

Re: Not able to mount CD/DVD on HP-UX 11.11

 

Not able to mount CD/DVD on HP-UX 11.11

Hi,

I have attached internal DVD Drive to my HP-UX machine. Previously there was CD Drive. I can not mount DVD on that. While mounting it gives below error.

# mount /dev/dsk/c0t0d0 /dvdrom
mount: /dev/dsk/c0t0d0 on /dvdrom : Device busy.

I can mount HP-UX 11.11 installation CD's on the same machine and can view the CD contents.

# ioscan -funC 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 HL-DT-STDVD-ROM GDR8162B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 10/0/15/0.5.0 sdisk CLAIMED DEVICE HP 18.2GST318406LC
/dev/dsk/c2t5d0 /dev/rdsk/c2t5d0
disk 2 10/0/15/0.6.0 sdisk CLAIMED DEVICE HP 18.2GST318406LC


Also output of lsof shows nothing.
#lsof | grep "/dev/dsk/c0t0d0"

Appreciate your immediate reply on this.
14 REPLIES 14
rariasn
Honored Contributor

Re: Not able to mount CD/DVD on HP-UX 11.11


Hi,

# cd /
# bdf /dvrom
# lsof /dvrom
# lsof /dev/dsk/c0t0d0

rgs,
T G Manikandan
Honored Contributor

Re: Not able to mount CD/DVD on HP-UX 11.11

Make sure you are not sitting under /dvdrom directory

#cd /
Also check the directory is already not mounted.

Else try creating a new directory /media
and try mounting on that directory.

Re: Not able to mount CD/DVD on HP-UX 11.11

#bdf /dvrom
bdf: /dvrom: No such file or directory
bash-3.2# lsof /dvrom
lsof: status error on /dvrom: No such file or directory
lsof 4.81
latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
usage: [-?abChlnNoOPRtUvV] [+|-c c] [+|-d s] [+D D] [+|-f[cfgGn]]
[-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+|-M] [-o [o]] [-p s]
[+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
Use the ``-h'' option to get more help information.
bash-3.2# lsof /dev/dsk/c0t0d0
bash-3.2#
Jozef_Novak
Respected Contributor

Re: Not able to mount CD/DVD on HP-UX 11.11

Hello,

you have misspelled /dvdrom as /dvrom, hence the error messages in your last post.

J.

Re: Not able to mount CD/DVD on HP-UX 11.11

sorry for that...

bash-3.2# bdf /dvdrom/
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 512000 373880 137128 73% /
bash-3.2# lsof /dvdrom/
bash-3.2# lsof /dev/dsk/c0t0d0
bash-3.2#
Johnson Punniyalingam
Honored Contributor

Re: Not able to mount CD/DVD on HP-UX 11.11

# mount -F cdfs /dev/dsk/c0t0d0 /dvdrom

Thanks,
Johnson
Problems are common to all, but attitude makes the difference

Re: Not able to mount CD/DVD on HP-UX 11.11

I gives error...

bash-3.2# mount -F cdfs /dev/dsk/c0t0d0 /dvdrom
mount: /dev/dsk/c0t0d0 on /dvdrom : Device busy
bash-3.2#

Re: Not able to mount CD/DVD on HP-UX 11.11

It gives error...

bash-3.2# mount -F cdfs /dev/dsk/c0t0d0 /dvdrom
mount: /dev/dsk/c0t0d0 on /dvdrom : Device busy
bash-3.2#
T G Manikandan
Honored Contributor

Re: Not able to mount CD/DVD on HP-UX 11.11

can you provide the output of

#mount
command