Linux Automounter - improved

So the NFS group at Sun has run into interesting situations where a customer has deployed both Solaris and Linux clients, but can't use the more advanced Solaris automounter features simply because they've never been implemented on Linux.

Enter Mike Waychison and his efforts. Oh yeah, this is GPL.

This is good for Linux and this is good for NFS.

So what features are being added?

  • Direct Mounts
  • /net (--hosts access)
  • Lazy mounting of hierarchal / multimounts
  • Lazy unmounting of hierarchal / multimounts
  • Browsing

    Currently this is the 0.4 release of AutofsNG.

    BK trees at: http://autofsng.bkbits.net

    Tarballs are available by FTP:
    ftp://ftp-eng.cobalt.com/pub/users/ssmith/autofsng/0.4/

    Details:

    CHANGES
    - -------

    0.3.1 -> 0.4
  • Kernel automount trapping is now interruptible
  • Expiry fixes for multimounts with > ~1024 entries
  • Agent cleanup, less likelyhood of the agent leaving garbage in /tmp
  • Moved MOUNTPROG xdr generation into the build so we don't rely on librpcsvc.a
  • MOUNTFD is now closed before exec()ing mount(8): killing the agent alone now cancels an automount trap and lookup for userspace.
  • xprt sharing added: Multiple NFS mounts to the same server use a single tcp/udp connection. (allows for > 800 nfs mounts)
  • The kernel mapcache used for browsing now uses it's own slab cache to save a couple bytes.
  • Memory leaks plugged in the kernel browse mapcache.

    KNOWN ISSUES
    - ------------

  • Default mount options in auto.master are currently ignored.
  • Default timeout / timeout on the command line are ignored (all mounts timeout after 10 seconds).
  • The parser may be a little too strict for some maps that use non-nfs(ipv4) mounts.
  • Many applications are broken because they don't understand what a direct mount is (and thus trample into them).
  • The kernel code is hard-coded to use '/sbin/autofsng' to perform the mounts. (installing it anywhere else won't work).
  • Only x86 has syscall table entries at present.

    (patches welcome :)

  • Comments:

    Post a Comment:
    Comments are closed for this entry.
    About

    erickustarz

    Search

    Categories
    Archives
    « April 2014
    SunMonTueWedThuFriSat
      
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
       
           
    Today