Operating System - HP-UX
1833785 Members
2703 Online
110063 Solutions
New Discussion

Re: Can not mount Oracle CD using pfs.

 
SOLVED
Go to solution
Gino Castoldi_2
Honored Contributor

Can not mount Oracle CD using pfs.

Hi,

Server: D250 HP-UX 11.0 DVD-ROM drive.
OS version Sept 2001 & Support Plus Sept 2001.
I also installed these three patches for PFS.
PHKL_21586 (PHKL_26448 has been recalled by HP)
PHKL_26450, PHCO_26449.

NFS is running, 'rpcinfo -p' lists nfs & mountd

When I ran the pfs mount commands it failed with these error messages:

pfs_mountd.rpc: Can't open /dev/dsk/c2t2d0: Device busy pfs_mount: /dev/dsk/c2t2d0 on /cdrom: open failed: Device busy pfs_mount: giving up on /cdrom

When I run the 'bdf' command the terminal session hangs up with this error message.
"NFS server bosov2 not responding still trying"

After that I can not kill the process and I have to reboot to clear up this problem.

There are no processes that are on the /cdrom
mount point (I used lsof to check).

Here is the /etc/pfs_fstab file:
/dev/dsk/c2t2d0 /cdrom pfs-rrip retry=3,soft,intr,xlat=unix 1 0

Any ideas as to what is wrong?

10 points to any good answer.
Thank you Gino.



16 REPLIES 16
Ian Dennison_1
Honored Contributor
Solution

Re: Can not mount Oracle CD using pfs.

Gino,

you have 2 options,...

1. Use the old pfsd and pfs_mountd daemons, and then the pfs_mount command (well documented here in the forums).

2. Use the patch mentioned above, but use 'mount -F cdfs -o cdcase -xlat /dev/dsk/c0t0d0 /cdrom' instead.

it sounds lile you mixed the two strategies, hence why it freezes up!

Share and Enjoy! Ian
Building a dumber user
Christopher McCray_1
Honored Contributor

Re: Can not mount Oracle CD using pfs.

Hello,

I think you should consult this Technical Knowledge Base document KBAN00000252:

http://www2.itrc.hp.com/service/cki/search.do?category=c0&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&searchString=KBAN00000252&search.y=10&search.x=53&mode=id&admit=-1335382922+1035553687540+28353475&searchCrit=allwords

I used to do the pfs mount like you until this doc was revealed to me. Take note of the section entitled "Undo incorrect Oracle instructions if used"

Hope this helps

Chris
It wasn't me!!!!
Robert-Jan Goossens
Honored Contributor

Re: Can not mount Oracle CD using pfs.

Gino,

Are you using a remote server's cdrom ? If so umoumt cdrom on client before umounting on server.

Robert-Jan.
Ken Hubnik_2
Honored Contributor

Re: Can not mount Oracle CD using pfs.

Try stopping all the pfs processes. Restart the NFS services (/sbin/init.d/nfs.client stop /sbin/init.d/nfs.server stop) restarted them and then manually mount the cd and manually start pfs.

mount -o ro /dev/dsk/xxxxxx /cdrom
/usr/sbin/pfsd&
/usr/sbin/pfsmountd&

Then try your pfs mount command
Gino Castoldi_2
Honored Contributor

Re: Can not mount Oracle CD using pfs.

Hi Ian,

What you are saying is use either step 1 or
step 2 correct?

I'll try both steps (we're using a test server for this).

10 points to any good answer.
Thank you Gino.
H.Merijn Brand (procura
Honored Contributor

Re: Can not mount Oracle CD using pfs.

When you have a system running with the three patches, you don't need pfs. never, ever.

Edit /etc/fstab, and add rr to the cd entry:

/dev/cd0 /cdrom cdfs ro,rr,noauto 0 0

modify /dev/cd0 to be your device and /cdrom to be your mount point. Then just say

# mount /cdrom

Done.
Enjoy, Have FUN! H.Merijn
Helen French
Honored Contributor

Re: Can not mount Oracle CD using pfs.

A possible solution:

Install the patch - PHKL_27224. That may solve the issue!
Life is a promise, fulfill it!
Helen French
Honored Contributor

Re: Can not mount Oracle CD using pfs.

A lot of options to try (TKB# 2200219195):
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062903833
Life is a promise, fulfill it!
Ian Dennison_1
Honored Contributor

Re: Can not mount Oracle CD using pfs.

Gino,

Yes that is what I meant, Option 1 or Option 2.

Harry also has some good pointers in his posting.

What I have arranged with our DBAs here is to set aside several lvols on a remote server, and copy each CD to those lvols and share them around each Server as NFS Mount Points.

That way we only go through the pain of getting the CD Mount Options correct once, then simply make the data available through all the Network.

Share and Enjoy! Ian
Building a dumber user
harry d brown jr
Honored Contributor

Re: Can not mount Oracle CD using pfs.


Gino,

(1) Remove /etc/pfs_fstab
(2) stop NFS by changing /etc/rc.config.d/nfsconf, client and server to 0
(3) Make sure you have no mounting of your cdrom in /etc/fstab
(4) reboot
(5) start the pfs daemons
(6) mount cd using pfs_mount

live free or die
harry
Live Free or Die
H.Merijn Brand (procura
Honored Contributor

Re: Can not mount Oracle CD using pfs.

You gave us all 10 points. Not that you will hear anyone complain, but I guess we all like to know, which of these solutions helped you solve /your/ problem.
Enjoy, Have FUN! H.Merijn
W.C. Epperson
Trusted Contributor

Re: Can not mount Oracle CD using pfs.

Without a browser change, I'm now also experiencing the "Reply button waaaaaaay right" problem.

Oracle installs have always been of, um, questionable robustness (I first installed 5.1.b Beta Server for OS/2 and was a DBA through version 7). Wanted to point these articles out to my sysadmins and DBA, but got a failed search when using the link for KBAN00000252.
"I have great faith in fools; self-confidence, my friends call it." --Poe
H.Merijn Brand (procura
Honored Contributor

Re: Can not mount Oracle CD using pfs.

The link Christopher posted is responsible for the width :/
Can't do much about it (except maybe not posting long links :P)
Enjoy, Have FUN! H.Merijn
Yogeeraj_1
Honored Contributor

Re: Can not mount Oracle CD using pfs.

hi
try my script for both mounting and unmount the CDROM (in case it is already mounted)

Hope this helps!
Regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Gino Castoldi_2
Honored Contributor

Re: Can not mount Oracle CD using pfs.

Hi All,

Here's what I did to get the Oracle 8.0.5
CD-ROM (Rock-Rigde format) to mount.

I tried different ways of using the pfs commands and they didn't work so I installed the three patches which was recommended by HP
(one patch has since been recalled PHKL_26448)
PHKL_26448, PHKL_26450, PHCO_26449) and then I
could manually mount the CD-ROM and install
Oracle (OfO 8.0.5). This is the command I used and it worked fine.

# mount -F cdfs -o rr /dev/dsk/c2t2d0 /cdrom

10 points to any good answer.
Thank you again Gino.
Christopher McCray_1
Honored Contributor

Re: Can not mount Oracle CD using pfs.

Hello,

Sorry for causing the format problem; I'll try to be more aware of what I'm posting :^(.

Regards

Chris
It wasn't me!!!!