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: 1.5.19: Can't export two drives with nfs server

Charles Nadeau wrote:
The problem I have is I want to share 2 drives from my Windows machine to my Linux machines. On my Linux machine (kernel 2.6.13, nfs 1.0.6), when I mount the two drives I am exporting, the two mount points show the same content. I am using Cygwin 1.5.19. I followed the instructions here to set-up Cygwin.

Ugh!  Please don't use someone else's directions for setting up *anything* in
Cygwin and then come back to the Cygwin list with problems.  If you're going
to trust that someone else can tell you how to properly configure Cygwin for
your needs, you should consider them as your resource for resolutions to the
problems you encounter.  This list can't be responsible for maintaining
accurate information at every individual's site.  If you expect to get help
from the Cygwin list for your Cygwin problems, use the Cygwin resources
always.  The Cygwin resources are the ones this list supports and those that
the Cygwin community strives hard to keep useful and accurate.

Here are the relevant info/parts of configuration files.
From Cygwin:

$ mount
d:\Program Files\NX Client for Windows\usr\X11R6\lib\X11\fonts on /mnt/NX/fonts
type user (textmode)
C:\Documents and Settings\Charles Nadeau\.nx\temp on /tmp type user (textmode)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /mnt/c type system (binmode)
e: on /mnt/e type system (binmode)
d: on /cygdrive/d type system (binmode,noumount)
f: on /cygdrive/f type system (binmode,noumount)
m: on /cygdrive/m type system (binmode,noumount)
x: on /cygdrive/x type system (binmode,noumount)
y: on /cygdrive/y type system (binmode,noumount)

$ cat /etc/exports /mnt/c, no_root_squash, async) /mnt/e, no_root_squash, async)

    $ cat /etc/hosts.allow

On the Linux side:

cat /etc/fstab /charles/diskboxc nfs nfsvers=2,timeo=14,ro,intr /charles/diskbox nfs nfsvers=2,timeo=14,ro,intr

I think I set up eveything fine. I noticed the problem because whenever I do "ls /charles/diskbox", I get the content of /charles/diskboxc. Doing "ls /charles/diskboxc" returns the right result.

I seem to recall this at least *was* an issue for the NFS server.  You can
check the email archives and/or the NFS Cygwin README for more details.

-- Larry Hall RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746

Unsubscribe info:
Problem reports:

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