1833883 Members
1978 Online
110063 Solutions
New Discussion

NFS issue

 
sen_ux
Valued Contributor

NFS issue

Hi All,

$ uname -a
HP-UX B.11.23 U 9000/800
$ model
9000/800/rp3440
$

I am unable to mount NFS from the master server.
Master server is working fine and able to access from other clients.
I have restarted NFS services on client.. Rebooted the client..but issue persists.

$ showmount -e master
showmount: RPC: Unable to receive
$

What could be the possible cause.?

Regards
sen
5 REPLIES 5
Raj D.
Honored Contributor

Re: NFS issue

Sen_ux,

Where are you executing this command: [ on master or client ]

>
$ showmount -e master
showmount: RPC: Unable to receive
$
>




- Make sure you have shared the filesystem on the master server with added permission to the client . ( It should be listed on /etc/exports on master )
- then run exportfs -a
- Then try to mount on the client system.


What error are you getting on client, when you are trying to mount the NFS shared filesystem on the client.


Hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Steven Schweda
Honored Contributor

Re: NFS issue

> I am unable to mount NFS from the master
> server.

What does this mean? NFS has servers and
clients. NIS has a master server, not NFS.

"I am unable" is not a useful problem
description. It does not say what you did,
or what happened when you did it.

> $ uname -a

It's a start. Is this the NFS server or
client?

> I have restarted NFS services on client..

Actual command(s)? (Actual output?)

> $ showmount -e master

Again, is this on the NFS server or client?

> showmount: RPC: Unable to receive

Looks as if your NFS stuff is not running.

> Rebooted the client..

Anything interesting in the start-up status
messages or in the system log file(s)?
sen_ux
Valued Contributor

Re: NFS issue

Thanks.

Below output is from client.
$ showmount -e server
showmount: RPC: Unable to receive
$

For restarting nfs in client, i used below commands.

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

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

Rebooted the client.. Did not find any error meassage that points to nfs failure.

client:/root> mount -F nfs server:/var/opt/ignite/clients /mnt
nfs mount: get_fh: server:: RPC: Timed out
nfs mount: get_fh: server:: RPC: Timed out
nfs mount: retry: retrying(1) for: /mnt after 5 seconds
nfs mount: retry: giving up on: /mnt
client:/root>

master:$> cat /etc/exports
/var/opt/ignite/clients -anon=2

Able to mount this from another client.

client:/root> ps -ef|grep rpc
root 1571 1 0 Oct 18 ? 4:31 /opt/dce/sbin/rpcd
root 12767 1 0 Oct 18 ? 0:00 /usr/sbin/rpcbind
root 12845 1 0 Oct 18 ? 0:00 /usr/sbin/rpc.mountd
root 12874 1 0 Oct 18 ? 0:00 /usr/sbin/rpc.statd
root 12881 1 0 Oct 18 ? 0:00 /usr/sbin/rpc.lockd
client:/root>


Let me know if you need any other info.

thanks
Steven Schweda
Honored Contributor

Re: NFS issue

> $ showmount -e server
> showmount: RPC: Unable to receive

Any firewalls between these systems? Does
other network stuff (Telnet, FTP, remsh, ...)
work between these systems?

On the client and the server:
showmount -e
netstat -an | grep '.111 '

On the client:
telnet server 111

> client:/root> ps -ef|grep rpc
> [...]

That's what I see on my 11.11 system.
Kapil Jha
Honored Contributor

Re: NFS issue

try to restart rpc service and clear stale locks on the server side and on client side (as you have rebooted client it may not affect anything) with command

#clear_locks -s server

man clear_locks

BR,
Kapil
I am in this small bowl, I wane see the real world......