Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  5 Oct 1999 15:11:20 -0700 (PDT)
From:      jk@cais.net
To:        freebsd-gnats-submit@freebsd.org
Subject:   i386/14146: NFS mount bug which prevents mounting of similarly named filesystems
Message-ID:  <19991005221120.5F12E14F49@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         14146
>Category:       i386
>Synopsis:       NFS mount bug which prevents mounting of similarly named filesystems
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct  5 15:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jay Kuri
>Release:        FreeBSD 3.1 and later
>Organization:
CAIS Internet
>Environment:
FreeBSD lol.cais.net 3.1-RELEASE FreeBSD 3.1-RELEASE #9: Mon Sep 20 14:31:41 EDT 1999     jk@lol.cais.net:/usr/src/sys/compile/LOL  i386
>Description:
If you export two directories via NFS with similar names, IE: both the
same except for one has some extra characters at the end:

Example:  /usr/nfs
	  /usr/nfsshare

Clients will not be permitted to mount /usr/nfsshare.  If you place them
both on the same line, or comment out the first, the second will be
allowed.  My guess is that this has something to do with the 
subdirectory-checking code.
>How-To-Repeat:
Create two directories anywhere, say: /usr/nfs and /usr/nfsshare
and export them both.  Then try to mount /usr/nfsshare on another client.
It will fail.  Comment out the /usr/nfs line and try again (after 
restarting mountd) and you will be able to mount it.
>Fix:
Workaround: If you need to mount them both to one set of clients, put
them on the same line, otherwise, no solution.


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991005221120.5F12E14F49>