General
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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

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

bash-3.2# mount
/ on /dev/vg00/lvol3 log on Tue Mar 17 17:28:45 2009
/stand on /dev/vg00/lvol1 defaults on Tue Mar 17 17:28:46 2009
/var on /dev/vg00/lvol7 delaylog,nodatainlog on Tue Mar 17 17:29:00 2009
/usr on /dev/vg00/lvol8 delaylog,nodatainlog on Tue Mar 17 17:29:00 2009
/tmp on /dev/vg00/lvol4 delaylog,nodatainlog on Tue Mar 17 17:29:00 2009
/opt on /dev/vg00/lvol6 delaylog,nodatainlog on Tue Mar 17 17:29:00 2009
/home on /dev/vg00/lvol5 delaylog,nodatainlog on Tue Mar 17 17:29:03 2009


one more output.
bash-3.2# diskinfo -v /dev/rdsk/c0t0d0
SCSI describe of /dev/rdsk/c0t0d0:
vendor: HL-DT-ST
product id: DVD-ROM GDR8162B
type: CD-ROM
size: 729760 Kbytes
bytes per sector: 2048
rev level: 0015
blocks per disk: 364880
ISO version: 0
ECMA version: 0
ANSI version: 2
removable media: yes
response format: 2
(Additional inquiry bytes: (32)42 (33)4c (34)42 (35)41 (36)20 (37)20 (38)20 (39)30 (40)33 (41)2f (42)30 (43)34 (44)2f (45)31 (46)34 (47)20 (48)20 (49)20 (50)0 (51)1 (52)0 (53)0 (54)0 (55)0 (56)0 (57)0 (58)0 (59)0 (60)0 (61)0 (62)0 (63)0 (64)0 (65)0 (66)0 (67)0 (68)0 (69)0 (70)0 (71)0 (72)0 (73)0 (74)0 (75)0 (76)0 (77)0 (78)0 (79)0 (80)0 (81)0 (82)0 (83)0 (84)0 (85)0 (86)0 (87)0 (88)0 (89)0 (90)0 )
Avinash20
Honored Contributor

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

Hi Prashant,

# ps -ef| grep pfs

ASking the above output to check if you have used pfs for mounting the CD
If yes, then you need to umount it

Command is pfs_umount

2. Create a new directory and try to mount the DVD and check

# mkdir /dvdrom_test
# mount ...
"Light travels faster than sound. That's why some people appear bright until you hear them speak."

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

No. It is not mounted using pfs.
Could you let me the steps to mount DVD using pfs?

Thanks.
Avinash20
Honored Contributor

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

pfs mount are not supported and is already in-cooperated with mount command with the specific patches

You could give a try though

# nohup /usr/sbin/pfs_mountd &
# nohup /usr/sbin/pfsd 4 &
# ps -ef | grep pfs
# pfs_mount -o xlat=unix /dev/rdsk/cXtXd0 /pfs_cdrom

Remember that you umount it

# cd /
# pfs_umount /cdrom

Let me check for the patch for that..
"Light travels faster than sound. That's why some people appear bright until you hear them speak."

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

Hi Avinash,

It works. I can mount CD/DVD using pfs_mount on HP-UX 11.11.
one more question, how to know whether the CD/DVD is RockRidge CD/DVD?