1832831 Members
2969 Online
110047 Solutions
New Discussion

Problem mounting DVD-ROM

 
Lawrence Clark
New Member

Problem mounting DVD-ROM

When try to mount mount my dvd-rom on my hp 9000 I get an error; I do an "ioscan -fnC" to see the dvd but being new to hp-ux I don't know how to identify the "device file" so I can mount the dvd-rom to my directory. Can someone tell me how to identify the "device file" when I do an "ioscan -fnC" ??

Thanks
12 REPLIES 12
S.N.S
Valued Contributor

Re: Problem mounting DVD-ROM

Hi,

Pl give the error message.
DVD ROM is usually c0t0d0...

Try it n let's know,

HTH
SNS
"Genius is 1% inspiration, 99% Perspiration" - Edison
Bijeesh
Respected Contributor

Re: Problem mounting DVD-ROM

Hi,

#ioscan -fn -C disk | more

Check the Description part to identify the DVD ROM.Normally hard disks shows the capacity also like HP 146 GB #######.
Confirm it with #diskinfo /dev/rdsk/cXtXdX

And mount using
#mount /dev/dsk/cXtXdX /dvdrom
Steven Schweda
Honored Contributor

Re: Problem mounting DVD-ROM

> [...] my hp 9000 [...]

Not a very detailed description of anything.

uname -a

> When try to mount mount my dvd-rom on my hp
> 9000 I get an error;

As usual, showing actual commands with their
actual output can be more helpful than vague
descriptions or interpretations.

> [...] I don't know how to identify the
> "device file" [...]

That's a coincidence. When you 'do an
"ioscan -fnC" to see the dvd', _I_ can't
identify it, either.

Potentially useful:

ioscan -fn -C disk

Around here, I see things like:

[...]
disk 2 0/2/2/0.0.0.0 sdisk CLAIMED DEVICE HL-DT-STDVD-ROM GDR8160B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
[...]
Lawrence Clark
New Member

Re: Problem mounting DVD-ROM

I get the following:

"# mount /dev/dsk/c1t2d0 /DVD_ROM
/dev/dsk/c1t2d0: I/O error"

or, when I do this....

"# mount /dev/rdsk/c1t2d0 /DVD_ROM
mount: /dev/rdsk/c1t2d0 is an invalid operand"

I am trying to mount it to my /DVD_ROM directory.
Bijeesh
Respected Contributor

Re: Problem mounting DVD-ROM

So are you sure the DVD path is /dev/dsk/c1t2d0 ??
And are you trying
# mount /dev/dsk/c1t2d0 /DVD_ROM
after inserting the DVD on drive..??
Lawrence Clark
New Member

Re: Problem mounting DVD-ROM

yes...This is my ioscan...

# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 146 GST3146855LC

/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
disk 1 1/0/0/3/1.2.0 sdisk CLAIMED DEVICE Optiarc DVD RW AD-5
170A
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 1/0/1/1/0/1/1.6.0 sdisk CLAIMED DEVICE HP 146 GST31468
55LC
/dev/dsk/c3t6d0 /dev/rdsk/c3t6d0

As you can see, my dvdrom is /dev/dsk/c1t2d0.

Why am i having problems when i do a

"mount /dev/dsk/c1t2d0 /dvd_rom??
Bijeesh
Respected Contributor

Re: Problem mounting DVD-ROM


Can you try with another media..?
Lawrence Clark
New Member

Re: Problem mounting DVD-ROM

This is the only media I have.

Also....I go into SAM and whn I try to swinstall SAM ask me for the target media - I tell it /dev/dsk/c1t2d0 - SAM tells me that I dom't have proper rights to mount the path even though I am root.Why?
Steven Schweda
Honored Contributor

Re: Problem mounting DVD-ROM

> This is the only media I have.

You own only one CD-ROM or DVD-ROM? Really?
V. Nyga
Honored Contributor

Re: Problem mounting DVD-ROM

Hi,

1. Open dvd drive
2. Insert a dvd
3. Close dvd drive
4. Mount dvd drive

V.
*** Say 'Thanks' with Kudos ***
S. Ney
Trusted Contributor

Re: Problem mounting DVD-ROM

When you put the dvd into the drive it should flash green (as it reads the dvd) and then display no light once the dvd is loaded.

As others have indicated before try the following:(samples are from one of my old pa-risc servers.)
root@serverx:/root> ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
disk 0 0/0/3/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 2 0/1/1/1.0.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
root@serverx:/root> diskinfo /dev/rdsk/c0t0d0
SCSI describe of /dev/rdsk/c0t0d0:
vendor: TEAC
product id: DV-28E-N
type: CD-ROM
size: 0 Kbytes
bytes per sector: 0

When size = 0 kbytes it usually indicates there is no cd in drive. When one is successfully loaded:
root@serverx:/> diskinfo /dev/rdsk/c0t0d0
SCSI describe of /dev/rdsk/c0t0d0:
vendor: TEAC
product id: DV-28E-N
type: CD-ROM
size: 4090998 Kbytes
bytes per sector: 2048

If you input diskinfo -v /dev/rdsk/c0t0d0 it will display firmware version as well as other information.
If the dvd is bootable try:
root@serverx:/> mount -r /dev/dsk/c0t0d0 /cdrom
root@serverx:/> cd /cdrom
root@serverx:/cdrom>

You could also try:
mount -F cdfs /dev/dsk/c0t0d0 /cdrom
If still no go what is output of fuser (dvd directory)
strings /etc/lvmtab
cat /etc/fstab
ll /dvddirectory for owner:group permissions
example: drwxr-xr-x 2 root sys 96 Jan 3 2007 cdrom

Lastly are there any other hp-ux based servers you could try to duplicate your attempts with?
Ismail Azad
Esteemed Contributor

Re: Problem mounting DVD-ROM

Lawrence,

Why don't u try or check out the following :-
Do a diskinfo on the specified device file and see if it is a DVD-ROM as well as check if the size of the disk is being shown to make sure that the drive is actually detecting ur disk.

Next thing is have you created the mount point?

Also do a diskinfo on /dev/rdsk/c0t0d0 cez typically that is the drive you would be concerned with.

If not, try mounting the DVD with persistent DSF if u r using v3 by doing an ioscan -m dsf.

Best of luck,
Read, read and read... Then read again until you read "between the lines".....