From: AK Subject: Re: POSIX I/O on NFS with noac option Date: Thu, 12 Apr 2007 10:42:48 -0700 (PDT) Message-ID: <757173.20715.qm@web56601.mail.re3.yahoo.com> References: <1176397807.6664.9.camel@heimdal.trondhjem.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1739886279==" Cc: nfs@lists.sourceforge.net To: Trond Myklebust Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1Hc3Js-0002JP-Oz for nfs@lists.sourceforge.net; Thu, 12 Apr 2007 10:42:53 -0700 Received: from web56601.mail.re3.yahoo.com ([66.196.97.45]) by mail.sourceforge.net with smtp (Exim 4.44) id 1Hc3Ju-0002Y6-O6 for nfs@lists.sourceforge.net; Thu, 12 Apr 2007 10:42:55 -0700 In-Reply-To: <1176397807.6664.9.camel@heimdal.trondhjem.org> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net --===============1739886279== Content-Type: multipart/alternative; boundary="0-3497556-1176399768=:20715" Content-Transfer-Encoding: 7bit --0-3497556-1176399768=:20715 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thank you Trond for your reply ...=20 =20 >>1) Why would you need the 'noac' flag if you are using locking? part of the requirement for MPI-IO to work correctly on NFS mounts. =20 >>2) Have you checked that the portmapper, rpc.statd and rpc.lockd are >>accessible from the client? You can probe that using the commands =20 On Client I have checked that portmap(rpc) rpc.statd(rpcuser) and lockd= (root) is running but not rpc.lockd =20 On server, there is no portmap, rpc.statd, rpc.lock nor lockd running.=20 =20 Upon the following probes on CLIENT I get the following >> >>rpcinfo -t status >>and >>rpcinfo -t nlockmgr >> # rpcinfo -t status rpcinfo: RPC: Program not registered program 100024 is not available =20 # rpcinfo -t nlockmgr rpcinfo: RPC: Program not registered program 100021 is not available =20 >>if you are using UDP mounts, you might want to use >> >>rpcinfo -u status >>and >>rpcinfo -u nlockmgr # rpcinfo -u status rpcinfo: RPC: Program not registered program 100024 is not available =20 # rpcinfo -u nlockmgr rpcinfo: RPC: Program not registered program 100021 is not available =20 >>instead... Some info from SERVER=20 # rpcinfo -u localhost nfs program 100003 version 2 ready and waiting program 100003 version 3 ready and waiting =20 # rpcinfo -p | grep nfs 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100227 2 udp 2049 nfs_acl 100227 3 udp 2049 nfs_acl 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100227 2 tcp 2049 nfs_acl 100227 3 tcp 2049 nfs_acl # modinfo | egrep "nfs|lock" 42 7828855a 1d3e 87 1 todds1287 (ds1287 clock driver 1.8) 156 78428000 2b018 106 1 nfs (NFS syscall, client, and common) 156 78428000 2b018 106 1 nfs (NFS syscall, client, and common) 156 78428000 2b018 16 1 nfs (network filesystem) 156 78428000 2b018 7 1 nfs (network filesystem version 2) 156 78428000 2b018 17 1 nfs (network filesystem version 3) 159 78458000 12881 - 1 nfssrv (NFS server module) =20 >>Trond Form the above outputs it doesn't look like they are running. Is this req= uired, if yes, then=20 how do I turn them ON. And Why didn't we requires it for general purpos= e NFS use ?? We have been running this server for about 2 years now.=20 =20 ~thanks -ak =20 --------------------------------- Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. --0-3497556-1176399768=:20715 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Thank you Trond for your reply ...
 
&= gt;>1) Why would you need the 'noac' flag if you are using locking?part of the requirement for MPI-IO to work correctly on NFS mounts.

>>2) Have you checked that the portmapper, rpc.statd an= d rpc.lockd are
>>accessible from the client? You can probe that= using the commands
 
On Client I have check= ed that portmap(rpc) rpc.statd(rpcuser) and lockd(root) is= running but not rpc.lockd
 
On server, ther= e is no portmap, rpc.statd, rpc.lock nor lockd running.
 
Upon the following probes on CLIENT I get the followi= ng
>>
>>rpcinfo -t status
>>and>>rpcinfo -t nlockmgr
>>
# rpcinf= o -t <myserver> status
rpcinfo: RPC: Program not registered=
program 100024 is not available
 
# rpcinfo -t <myserver&= gt; nlockmgr
rpcinfo: RPC: Program not registered
program 100021 is= not available

>>if you are using UDP mounts, you m= ight want to use
>>
>>rpcinfo -u status
= >>and
>>rpcinfo -u nlockmgr
# = rpcinfo -u <myserver> status
rpcinfo: RPC: Program not regi= stered
program 100024 is not available
 
= # rpcinfo -u <myserver> nlockmgr
rpcinfo: RPC: Program not = registered
program 100021 is not available

>>ins= tead...
Some info from SERVER
# rpcinfo= -u localhost nfs
program 100003 version 2 ready and waiting
progra= m 100003 version 3 ready and waiting
 
# rpc= info -p | grep nfs
    100003    2 =   udp   2049  nfs
    100003    3   udp&nbs= p;  2049  nfs
    100227    2&= nbsp;  udp   2049  nfs_acl
    1002= 27    3   udp   2049  nfs_acl
=     100003    2   tcp  = 2049  nfs
    100003    3 &nb= sp; tcp   2049  nfs
    100227 &nbs= p;  2   tcp   2049  nfs_acl
  =   100227    3   tcp   2049  = nfs_acl
# modinfo | egrep "nfs|lock"
 42 7828855a&nbs= p;  1d3e  87   1  todds1287 (ds1287 clock driver= 1.8)
156 78428000  2b018 106   1  nfs (NFS syscal= l, client, and common)
156 78428000  2b018 106   1 = ; nfs (NFS syscall, client, and common)
156 78428000  2b018  16   1  nfs (ne= twork filesystem)
156 78428000  2b018   7   1=   nfs (network filesystem version 2)
156 78428000  2b018&nbs= p; 17   1  nfs (network filesystem version 3)
159 78458= 000  12881   -   1  nfssrv (NFS server modu= le)

>>Trond
Form the above outputs it doesn= 't look like they are running. Is this required, if yes, then
how do I turn them ON. And Why didn't we requires it for general purpos= e NFS use ?? We have been running this server for about 2 years now.
 
~thanks -ak


Sucker-punch spam with award-winning prot= ection.
Try the free Yahoo! Mail Beta. --0-3497556-1176399768=:20715-- --===============1739886279== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV --===============1739886279== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs --===============1739886279==--