linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gregory Magoon <gmagoon@MIT.EDU>
To: linux-nfs@vger.kernel.org
Subject: NFSv4 vs NFSv3 with MPICH2-1.4
Date: Thu, 28 Jul 2011 15:23:06 -0400	[thread overview]
Message-ID: <20110728152306.219iz5wpkcokoo4c@webmail.mit.edu> (raw)

Hi,
I have been having issues when running MPICH2-1.4 on a NFSv4 filesystem (they
both seem to work fine on their own). When I mount as NFS version 4, I get lots
of NFS traffic on my internal network (seen when I run sudo iftop -i eth1) and
the mpich2 tests time out or give i/o errors. However, when I mount the NFS as
version 3, the MPICH2 tests seem to work without any major problems. Even
though I can get this working by switching to NFSv3, I would like to get MPICH2
working with NFSv4, if possible. Is there something in my NFS configuration (see
below) that is not possible with NFSv4 or is this some sort of conflict between
MPICH2-1.4 and NFSv4?

Thanks,
Greg


Here is the /etc/exports on the NFS server:
/usr/local 192.168.2.0/24(async,fsid=1,ro,no_root_squash,no_subtree_check)
/home 192.168.2.0/24(async,fsid=2,rw,no_root_squash,no_subtree_check)

Here are the NFS mounting details from "nfsstat -m":

NFSv4 (hangs and times out, with large quantity of NFS traffic):
 /home from 192.168.2.11:/home/
 Flags:
 rw,relatime,vers=4,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,port=0,timeo=20,retrans=32,sec=sys,clientaddr=192.168.2.1,minorversion=0,local_lock=none,addr=192.168.2.11

/usr/local from 192.168.2.11:/usr/local/
 Flags:
 ro,relatime,vers=4,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,port=0,timeo=20,retrans=32,sec=sys,clientaddr=192.168.2.1,minorversion=0,local_lock=none,addr=192.168.2.11

NFSv3 (works; mounted in fstab same as above except with nfs replacing nfs4 and
 nfsv and an extra option nfsvers=3):
 /home from 192.168.2.11:/home
 Flags:
 rw,relatime,vers=3,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=20,retrans=32,sec=sys,mountaddr=192.168.2.11,mountvers=3,mountport=55359,mountproto=udp,local_lock=none,addr=192.168.2.11

/usr/local from 192.168.2.11:/usr/local
 Flags:
 ro,relatime,vers=3,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=20,retrans=32,sec=sys,mountaddr=192.168.2.11,mountvers=3,mountport=55359,mountproto=udp,local_lock=none,addr=192.168.2.11



             reply	other threads:[~2011-07-28 19:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-28 19:23 Gregory Magoon [this message]
2011-07-28 20:58 ` NFSv4 vs NFSv3 with MPICH2-1.4 Trond Myklebust
2011-07-28 21:24   ` Gregory Magoon
2011-07-28 21:47     ` Trond Myklebust
2011-07-28 22:01       ` Gregory Magoon
2011-07-28 22:31         ` Boaz Harrosh
2011-07-28 23:15           ` Gregory Magoon
2011-07-30  3:19             ` Boaz Harrosh
2011-07-30  3:56               ` Loewe, Bill
2011-08-02 16:19                 ` Gregory Magoon
2011-08-09 23:15                   ` Gregory Magoon
2011-08-10  0:54                     ` Boaz Harrosh
2011-07-29 14:51       ` J. Bruce Fields

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110728152306.219iz5wpkcokoo4c@webmail.mit.edu \
    --to=gmagoon@mit.edu \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).