This is the mail archive of the
mailing list for the Cygwin project.
Re: Problems with nfs
- From: Fedin Pavel <p dot fedin at samsung dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 24 Apr 2012 11:19:05 +0400
- Subject: Re: Problems with nfs
- References: <4F9639D5.email@example.com>
On 24.04.2012 9:27, Fedin Pavel wrote:
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.
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?
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.
Expert engineer, Samsung Moscow research center
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple