Operating System - HP-UX
1748183 Members
3651 Online
108759 Solutions
New Discussion юеВ

Mount problem with Oracle CD

 
SOLVED
Go to solution
Lee Joon Moon
Occasional Advisor

Mount problem with Oracle CD

Hello Everyone
I tested my HP rp5410(HP-UX 11.i), but I got a
problem that mounted oracle CD.
===============================================
HPUX[/]# mount -r /dev/dsk/c3t2d0 /cdrom

HPUX[/]# ls -al /cdrom
total 40976
dr-xr-xr-x 1 4294967295 4294967295 2048 Jun 11 2002 ./
drwxr-xr-x 23 root root 8192 Nov 21 17:35 ../
dr-xr-xr-x 1 4294967295 4294967295 2048 Jun 11 2002 DOC/
-r-xr-xr-x 1 4294967295 4294967295 5334 Jun 11 2002 INDEX.HTM;1*
dr-xr-xr-x 1 4294967295 4294967295 2048 May 14 2002 INSTALL/
dr-xr-xr-x 1 4294967295 4294967295 2048 May 14 2002 LGTO/
dr-xr-xr-x 1 4294967295 4294967295 2048 May 14 2002 RESPONSE/
-r-xr-xr-x 1 4294967295 4294967295 651 May 14 2002 RUNINSTA.;1*
dr-xr-xr-x 1 4294967295 4294967295 2048 Jun 11 2002 STAGE/
=============================================
If you see the result of ls -al /cdrom
, you could see gabage like INDEX.HTM;1*

When I used Tru64 V4.0F, I got the same problems. If you know this problem, would you answer me.
Thank you

7 REPLIES 7
Thierry Poels_1
Honored Contributor
Solution

Re: Mount problem with Oracle CD

Hi,

see the installation manual ;)

Oracle uses Rock-Ridge format, so mount with pfs_mount or "mount -o rr".

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Adisuria Wangsadinata_1
Honored Contributor

Re: Mount problem with Oracle CD

Hi there,

Please check again the installation manual.

Perform the following steps when using pfs to mount an Oracle CD:

1. Kill any active pfs daemons.

2. Re-start the pfs daemons:

pfs_mountd &
pfsd &

3. Mount the CD:

pfs_mount -o xlat=unix /dev/rdsk/cXtXdX /cdrom

Use pfs_umount to umount the CD.

Hope this information can help.

Best Regards,
AW
now working, next not working ... that's unix
T G Manikandan
Honored Contributor

Re: Mount problem with Oracle CD

There is no need to use pfs_mount.

Just install the Rockridge patches

PHKL_25620 - s700_800 11.11 Rock Ridge extension for ISO-9660
PHCO_25841 - s700_800 11.11 Add Rock Ridge extension to mount_cdfs(1M)

Then do a
# mount -F cdfs -o rr /dev/dsk/cxtydz /cdrom

If you have installed the 11i latest OS then the RR patches are there in and you can just use the mount command
Fabio Ettore
Honored Contributor

Re: Mount problem with Oracle CD

Hi,

in general:

http://www.openfieldsolutions.co.uk/cdrom_mounts.html

Anyway commands are:

- on HP-UX 11.i:

to see exact CDROM device files:

# ioscan -fnC disk
(anyway I see that you already know what it is ;-))

and mount:

# pfs_mount -o xlat=unix /dev/rdsk/c3t2d0 /cdrom


- on True64 4.0F:

to see exact CDROM device files:

# scu scan edt
# scu show edt

here you should calculate the correct device file for CDROM (my attachment explains how to do it ;-))

and mount:

# mount ├в t cdfs ├в r ├в o nodefperm,noversion,rrip /dev/ /cdrom

In any cases just works

mount ├в t cdfs ├в r ├в o /dev/ /cdrom

If the first one doesn't work you can try the second one.

I hope this helps you.

Be
WISH? IMPROVEMENT!
Fabio Ettore
Honored Contributor

Re: Mount problem with Oracle CD

Oops...I don't know what bad characters my previous post took.
I am going to report again two mount commands on Tru64 system:

# mount -t cdfs -r -o nodefperm,noversion,rrip /dev/ /cdrom

# mount -r -t cdfs /dev/ /cdrom

I hope that in this time they are ok.

Best regards,
Ettore
WISH? IMPROVEMENT!
Steven E. Protter
Exalted Contributor

Re: Mount problem with Oracle CD

Attaching my oracle cd mount script.

Just change the cd device drive to the correct one.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Yogeeraj_1
Honored Contributor

Re: Mount problem with Oracle CD

Hey!

Install the Rock-Ridge extension patches instead and never worry about these problems. For HP-UX 11.11 (11i) you need PHCO_25841, PHKL_26269, and PHKL_25760.

Add this to your /etc/fstab:
/dev/cd0 /cdrom cdfs ro,rr,noauto 0 0

(/dev/cd0 is assumed to be your device file for the cdrom drive)

You may wish to bookmark this:
http://www.cmve.net/~merijn/

best regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)