delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/20/19:50:47

X-Spam-Check-By: sourceware.org
Message-ID: <449889C6.1040107@cygwin.com>
Date: Tue, 20 Jun 2006 19:50:30 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060112 Fedora/1.5-1.fc4.remi Thunderbird/1.5 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.19: Can't export two drives with nfs server
References: <200606201847 DOT 38932 DOT charles DOT nadeau AT gmail DOT com>
In-Reply-To: <200606201847.38932.charles.nadeau@gmail.com>
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

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 
> http://www.csparks.com/CygwinNFS/index.xml 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 192.168.0.0/255.255.255.0(ro, no_root_squash, async)
>     /mnt/e 192.168.0.0/255.255.255.0(ro, no_root_squash, async)
> 
>     $ cat /etc/hosts.allow
>     nfsd: 192.168.0.0/255.255.255.0
> 
>  
> On the Linux side:
> 
>     cat /etc/fstab
>     192.168.0.3:/mnt/c     /charles/diskboxc       nfs 
> nfsvers=2,timeo=14,ro,intr
>     192.168.0.3:/mnt/e     /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                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

--
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