Operating System - HP-UX
1833788 Members
2878 Online
110063 Solutions
New Discussion

How to mount the cdrom on HP_UX

 
SOLVED
Go to solution
Velmurugan
Occasional Contributor

How to mount the cdrom on HP_UX

This is fairly a very simple question.
(I am not familiar with HP-UX )
I am a Solaris admin, now fixing something on a HP box
why hp-ux doesnt mount cdrom automatically
what is the device name for cdrom drv
how can i mount?

Thanks guys

Each of social/professional status of a person has got it own pleasure and pain.
4 REPLIES 4
Marcel Boon
Trusted Contributor

Re: How to mount the cdrom on HP_UX

hello,

Try this:

ioscan -funC disk
Now you see the device file for your CDROM.
example: /dev/dsk/c0t1d0
look for /cdrom , if not exist
mkdir /cdrom

mount /dev/dsk/c0t1d0 /cdrom

good luck

marcel
See the man pages
Emmanuel Eyer
Frequent Advisor
Solution

Re: How to mount the cdrom on HP_UX

Why it does not automount CD? To get you busy! ;-)

The above solution is OK. Just a couple of additional remarks:

CD-ROM drives are usually with SCSI ID 2. Thus the device file is usually c?t2d0.

If you are tired creating mount points, there should always be a /SW_CDROM directory on the system (it is created at installation), which you can use for your CD-ROM drive (and acutally should if you wanna use SD-UX)

Last thing: it happens that you need to mount with flag -r (read only). Sounds silly (a CD is read-only, eh?), but required on some CD formats (especially the HP-UX Diagnostic CD), otherwise you get "I/O Error" message.

Re: How to mount the cdrom on HP_UX

HI

Checking the respective ID's and target of any device use

ioscan -funC disk/tape

here in the above example you will get result what is present in the system and with what id's.

Now with the help of this if you know what is the path then it is easier to know which device is using which device files.

mounting the CDROM is not automatoc like SUN because in sun there is a daemon running and mounting CDROM directly with VOLMGT but in HP there is no auto daemon running which will be mounting CD directly.

The reason i thought is if you try to install any software in HP it is having it 's own way to mount the CDROM.

like ORACLE and other application software.


if you could not mount cdrom properly in HP, you will see the UPPERCASE CHARACTERS with semicolon for character seperator.

like

INSTALL;IP

for that you can mount the cdrom in diff way.

first create adirectory say /cdrom

and try to mount the CDROM like

mount -F cdfs -o cdcase /dev/dsk/cxtxdx /cdrom (where i have mention that you will get all numbers of x)

cXtXdX (here C is controller or instance
tX (target of the CDROM or we can say id)
dX ( LUN or device)

Regards

Nikhil
nikhil
Velmurugan
Occasional Contributor

Re: How to mount the cdrom on HP_UX

Hi Guys,

Thanks a lot for the very quick response!

I could get my work done with your help.

It worked!

Thanks again

Velmurugan
Each of social/professional status of a person has got it own pleasure and pain.