X-Spam-Check-By: sourceware.org Message-ID: <3463433.post@talk.nabble.com> Date: Fri, 17 Mar 2006 12:21:09 -0800 (PST) From: doodsaq To: cygwin AT cygwin DOT com Subject: RE: Problems mounting root filesystem off of NFS In-Reply-To: <3442273.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: doodsaq AT yahoo DOT com X-Nabble-From: doodsaq References: <3441177 DOT post AT talk DOT nabble DOT com> <3D848382FB72E249812901444C6BDB1D03E05220 AT exchange DOT timesys DOT com> <3442273 DOT post AT talk DOT nabble DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Ok, I think I got the uid/gid issue figured out. My server.map file looks like this (I want all the files in my filesystem with tberger1 ownership to show up as root on the client): uid 0 895260 # user id for tberger1 gid 0 10545 # group id for tberger1 uid 0 1007 # user id for Administrator gid 0 513 # group id for Administrator My exports line is as follows: /nfsmount_drop3 (rw,sync,no_root_squash,map_static=/etc/nfs/server.map) From a Linux box, I can mount this and the files look OK (e.g: total 5 drwxr-xr-x 18 root root 0 Mar 15 10:22 . drwxr-xr-x 9 tberger1 tberger1 4096 Mar 17 23:07 .. -rw-r--r-- 1 root root 0 Mar 17 14:09 .autofsck drwxr-xr-x 2 root root 0 Mar 15 10:23 bin drwxr-xr-x 2 root root 0 Mar 3 16:11 boot drwxr-xr-x 4 root root 0 Mar 3 16:28 dev drwxr-xr-x 23 root root 0 Mar 15 10:23 etc drwxr-sr-x 3 root root 0 Mar 15 10:23 home drwxr-xr-x 2 root root 0 Mar 3 16:11 initrd drwxr-xr-x 5 root root 0 Mar 3 16:27 lib drwxr-xr-x 2 root root 0 Mar 3 16:11 mnt drwxr-sr-x 4 root root 0 Mar 15 10:23 opt However, I see a bunch of these errors being logged to /var/log/nfsd.log on the cygwin side: nfsd[3836] 03/17/106 14:18 auth_clnt.c 352 : Unable to seteuid(-2): Invalid argu ment nfsd[3836] 03/17/106 14:18 auth_clnt.c 307 : Unable to setegid(-2): Invalid argu ment nfsd[3836] 03/17/106 14:18 auth_clnt.c 332 : Unable to setgroups: Invalid argume nt nfsd[3836] 03/17/106 14:18 auth_clnt.c 352 : Unable to seteuid(-2): Invalid argu ment When I try to boot my PPC board using this RFS, it gets stuck at runlevel 1, presumably because of these errors (I see them in nfsd.log as the PPC board boots). Any help greatly appreciated, thank you! -- View this message in context: http://www.nabble.com/Problems-mounting-root-filesystem-off-of-NFS-t1293038.html#a3463433 Sent from the Cygwin Users forum at Nabble.com. -- 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/