delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/19/06:22:36

X-Spam-Check-By: sourceware.org
X-VirusChecked: Checked
X-Env-Sender: N DOT Boudin AT neopost DOT com
X-Msg-Ref: server-5.tower-115.messagelabs.com!1150712518!13434972!1
X-StarScan-Version: 5.5.10.7; banners=.,-,-
Subject: RE: Problems with NFS server
MIME-Version: 1.0
Date: Mon, 19 Jun 2006 12:21:58 +0200
Message-ID: <0F788535AE8C7D4CB24CADB2A1BA8AF41B1FDB@server25.nibv.neopost.com>
From: "Nicolas Boudin" <N DOT Boudin AT neopost DOT com>
To: <cygwin AT cygwin DOT com>
Cc: "Sam Robb" <sam DOT robb AT timesys DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k5JAMV0U021929

>   Could you please try adding a map_static directive to your exports?
> It should then look something like this:
> 
> /usr/src/buildroot-20060308/build_arm/root
> 172.16.7.65(rw,map_static=/etc/nfs/server.map,no_root_squash)
> 
>   If you ran the nfs-server-config script to set up the 
> nfs-server, then
> you should already have an /etc/nfs/server.map file that was 
> created for
> you by the setup script.  If not, you can create it, with the 
> following contents:
> 
> ----- CUT -----
> # Sample server map for nfsd
> #
> # This file maps 500/500 on an NFS client to the uid/gid of the
> # user who ran nfs-server-config, and maps 0/0 on an NFS client
> # the uid/gid of the Administrator account.
> #
> # Note that a server map is host-specific (which makes sense,
> # if you think about it...)  So you can only use a plain IP
> # address or DNS name to specify a client that uses a static_map.
> #
> # Examples of valid /etc/exports lines using map_static:
> #
> #   /gaunt   192.168.1.42(map_static=/etc/nfs/server.map)
> #   /chaney  twilley(map_static=/etc/nfs/server.map)
> #
> uid     500     xxxxx   # user id - replace 'xxxxx'
> gid     500     yyyyy   # group id - replace 'yyyyy'
> uid     0       500     # user id for Administrator
> gid     0       513     # group id for Administrator
> ----- CUT -----

This file was properly created with correct xxxxx and yyyyy. For Administrator I had only:
uid 0
gid 0
but the map_static directive don't seem to have any influence on my error.

I have seen that I can transfer files through NFS from the u-boot bootloader on the same board. It looks like it takes more time, there is a latency of about 5 seconds before the beginning of the transfer and at the end, so I tried to play with the timeo option in the kernel arguments, without any effect.

Thank you,

Nicolas

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

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


- Raw text -


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