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] | |
Hello,
I've installed cygwin snapshot 20030203 and run nfs-server-config. After
starting the services, I cannot mount a directory with map_static:
linuxnfsclient:~# mount -o nolock 192.168.0.10:/etc /mnt
mount: wrong fs type, bad option, bad superblock on 192.168.0.10:/etc,
or too many mounted filesystems
The same setup works with Linux server.
/etc/exports looks like this:
/etc 192.168.0.101 (rw,map_static=/etc/s2c.map)
I am able to mount the directory if I use "192.168.0.101
(rw,no_root_squash)" in the exports file; it isn't mounted with, e.g.,
"192.168.0.101 (rw)", giving the same error message. This somewhat
resembles http://marc.theaimsgroup.com/?l=cygwin&m=107367747914042&w=2 .
/etc/s2c.map contains TAB-separated LF-terminated entries like:
uid 0-2 2113
uid 4 2116
... and so on. The latter uids are in /etc/passwd:
/etc/passwd:
root:unused_by_nt/2000/xp:2113:513:U-Z\root,S-1-5-21-1229272821-842925246-1957994488-2113:/home/root:/bin/bash
bin:unused_by_nt/2000/xp:2114:513:U-Z\bin,S-1-5-21-1229272821-842925246-1957994488-2114:/home/bin:/bin/bash
daemon:unused_by_nt/2000/xp:2115:513:U-Z\daemon,S-1-5-21-1229272821-842925246-1957994488-2115:/home/daemon:/bin/bash
lp:unused_by_nt/2000/xp:2116:513:U-Z\lp,S-1-5-21-1229272821-842925246-1957994488-2116:/home/lp:/bin/bash
...
/var/log/mountd.log says nothing relevant (it does complain about
rejected mount attempts and syntax errors in map file).
I would appreciate any help.
Thanks in advance,
Baurjan.
Attachment:
cygcheck.out
Description: Text document
-- 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] |