[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

NFS mount

Posted on 2009-02-19
5
Medium Priority
?
929 Views
Last Modified: 2013-12-06
i hve mounted mounted as 192.168.1.1:/grabs on /tmp/grabs type nfs (rw)


problem is that....

I canot copy a file inside /tmp/grabs to /  i am logined as root.

file size is 4 MB ...its hanging ....

when i checked error log is shows ...

Feb 19 08:11:57  kernel: nfs: server not responding, still trying

but already mounted with rw permission

another thing i am not able to touch a  file inside /tmp/grabs



0
Comment
Question by:supportpro
  • 3
  • 2
5 Comments
 

Author Comment

by:supportpro
ID: 23683160
One thing i noticed

# rpcinfo -u nfs.data.com llockmgr
rpcinfo: RPC: Program not registered
program 100020 is not available


#uname -ar
Linux 2.4.21-47.0.1.ELsmp #1 SMP Fri Oct 13 17:56:20 EDT 2006 i686 i

Help is appriated
0
 
LVL 62

Expert Comment

by:gheist
ID: 23688799
Can you post output of "rpcinfo -p nfs.data.com"?
Normally nfsd+mountd+portmap are sufficient, and other services are worked around if not badly broke. But you can try launching (nfs)lock(mgr) if possible.
Is any firewall involved? Does changing from UDP to TCP help?
0
 

Author Comment

by:supportpro
ID: 23690957
#rpcinfo -p nfs.data.com

   program vers proto   port
 536870919    3   tcp  12345
 536870919    1   tcp  12345
 536870919    3   udp  12345
 536870919    1   udp  12345
    102660    1   udp  52657
    102660    1   tcp  55159
 824395111    1   tcp  52989
 824395111    1   udp  56068
    100011    1   tcp  64223  rquotad
    100011    1   udp  57438  rquotad
 536870914    1   udp   4658
 536870914    1   tcp   4658
    100021    3   udp  50407  nlockmgr
    100021    2   udp  50407  nlockmgr
    100021    1   udp  50407  nlockmgr
    100021    4   udp  50407  nlockmgr
    100021    3   tcp  59213  nlockmgr
    100021    2   tcp  59213  nlockmgr
    100021    1   tcp  59213  nlockmgr
    100021    4   tcp  59213  nlockmgr
    100024    1   udp  58010  status
    100024    1   tcp  58010  status
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    140391    1   udp  31491
    100005    3   tcp   1234  mountd
    100005    2   tcp   1234  mountd
    100005    1   tcp   1234  mountd
    100005    3   udp   1234  mountd
    100005    2   udp   1234  mountd
    100005    1   udp   1234  mountd
    100000    2   udp    111  portmapper
    100000    2   tcp    111  portmapper


# rpcinfo -u nfs.data.com llockmgr
rpcinfo: RPC: Program not registered
program 100020 is not available

I am able to mount  but when i copy content to some other folder it hangs

Can i do anything from client machiine... i dont have access to nfs server
0
 
LVL 62

Accepted Solution

by:
gheist earned 1500 total points
ID: 23691458
You can use tcpdump:
tcpdump -w dumpfile -s 1600 -c 100000 host server_ip
(repeat problem)
gzip dumpfile
then open resultant file in wireshark.
Maybe server logs tell something, but traffic analysis is best you can do on client side.
I am out of ideas given current input. Altering TCP <-> UDP usually helps.
0
 

Author Closing Comment

by:supportpro
ID: 31548750
answer helped
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month18 days, 20 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question