This discussion is archived
3 Replies Latest reply: May 4, 2012 5:13 AM by Nicolas.Gasparotto RSS

nfs mount from PSOVM App/Batch/PIA

Nicolas.Gasparotto Oracle ACE
Currently Being Moderated
Hello,

I don't think that has ever worked before, but there's (at least) one RPM installation difference between PSOVM Apps and PSOVM database server.
I was trying to mount a remote (Linux) nfs mount point from the PSOVM Apps FSCM9.1FP1 (PTools 8.51.07), but it failed :
[root@psovmfscmfp1 ~]# mkdir -p /nfs/software
[root@psovmfscmfp1 ~]# mount -t nfs 192.168.1.1:/software /nfs/software
mount: wrong fs type, bad option, bad superblock on 192.168.1.1:/software,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

[root@psovmfscmfp1 ~]# dmesg | tail
Adding 2104504k swap on /dev/xvda3.  Priority:-1 extents:1 across:2104504k
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
ip6_tables: (C) 2000-2006 Netfilter Core Team
netfront: Initialising virtual ethernet driver.
netfront: device eth0 has copying receive path.
eth0: no IPv6 routers present
FS-Cache: Loaded
FS-Cache: netfs 'nfs' registered for caching
[root@psovmfscmfp1 ~]#
I was quite certain the remote Linux nfs mount point was properly configured, the same command as above is working fine from the PSOVM database server FSCM9.1FP1 (PTools 8.51.07).
After a quick look, some RPMs seem to be missed on the PSOVM app/Batch/PIA server compared to the database server.
So, to make it working, I followed the steps below (the mentioned RPMs are downloadable from the public YUM Oracle : http://public-yum.oracle.com/repo/EnterpriseLinux/EL5/2/base/x86_64/) :
[root@psovmfscmfp1 ~]# service portmap status
portmap: unrecognized service

1. portmap
[root@psovmfscmfp1 tmp]# rpm -Uvh portmap-4.0-65.2.2.1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:portmap                ########################################### [100%]
[root@psovmfscmfp1 tmp]# service portmap start
Starting portmap:                                          [  OK  ]
[root@psovmfscmfp1 tmp]# service portmap status
portmap (pid 1526) is running...
[root@psovmfscmfp1 tmp]#

2. libgssapi
[root@psovmfscmfp1 tmp]# rpm -Uvh libgssapi-0.10-2.x86_64.rpm
Preparing...                ########################################### [100%]
   1:libgssapi              ########################################### [100%]
[root@psovmfscmfp1 tmp]#

3. nfs-utils-lib
[root@psovmfscmfp1 tmp]# rpm -Uvh nfs-utils-lib-1.0.8-7.2.z2.x86_64.rpm
Preparing...                ########################################### [100%]
   1:nfs-utils-lib          ########################################### [100%]
[root@psovmfscmfp1 tmp]#

4. libevent
[root@psovmfscmfp1 tmp]# rpm -Uvh libevent-1.1a-3.2.1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:libevent               ########################################### [100%]
[root@psovmfscmfp1 tmp]#

5. nfs-utils
[root@psovmfscmfp1 tmp]# rpm -Uvh nfs-utils-1.0.9-33.el5.x86_64.rpm
Preparing...                ########################################### [100%]
   1:nfs-utils              ########################################### [100%]
[root@psovmfscmfp1 tmp]#

6. Mount nfs working
[root@psovmfscmfp1 tmp]# mount -t nfs 192.168.1.1:/software /nfs/software
[root@psovmfscmfp1 tmp]#
Now, I have the remote nfs readable from the PSOVM App server.
Is that possible to have it by default or how to explain RMSs differences between PSOVMs ? There's initially no more need of nfs on database server that on App server, is it ?

Nicolas.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points