Operating System - HP-UX
1833776 Members
2071 Online
110063 Solutions
New Discussion

How to use PFS on HPUX 10.20?

 
Pulax Huang
Occasional Contributor

How to use PFS on HPUX 10.20?

I attempt to install Oracle 7.3.4 on HPUX 10.20 for HP workstation.In the
installation manual, It said that I must use PFS filesystem support in order to
mount the Oracle CDROM which is Rockridge format, and I would see the long file
name.But when I type the command:
nohup /usr/sbin/pfs_mountd &
it prompt:
Unable to register(MOUNT_PROGRAM,MOUNT_VERSION,udp)
then it refuse to work, What's wrong?How can I use PFS?
5 REPLIES 5

Re: How to use PFS on HPUX 10.20?

Here is a little script I've wrote to take care of that problem since I do many
Oracle Installations/Upgrades. Make sure you have the required entry in the
/etc/pfs_fstab file before you do any mounts. e.g.
/dev/dsk/c5t2d0 /SD_CDROM pfs-rrip xlat=unix 0

Here's the rockon script. chmod it to execute of course.

# cat rockon
nohup /usr/sbin/pfs_mountd &
echo "wait 5 secs\n"
sleep 5
nohup /usr/sbin/pfsd &
echo "wait 5 secs\n"
sleep 5
/usr/sbin/pfs_mount /SD_CDROM
echo "Rockwell Format is Mounted -- Try ls /SD_CDROM"

=================
To unmount
/usr/sbin/pfs_umount /SD_CDROM
=================
Only problem with the script is that when you unmount the cdrom you got to
clean up the stray pfs daemons. It's not self cleaning. One of these days I
might add to the script.

Regards, Rich
Anthony Goonetilleke_1
Regular Advisor

Re: How to use PFS on HPUX 10.20?

In addition to Richards script here are a couple of other things you might need
to check if you are still having problems. With HP-UX 10.20 there is a PFS
cumulative patch PHCO_15453 make sure that this is the current one as it maybe
superseded, make sure this is installed.

NFS needs to be running for pfs to work, you can use rpcinfo -p to check this
and look for mountd and NFS if you do not find these you need to enable the NFS
server and client.

Edit the following file /etc/rc.config.d/nfsconf
and change
NFS_SERVER=1
NFS_CLIENT=1
START_MOUNTD=1

If you changed any of these variables issue a stop and start to NFS

i.e

/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.server start

/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.client start

From here on Richards script should work.

regards,
AG
Claude Ghorayeb
New Member

Re: How to use PFS on HPUX 10.20?

What you're facing is an HPUX bug according to ORACLE.

This is the workaround:
You need to be sure that the user "root" is a member in eight
groups(/etc/logingroup) or less.

Hope this helps.
Roger Hnedriks
New Member

Re: How to use PFS on HPUX 10.20?

Just make sure nfs-services are running
Type in (as root)
pfs_mountd & (background is necessary according man pages)
pfsd &
pfs_mount /dev/dsk/xxxxxxx /cdrom

su - oracle7 (assuming you have this user)
cd /cdrom/orainst
./orainst

Doing this, the upgrade worked fine.

Re: How to use PFS on HPUX 10.20?

I don't recommend using the /cdrom designation for two reasons even though it
will work.

One it's fairly easy to see if you have a Oracle CDROM mounted remotely or even
locally.

Two, It confuses the heck out of the Oracle DBA's who work with the cdroms and
are expecting /SD_CDROM as per Oracle Documentation. They are not System
Administrators in many cases and will wave the ORACLE documentation in your
face.

I should put a third reason here. the pfs_mount (Rockwell) is distinctly
different from the normal HP cdroms and should be kept separate. You will
avoid many horror stories. I know perfectly well that pfs stands for the
"portable file system". But, enough said here.

Rich