Operating System - HP-UX
1753487 Members
4720 Online
108794 Solutions
New Discussion юеВ

Re: Mount an Oracle CD on HP UX 11

 

Mount an Oracle CD on HP UX 11

I have Oracle forms 3.0 CD for Installation. I tried mounting it through root as

mount -F cdfs -ro /dev/dsk/c2t2d2 /cdrom

The CDROM is mounted but the problem is the filename has "START.SH.;". I am not able to run the above script.

I suspect that I am not giving the right command.

Let me know how to get through this asap.

Thanks

Murali
Keep an Open Mind on solving problems
7 REPLIES 7
Rita C Workman
Honored Contributor

Re: Mount an Oracle CD on HP UX 11

Generally when I see Oracle needs, they prefer RockRidge mounts:

#nohup /usr/sbin/pfs_mountd &
#nohup /usr/sbin/pfsd &
#mount /usr/sbin/pfs_mount /SD_CDROM

/rcw
James R. Ferguson
Acclaimed Contributor

Re: Mount an Oracle CD on HP UX 11

Hi:

You need to do a Portable File System (PFS) mount. See these documents for a good guide:

# KBAN00000252 (PFS to mount Oracle, Rockridge and most PC formatted CD-ROM 11.x)

or:

# KBAN00000197 (PFS to mount Oracle, Rockridge and most PC formatted CD-ROM 10.x)

...JRF...

Re: Mount an Oracle CD on HP UX 11

Let me tell u guys something which is strange for me initially but which is true.

Oracle does not use rrip format for Forms 3.0.

It uses the regular mount.

I do have the installation material which states
mount -rv -t cdfs /dev/ /mount_point

The switches does not work properly due to reason I think HP UX uses some other equivalent switches.

Let me know if u guys have come across such a situation and how u solved it.

Let me know asap.

Thanks

Murali
Keep an Open Mind on solving problems
James R. Ferguson
Acclaimed Contributor

Re: Mount an Oracle CD on HP UX 11

HI again:

OK, try this:

mount -F cdfs -r -o cdcase /dev/dsk/c2t2d2 /cdrom

...JRF...

Re: Mount an Oracle CD on HP UX 11

Hi,

Thanks. That was a good suggestion.

Now I am able to c all the files in lower case but when I try to run "start.sh" I get the following error :-./start.sh

Your CD is mounted on /cdrom

The installer requires a temporary working directory (your oracle_link
directory) which will contain installer and documentation files and
symbolic links.

Please enter your oracle_link directory:
/dmp/formscd
Linking files. This will take a few minutes.
Linking /cdrom to /dmp/formscd
./start.sh[29]: -r: not found.
mv: rdbms/install/rdbms.ins: cannot access: No such file or directory
cp:rdbms/install/: No such file or directory
mv: orainst: cannot access: No such file or directory
./start.sh[40]: orainst.tmp: not found.
mkdir: cannot access ../orainst: No such file or directory

You may now go to the orainst subdirectory of your oracle_link directory
and run the installer and documentation viewer.

# ll /dmp/formscd/orainst
total 0

I think the trick is not to change the case of the file listing but to remove the ".;" from the START.SH and leave the filenames in uppercase.

The Installation manual states to use
/cdrom/ORAINST
/START.SH

Thanks guys. U r the best.

Appreciate ur help.

Let me know if u guys have any other solution asap.

Murali
Keep an Open Mind on solving problems
David Snider
Frequent Advisor

Re: Mount an Oracle CD on HP UX 11

I had the same problem with an Oracle 8.1.7 CD..

Here are the commands I used to get it to mount correctly. Of course, make sure you substitute your mount point and device name for mine..

/usr/sbin/pfs_mountd &
/usr/sbin/pfsd &
pfs_mount -t rrip /dev/dsk/c5t1d0 /cdrom
Jim Wolff
Occasional Advisor

Re: Mount an Oracle CD on HP UX 11

Hi all, I had the same problem. The fix is that on HP-UX 11.0, you need to have the statd and lockd daemons running before you use the pfs_mount command. This is new in HP-UX 11.0.

The following example should work for you if you substitute your own device file name for your CD-Rom drive.... (I run this in a script to mount the CD-Rom, then just execute the script. Once the lockd and statd daemons are running on the server, they do not need to be reinitiated again, but it doesn't hurt attempting to do so.)

=======================================
#!/bin/ksh
#
# pfs_mount_cd - jwwolff


/usr/sbin/rpc.lockd
sleep 3;
echo "rpc.lockd started"

/usr/sbin/rpc.statd
sleep 3
echo "rpc.statd started"

pfs_mountd &
sleep 3
pfsd &
sleep 4
pfs_mount -o xlat=unix /dev/dsk/c4t2d0 /SD_CDROM

=======================================

You might also notice the sleep used to allow enough time to get the daemons started.

Hope this helps. It works for me.
Sr. Oracle DBA