1833582 Members
4652 Online
110061 Solutions
New Discussion

Re: CD-ROM issue

 
SOLVED
Go to solution
Terry Washington
Occasional Contributor

CD-ROM issue

I am new to HP-UX and am looking for assistance in mounting an external CD-ROM attached to an HP Visualize running HP-UX 11.00. I am able to view the device in SAM but am unsure how to view the files. I know in Solaris you can cd /cdrom/cdrom0 or view the files in CDE. Is there something similar in HP-UX?
3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: CD-ROM issue

Unfortunately HP-UX does not automatically mount the CD like Solaris does.

Here are some steps to try:

1) Make sure that the device files are created for the CD-ROM. Do an ioscan -fnC disk and make a note of the device file.

2) Create a directory that you want to mount the CD to. I generally use /cdrom.

3) This is not required, but it makes life easier. I make a link from the /dev/dsk/c#t#d0 file to /dev/dsk/cdrom.

4) Now do the following: mount /dev/dsk/c#t#d0 /cdrom or if you are having problem with some CDs you can do: mount -o cdcase /dev/dsk/c#t#d0 /cdrom
or if you make the link from /dev/dsk/c#t#d0 to /dev/dsk/cdrom the you can do a: mount /dev/dsk/cdrom /cdrom


5) Now just cd to /cdrom and you can see the files on the cd.


Hope this helps.
Bruce Regittko_1
Esteemed Contributor

Re: CD-ROM issue

Hi,

I'm pretty sure you can set up autofs to automatically mount a cdrom when its mount point is accessed. Basically, you have to export the cdrom via NFS to the host the cdrom is on, that is, use NFS as both server and client, and then configure either a direct or indirect map autofs map. I played around with this once to see if it would work and , if my memory serves, it did. I also remember that I had to use autofs and not the old automount.

--Bruce
www.stratech.com/training
Terry Washington
Occasional Contributor

Re: CD-ROM issue

Thanks Patrick. Your directions worked perfectly!