This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problems mounting root filesystem off of NFS


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]