1823228 Members
4339 Online
109648 Solutions
New Discussion юеВ

Re: NFS problem !!

 
Ivan Azuara
Regular Advisor

NFS problem !!

Hi,

I have a problem between two boxes. Box A is a HPUX and Box B is a Linux (RHEL 5).

I need to mount a local file system from Box A to Box B and vice versa.

But i have the next messages when i try to apply the mount procedure:

BOX A:

# mount vtsvappruebas.banco.gfi.mx:/sii_interfaces/entrada/cargasmasivas/contratosbanco /sii_interfaces/entrada/cargasmasivas/contratosbanco

nfs mount: get_fh: vtsvappruebas.banco.gfi.mx:: RPC: Program not registered
nfs mount: get_fh: vtsvappruebas.banco.gfi.mx:: RPC: Program not registered
nfs mount: retry: retrying(1) for: /sii_interfaces/entrada/cargasmasivas/contratosbanco after 5 seconds
nfs mount: retry: giving up on: /sii_interfaces/entrada/cargasmasivas/contratosbanco


Server B:

# mount vtsvapmfpruebas.banco.gfi.mx:/sii_interfaces/entrada/cargasmasivas/contratosbanco /sii_interfaces/entrada/cargasmasivas/contratosbanco
mount: vtsvapmfpruebas.banco.gfi.mx:/sii_interfaces/entrada/cargasmasivas/contratosbanco failed, reason given by server: Permission denied


Do you think that is a resolution name problem between this boxes. I'm usisng DNS servers.


Thank's in advance !!
"Enjoy the life .."
11 REPLIES 11
Pete Randall
Outstanding Contributor

Re: NFS problem !!

Has the file system been exported?


Pete

Pete
Ivan Azuara
Regular Advisor

Re: NFS problem !!

Yes,

Box A:

/sii_interfaces/entrada/cargasmasivas/contratosbanco -anon=65534,root=146.219.216.198:vtsvappruebas.banco.gfi.mx.:146.219.216.31:vtsvapmfpruebasdes.banco.gfi.mx,access=146.219.216.198:vtsvappruebas.banco.gfi.mx.:146.219.216.31:vtsvapmfpruebasdes.banco.gfi.mx

Box B:

/sii_interfaces/salida/cargasmasivas/contratosbanco
vtsvapmfpruebas.banco.gfi.mx

Regards ,,
"Enjoy the life .."
John Guster
Trusted Contributor

Re: NFS problem !!

Server A need be configured as a NFS server which involves a couple of steps, not just put entries in the /etc/exports. After proper configuration, then try to mount it from Server B.
Ivan Azuara
Regular Advisor

Re: NFS problem !!

In fact the server A is exporting other file systems that are mounted in other hpux boxes succesfully.

But the main problem is between these two servers.

Regards.
"Enjoy the life .."
Dave Olker
Neighborhood Moderator

Re: NFS problem !!

It looks like when you're trying to mount a filesystem from Server B, it's complaining that one of the critical NFS services is not running. Most likely this is rpc.mountd or nfsd. Check to make sure both of these are running on Box B.

When you attempt to mount the filesystem from Server A you're getting a permission denied error, which usually means the filesystem is not exported/shared to allow Server B to mount it. Confirm that you have shared the filesystem on Server A correctly to allow Server B to access it.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Chandrahasa s
Valued Contributor

Re: NFS problem !!

Hi,
Do following steps,
at A,

/sbin/init.d/nfs.core stop
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
then
/sbin/init.d/nfs.core start
/sbin/init.d/nfs.client start
/sbin/init.d/nfs.server start

go to sam>>networkand communication>>network services>>network filesystems>>share>>and select which fs you need to share.

run showmount -e serverAhostname
it should show exported fs name

then you try to mount in server B


Chandra



Ivan Azuara
Regular Advisor

Re: NFS problem !!

Nop, the problem continuous ...
"Enjoy the life .."
Ivan Azuara
Regular Advisor

Re: NFS problem !!

Box A

# showmount -e 146.219.216.85
showmount: 146.219.216.85: RPC: Program not registered
# showmount -a
showmount: s_inb_15: RPC: Program not registered

i restarted all the nfs services, etc, etc but the problem continuous. I'm going to reboot the server.

Regards
"Enjoy the life .."
John Guster
Trusted Contributor

Re: NFS problem !!

can you post your /etc/rc.config.d/nfsconf, and /etc/exports on the NFS server?
Ivan Azuara
Regular Advisor

Re: NFS problem !!

/etc/rc.config.d/nfsconf

# NFS configuration. See nfsd(1m), mount(1m), pcnfsd(1m)
#
# @(#)B.11.11_LR
#
# NFS_CLIENT: 1 if this node is an NFS client, 0 if not
# NFS_SERVER: 1 if this node is an NFS server, 0 if not
# Note: it is possible for one host to be a client, a server,
# both or neither! This system is an NFS client if you will
# be NFS mounting remote file systems; this system is a server
# if you will be exporting file systems to remote hosts.
# See Also: nfsd(1M), mount(1M).
# NUM_NFSD: Number of NFS deamons (nfsd) to start on an NFS server. Four
# has been chosen as optimal.
# NUM_NFSIOD: Number of NFS BIO daemons (biod) to start on an NFS client.
# Four has been chosen as optimal.
# PCNFS_SERVER: 1 if this node is a server for PC-NFS requests. This
# variable controls the startup of the pcnfsd(1M) server.
# See Also: pcnfsd(1M).
#
NFS_CLIENT="1"
NFS_SERVER=1
NUM_NFSD=16
NUM_NFSIOD=16
PCNFS_SERVER=0
# export feature does not work in this file since files are being
# sourced into another file rc.config and this file is being sourced
# into the startup scripts.

#
# DAEMON OPTIONS
#
# LOCKD_OPTIONS: options to be passed to rpc.lockd when it is started.
# STATD_OPTIONS: options to be passed to rpc.statd when it is started.
# MOUNTD_OPTIONS: options to be passed to rpc.mountd when it is started.
#
LOCKD_OPTIONS=""
STATD_OPTIONS=""
MOUNTD_OPTIONS=""
#
# automount configuration
#
# AUTOMOUNT = 0 Do not start automount
# AUTOMOUNT = 1 Start Automount.
# AUTO_MASTER = filename of the master file passed to automount
# AUTO_OPTIONS = options passed to automount
#
AUTOMOUNT=1
AUTO_MASTER="/etc/auto_master"
AUTO_OPTIONS="-f $AUTO_MASTER"
#
# rpc.mountd configuration. See mountd(1m)
#
# START_MOUNTD: 1 if rpc.mountd should be started by a system startup script.
# 0 if /etc/inetd.conf has an entry for mountd.
# Note: rpc.mountd should be started from a system startup script,
# however, it can be started from either nfs.server or inetd, and
# MUST only be configured in one place.
#
START_MOUNTD=1
#
#autofs configuration. See autofs(1m)
#
#For the 11.0 Release line both AUTOFS and the old Automount
#are delivered. In order to invoke the AUTOFS instead of
#you must set the AUTOFS flag to 1.
#
#/usr/sbin/automount is now a script that sources in this file
#Depending on the variable AUTOFS, either AUTOFS or the old
#automount process will execute. The nfs.client start script
#will also use this variable to start the appropriate process
#during the boot sequence.
#AUTOFS= 0 - use the old automount process.
# 1 - use the new AutoFS.
#AUTOMOUNT_OPTIONS= - options to the AutoFS automount command
#AUTOMOUNTD_OPTIONS= - options to the AutoFS automountd daemon
#
#The AUTOMOUNT flag still needs to be set for either the old
#automount or new AutoFS to be started by the nfs.client script.
#
AUTOFS=0
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""

/etc/exports

/sii_spool/adobe/central/server6 -anon=65534,root=siinblx44,access=siinblx44
/sii_asesores/estado_cuenta_asesores/00020 -anon=65534,root=siinblx44,access=sii
nblx44
/sii_spool/seguros/autos/emisores/90500 -anon=65534,root=146.219.216.198:vtsvapp
ruebas.banco.gfi.mx:\
vtsvapmfpruebasdes.banco.gfi.mx:146.219.216.31,access=146.219.216.198:\
vtsvappruebas.banco.gfi.mx:vtsvapmfpruebasdes.banco.gfi.mx:\
146.219.216.31
/sii_spool/adobe/central/server4/data -anon=65534,root=vtsvapmfpruebasdes.banco.
gfi.mx:146.219.216.31:\
siinb31,access=vtsvapmfpruebasdes.banco.gfi.mx:146.219.216.31:siinb31
/sii_spool/seguros/autos/PDFInternet -anon=65534,ro,root=siinb31:vtsvapmfpruebas
des.banco.gfi.mx,\
access=siinb31:vtsvapmfpruebasdes.banco.gfi.mx
/sii_spool/seguros/autos/XMLInternet -anon=65534,ro,root=siinb31:vtsvapmfpruebas
des.banco.gfi.mx,\
access=siinb31:vtsvapmfpruebasdes.banco.gfi.mx
/sii_interfaces/entrada/cargasmasivas/contratosbanco -anon=65534,root=146.219.21
6.198:vtsvappruebas.banco.gfi.mx.:\
146.219.216.31:vtsvapmfpruebasdes.banco.gfi.mx,access=146.219.216.198:\
vtsvappruebas.banco.gfi.mx.:146.219.216.31:\
vtsvapmfpruebasdes.banco.gfi.mx

"Enjoy the life .."
Chandrahasa s
Valued Contributor

Re: NFS problem !!

HI,
/sii_spool/adobe/central/server6 -anon=65534,root=siinblx44,access=siinblx44

here you edit file as

/sii_spool/adobe/central/server6 -anon=65534,

then you run exportfs -av and try to mount localy and remote also.

Chandra