1752666 Members
5548 Online
108788 Solutions
New Discussion юеВ

NFS problem

 
SOLVED
Go to solution
antonio elder prado
Regular Advisor

NFS problem

Hi,
i have the following nfs problem:
my nfs server is on a hpux 11.11.
i have two nfs exported files (let's say /a and /b)
they are mounted from different lvol on the server.
these nfs directories are the home directory for the nis accounts which has a server in another box.
this is where i do not understand:
- on /b and can login and can su to any user that has a home directory on /b
- on /a i cannnot do anything, if i try to su - user-on-a it hangs and never gets the prompt back.
this problems happens when i go from hpux 11.31, 11.23, 11.11 and 11.0; HOWEVER, this does not happens when i go from any aix, solaris or linux machines.
i did try to stop/restart the server. even reboot the server.

if you have any idea or clue of what is going on, please let me know.

thank you,
./antonio/.
6 REPLIES 6
Dennis Handly
Acclaimed Contributor
Solution

Re: NFS problem

> on /a I cannot do anything, if I try to su - user-on-a it hangs
>if you have any idea or clue of what is going on

Is the lock demon working on the server?
rpc.statd rpc.lockd
Jose Mosquera
Honored Contributor

Re: NFS problem

Hi,

Have you reviewed the mount options used. The "nfsstat -m" will tell you used options. Review ownership and permissions involved.

Check this document, could be useful:
http://docs.hp.com/en/B1031-90043/ch07s01.html

Rgds.
antonio elder prado
Regular Advisor

Re: NFS problem

hi Dennis,

yes i have the daemons working:

root 960 1 0 02:10:06 ? 0:00 /usr/sbin/rpcbind
root 1125 1 0 02:10:16 ? 0:00 /usr/sbin/rpc.statd
root 1131 1 0 02:10:16 ? 0:00 /usr/sbin/rpc.lockd
root 1632 1 0 02:10:25 ? 0:00 /opt/dce/sbin/rpcd
root 2305 1 0 02:11:18 ? 0:00 /usr/sbin/rpc.mountd
root 3799 1188 0 02:32:07 ? 0:00 /usr/dt/bin/rpc.ttdbserver
#



thank you,
./antonio/.
antonio elder prado
Regular Advisor

Re: NFS problem

hi Jose,

my nfssat -m looks like:

# nfsstat -m
/ocs from ulysses.tidalsoft.com:/home/ocs (Addr 10.88.103.182)
Flags: vers=3,proto=tcp,auth=unix,hard,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)

/ocs2 from ulysses:/home/ocsrd (Addr 10.88.103.182)
Flags: vers=3,proto=tcp,auth=unix,hard,intr,link,symlink,devs,rsize=32768,wsize=32768,retrans=5
All: srtt= 0 ( 0ms), dev= 0 ( 0ms), cur= 0 ( 0ms)



there is not difference between /ocs and /ocs2, where the ocs2 is the good and i have no problem on using as home directory for the nis accounts. when the /ocs is the crappy one.

thank you,
./antonio/.

#
Dennis Handly
Acclaimed Contributor

Re: NFS problem

>yes I have the daemons working:

On both client and server?
antonio elder prado
Regular Advisor

Re: NFS problem

hi Dennis,

yes on the server and on the clients.

strange, right, but the question is why one f.s. i have no problem with it and the other is no good...
still puzzled.

thank you,
./antonio/.