1834398 Members
3181 Online
110067 Solutions
New Discussion

NFS server daemon dies

 
Bharat Katkar
Honored Contributor

NFS server daemon dies

Hello everybody,
I have an Hp server (which is a nisplus client) and when i try logging in to HP server with NIS user i am not able to get home directory. Home directory is NFS mounted. We have linux server which is a NFS server. It works fine for all others (except HP).
We are mounting /home of linux server to /lhome of HP server.
On HP server i have files as follows:
1./etc/auto_master
/lhome auto.Linuxserver
2./etc/auto.Linuxserver
* -rw,rsize=8192,wsize=8192,tcp linuxserver:/home/&

I have set /etc/rc.config.d/nfsconf file as follows:
NFS_CLIENT=1
NFS_SERVER=1
NUM_NFSD=16
NUM_NFSIOD=16
PCNFS_SERVER=0
START_MOUNTD=1
AUTO_MASTER="/etc/auto_master"
AUTOFS=1
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""

DO i have to do anything else. Linux server is working fine & serving properly for all other servers.
Still i don't understand why the mountd daemon on linux server get hanged whenever NFS mount request is done by the HP machine.

I am using 11i and RP2600 server.
Any expert comments please.
Thanks in advance.
Bharat





You need to know a lot to actually know how little you know
5 REPLIES 5
RAC_1
Honored Contributor

Re: NFS server daemon dies

Things to check.

1. are you up to date on NFS patches on HP-UX?
2. NFS versions Linux and Hp-Ux using? Are they same? if not You can match linux version while mounting dir with -vers option on mount command.
3. From HP-UX, does showmount -e linux_server resturns OK?

Anil
There is no substitute to HARDWORK
Bharat Katkar
Honored Contributor

Re: NFS server daemon dies

Thanks Anil for your reply.
I tried this things:
# showmount -e vcslnxb3
showmount: vcslnxb3: RPC: Miscellaneous tli error - bad flags
# ping vcslnxb3
PING vcslnxb3.vxindia.veritas.com: 64 byte packets
64 bytes from 10.212.99.244: icmp_seq=0. time=0. ms
64 bytes from 10.212.99.244: icmp_seq=1. time=0. ms

Also i do check NFS versions on linux server.
Also how do i check whether NFS patches are UPDATED or not.

Thanks,
Bharat
You need to know a lot to actually know how little you know
Bharat Katkar
Honored Contributor

Re: NFS server daemon dies

Anil,
I am attaching the "nfsstat" output. See if you can make something from that.
Thanks,
Bharat
You need to know a lot to actually know how little you know
RAC_1
Honored Contributor

Re: NFS server daemon dies

On client side, there are bad calls in nfsstat output. But that is understood -as you have problems with hp-ux nfs mounts from linux nfs server.

How may clients this linux server serves? (NFS clients) As on HP-UX, can you set no. of NUM_NFSD and NUM_NFSIOD on linux side? (linux equivalents of those)

Depending on how many clients, linux server serves, you can increase the count.

Also on HP-UX, do you have any messages in dmesg an syslog. DLI error messages can come when, there is a probem in server client RPC communication.

For NFS patches, check itrc and search for nfs pacthes and check, if you have those.

Anil
There is no substitute to HARDWORK
iminus
Frequent Advisor

Re: NFS server daemon dies

In the HP server,
- Do a showmount -a to see the mounted hosts.
- Check if processes rpc.mountd and nfsd are running.
- Edit the /etc/exports file to include the export directories
Hope this helps
hope it helps