Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cdrom on HP-UX

Status
Not open for further replies.

kukuluku

MIS
May 2, 2002
56
US
Hello,

I am new to HP-UX. I need to upgrade Oracle (2 CDs) on HP-UX. My system admin told me that I need to mount cdrom each time I need to use and unmount it. He also said I need to use different parameters (-??) depends on what type of CD. In Solaris system, I never had to do so. Wonder anyone can shed some light here.

Thanks,
 
Solaris use the vold daemon that automatically mount and umount the media (cdrom and fd).
On HP-UX try the command:
mount -F cdfs -o ro,cdcase /dev/dsk/c0t#d0 /CDROM
where # is the SCSI-id of the cdrom.
 
Hi,

Unfortunately mounting CD's on HP-UX is a bit of a pain. Here's how I do it -

1) First find out the device path of your CD-ROM.
# ioscan -fnCdisk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 2 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0

The Device Path is /dev/dsk/c3t2d0

2) For Oracle CD's you have to use pfs_mount command to mount the CD's, that's beacuse Oracle CD's for HP-UX are written using the Portable File System [pfs].

First, start the backgroound processes -
#pfs_mountd &
#pfsd &

Insert the CD and issue the pfs_mount command
#mkdir /CD
#pfs_mount -t rrip -x unix /dev/dsk/c3t2d0 /CD
#

3) To umount the cd's,
#pfs_umount /CD

Hope this helps.
 
Oh -- and don't cd to the cdrom mount directory when you run the oracle installer, if you do that you won't be able to unmount the first CD when you're prompted to by the installer program. If you forget to do this you'll have to redo the Oracle installation (don't ask me how I know this...) Mike
________________________________________________________________

"Experience is the comb that Nature gives us, after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
Mike is right about that. If you want to install any Oracle stuff which has multiple CD's and you dont have multiple CD drives, another way is to dump the contents of the First CD onto the Hard Drive and launch the Oracle Universal Installer (OUI) from the Hard-Drive, then when the Installer prompts for the Second CD, just mount it and and go ahead. When the OUI asks for the third CD, just umount the second one and mount the third one. This should allow you to change CD's during installations without any problems.
I learnt this the hard way too...
hammer.gif


Regards
 
On Tuesday, I mounted the CDROM as the instructions given above and copy the contents of 1st Oracle CD to a hard drive. I left it mounted. I was planning to mount the 2nd CD today so I can do my installation from home this Saturday.

the Unix Administrator told me that last night the system hung on bdf and networker and no NFS servers started. He had to reboot the box to clear it.

I don't understand why this would cause any problem to hang the system.

Any ideas?

Thanks a bunch.
 
On further discussion with Unix Admin (he is out whole week), he said since I did 'pfs_mountd &'instead of 'nohup pfs_mountd &', when I closed winder (logout) it would cause the background process to hang. Can anyone explain to me why is this happening?

Thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top