1.5.19: Can't export two drives with nfs server

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Wed Jun 21 00:18:00 GMT 2006


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/



More information about the Cygwin mailing list