delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/24/03:19:47

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Tue, 24 Apr 2012 11:19:05 +0400
From: Fedin Pavel <p DOT fedin AT samsung DOT com>
Subject: Re: Problems with nfs
In-reply-to: <4F9639D5.60200@samsung.com>
To: cygwin AT cygwin DOT com
Message-id: <4F9653E9.2090307@samsung.com>
MIME-version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:10.0) Gecko/20120206 Thunderbird/10.0
References: <4F9639D5 DOT 60200 AT samsung DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 24.04.2012 9:27, Fedin Pavel wrote:
>
>  Also, why does nfs access appear to be so horribly slow? Loading a 
> directory with ~150 files takes about two minutes in mc. I understand 
> fork() issue, but what are problems with just reading files descriptors?
>
  I resolved the problem with slowness. This appeared to happen because 
of seteuid() error (discovered in logs). Local system account on Win7 
doesn't have token creation/change rights. I fixed this by creating own 
local user with sufficient privileges and running nfsd under this 
account. BTW, may be you should add remark about this particularity into 
nfs-server.README file? It's not obvious, because the system works, just 
very slowly. The user might think it's okay.
  But RPC problem didn't go away. I tried to run portmapd under the same 
user with no positive result. The first thing client says is:
pmap_getmaps.c: rpc problem: RPC: Unable to receive; errno = Connection 
reset by peer
  I tried to completely turn off Windows firewall, again with no effect. 
So i still have to restart portmap service after i log in into the 
system in order to get NFS working.
  And one more little but annoying thing. All files on Linux site appear 
to have owner and group id == 42949672. However access control works 
correctly (i didn't modify any Cygwin mounts and i have ACLs turned on). 
/etc/nfs/server.map is set up correctly (i guess so, because access 
control works, i can read write and execute my files). Looks like it's 
some problem with reverse mapping.

-- 
  Kind regards
  Pavel Fedin
  Expert engineer, Samsung Moscow research center


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019