Operating System - HP-UX
1830862 Members
2488 Online
110017 Solutions
New Discussion

strange responses whilst using pfsmount

 
SOLVED
Go to solution
steven Burgess_2
Honored Contributor

strange responses whilst using pfsmount

Can anyne tell me why this is happening

hpux 11i - nfs.server and nfs.client not running


nohup /usr/sbin/pfs_mountd &
nohup /usr/sbin/pfsd &
pfs_mount -o xlat=unix /dev/dsk/c1t2d0 /SD_CDROM

su - oracle

cd /SD_CDROM/orainst

orainst /c

The above just hangs

pfs_umount /SD_CDROM

Had to reboot the server to release orainst /c process

Attempted with a new mount point, upon mounting

pfs_mount -o xlat=unix /dev/dsk/c1t2d0 /new

Found

gbaheu12:/SD_CDROM 494138 494138 0 100% /SD_CDROM
/dev/dsk/c1t2d0 494138 494138 0 100% /new

attempt to cd /new/orainst and run orainst /c

This hung again

Had again to reboot the server

bdf - nothing mounted

nohup /usr/sbin/pfs_mountd &
nohup /usr/sbin/pfsd &



bdf

gbaheu12:/new 494138 494138 0 100% /new

Why is /new mounted as above ?

I am aware of the patches

PHCO_25841
PHKL_26269
PHKL_26520

With regard to not having to use pfsmount.
Have found this a little confusing

Any help appreciated

Steve
take your time and think things through
16 REPLIES 16
Michael Elleby III_1
Trusted Contributor

Re: strange responses whilst using pfsmount

Steven-

Just a quick note as I'm looking at your issue, and I'm doing a pfs mount right now...

Shouldn't you be using the raw device when you issue the pfs_mount command, i.e.:

pfs_umount -x xlat=unix /dev/rdsk/c0t1d0 /cdrom?

Mike-
Knowledge Is Power
Pete Randall
Outstanding Contributor

Re: strange responses whilst using pfsmount

Steve,

Why are you using pfs_mount on 11i when the rock ridge extension patches will allow you to use a regular mount command and avoid all the pain and aggravation?

Pete

Pete
Sandip Ghosh
Honored Contributor

Re: strange responses whilst using pfsmount

If you have installed the Patches then the option should be like this

You have to give mount -o cdcase -F cdfs as a option.

Sandip
Good Luck!!!
Pete Randall
Outstanding Contributor

Re: strange responses whilst using pfsmount

steven Burgess_2
Honored Contributor

Re: strange responses whilst using pfsmount

Hi Pete

I have installed the patches but have been to busy to get the correct options with regard to an oracle install. I did try

mount -F cdfs -o rr /dev/dsk/cXtYdZ /SD_CDROM

mount -F cdfs -o cdcase /dev/dsk/c1t2d0 /SD_CDROM

But none of the above gave the correct permissions etc when attempting to install from the oracle cd's

Thanks

Steve
take your time and think things through
Pete Randall
Outstanding Contributor

Re: strange responses whilst using pfsmount

Ahhh, I see.

Pete
steven Burgess_2
Honored Contributor

Re: strange responses whilst using pfsmount

Sandip

The

mount -F cdfs -o cdcase /dev/dsk/c1t2d0 /SD_CDROM

gives

orainst.

This should be

orainst

Thanks

Steve
take your time and think things through
Hai Nguyen_1
Honored Contributor

Re: strange responses whilst using pfsmount

Steve,

Have you tried Michael's suggestion? According to HP note, the device should be RAW. I have tried before and it did work.

# pfs_mountd &
# pfsd &
# pfs_mount -o xlat=unix /dev/rdsk/c1t2d0 /mount_point

Hai
steven Burgess_2
Honored Contributor

Re: strange responses whilst using pfsmount

Pete

Thanks for the thread, I spoke with my dba and requested that I spend a little time getting the mount options correct but was advised to use the standard pfs_mount commands because if any issues from the install and oracle had to be contacted they would simply reply advising that the incorrect method of mounting the cd was used (kak)

I have passed the thread to my dba - I'm not going to call her names because she is a really helpful lass.

I have never had the displeasure of using pfs_mount before today. And won't after I get the options correct

points coming up

Thanks

Steve

so what are the correct options when attempting to mount an oracle install cd ?



take your time and think things through
steven Burgess_2
Honored Contributor

Re: strange responses whilst using pfsmount

well

I can't reboot this box at the mo becuase of i'm installing some more software

I have tried with the raw volume and it's the same

Thanks

Steve

I still get the old mount though

gbaheu12:/new 494138 494138 0 100% /new
gbaheu12:/SD_CDROM/
494138 494138 0 100% /SD_CDROM/

God this is annoying. I now understand the others responses when the engineer advised of the new patches

Steve


take your time and think things through
Hai Nguyen_1
Honored Contributor

Re: strange responses whilst using pfsmount

Steve,

I have just looked back at the doc "PSF to mount Oracle, Rockridge and most PC formatted CD-ROM 11.x" (DOC id: KBAN00000252) which I used to mount an Oracle CD a while ago. HP DOES emphasize that "pfs must use the raw or rdsk device file." (I quoted HP.)

Hai
steven Burgess_2
Honored Contributor

Re: strange responses whilst using pfsmount

Hay

So it does. We may have our wires crossed here

Instructions I received from one chap was without the raw volume

balls

Thanks

Steve
take your time and think things through
steven Burgess_2
Honored Contributor

Re: strange responses whilst using pfsmount

The

orainst /c

Still hangs -

Leaving this for today. Thanks everyone for your input

Steve

Micheal - reply back and i'll give you some more points mate

Steve
take your time and think things through
Michael Elleby III_1
Trusted Contributor
Solution

Re: strange responses whilst using pfsmount

Steve-

Yes, this one is kinda confusing, because even though rpc.statd and rpc.lockd are not running, the pfs mount should work anyway...

Are you sure the start script is orainst instead of orainst.sh?

Give me some details of your server config..

Mike-
Knowledge Is Power
Deshpande Prashant
Honored Contributor

Re: strange responses whilst using pfsmount

HI
Following worked for me on HPUX-11i. and oracle CDs.

#pg /etc/pfs_fstab
/dev/dsk/c0t6d0 /SD_CDROM pfs-rrip xlat=unix,soft 0 0
#

#nohup /usr/sbin/pfs_mountd -v &
#nohup /usr/sbin/pfsd 4 -v &
#/usr/sbin/pfs_mount /SD_CDROM

Thanks.
Prashant.
Take it as it comes.
steven Burgess_2
Honored Contributor

Re: strange responses whilst using pfsmount

Micheal

Incase you were wondering what happened

When I initially installed oracle I copied the whole contents of the disk to an area on the server.

Using pfs_mount without any issues (rdsk)

The install tui is in fact orainst /c as I was able to run this from the ora_back directory and install the pre compiler without any issues

Thanks

Steve
take your time and think things through