Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Dec 2014 21:06:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 195564] New: [autofs] automount with map "/net -hosts" does not mount nested directories
Message-ID:  <bug-195564-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195564

            Bug ID: 195564
           Summary: [autofs] automount with map "/net -hosts" does not
                    mount nested directories
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: la5lbtyi@aon.at

I have 10.1 running on various systems and tried using the new automounter for
the first time.

For testing, with the stock /etc/auto_master is issued the following commands
on the client:

# service automount onestart
# service automountd onestart
# service autounmountd onestart

The server exports the following filesystems (partial list only):

/
/z/SRC/FreeBSD
/z/SRC/FreeBSD-doc
/z/SRC/FreeBSD-ports
/z/SVN/FreeBSD
/z/SVN/FreeBSD-doc
/z/SVN/FreeBSD-ports

Note that /z, /z/SRC, and /z/SVN are not exported. In fact, the root of the zfs
filesystem hierarchy is mounted elsewhere, and therefore /z cannot be exported
separately. Only starting from the first-level sub-filesystems the zfs
filesystems are mounted under /z.

Now doing
# ls /net/server ==> yields the server's root directory
# ls /net/server/z ==> lists "SRC SVN"
# ls /net/server/z/SRC ==> lists nothing, but should list "FreeBSD FreeBSD-doc
FreeBSD-ports"
# ls /net/server/z/SRC/FreeBSD ==> gives "ls: /net/hal/z/SRC/FreeBSD: No such
file or directory", but should list "head release releng stable"

The third and fourth cases are wrong.

Also, at all times only the server's root directory is mounted, as shown by "df
-t nfs".

-- 
You are receiving this mail because:
You are the assignee for the bug.



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