Skip to content
Allegro NFS Server for Microsoft Windows, written in Common Lisp
Common Lisp C Logos Groff NSIS Makefile Other
Latest commit 349a215 @dklayer dklayer 6.1.beta.4: pick new aclmalloc heap loc
Windows 10 doesn't like the default aclmalloc heap location.
Try something new based on experiments with a customer's Windows 10 machine
and thor.

Also, make release_suffix optional, and change how the tag name is
Failed to load latest commit information.
bin Move test code to test/
configure Use ACL 10.0.
doc Refinements of
misc Move test code to test/
test Added tests for bug23531 and bug23532
.gitignore Tweak dependence on having cygwin binaries in PATH
.modules Remove; add .modules; bump version to 5.2
CHECKLIST Version 5.0 changes.
Makefile 6.1.beta.4: pick new aclmalloc heap loc improvements 5.3.1: put *executable-types* into config file See ChangeLog Update comments 5.2.2: rfe12517 and performance testing bug22498: Handle illegal filenames Working prototype of persistent file handles Comment and docstring improvements. Update comments Update comments
license-demo.txt Version 5.0 changes.
license-paid.txt Version 5.0 changes.
license.readme Version 5.0 changes.
license.txt Move documentation into doc/ Turn on telnet server for beta Update comments Handle ENOSPC properly
mount.x 4.5.1b4 Update comments 6.1.beta.4: pick new aclmalloc heap loc Improve comment for bug22497 Update comments
nfs.cfg.default see ChangeLog bug23531/bug23532 Fixes
nfs.ico bug20376: fix icon
nfs.nsi squeeze out a little of the download size
nfs.x See ChangeLog Update comments
nlm.x See ChangeLog Update comments
nsm.x See ChangeLog v5.2.3: bug21964: use the mtime as the ctime 5.3.1: put *executable-types* into config file
portmap.x see ChangeLog Update comments
servicelib.nsh 4.3.3b10. see ChangeLog Update comments Update comments
sunrpc.x See ChangeLog Version 5.0 changes. bug23531/bug23532 Fixes Update comments Update comments
xdr-get-signed-int.lap Adding a nop to the lap code to conform with 9.0
xdr-store-signed-int.lap Adding a nop to the lap code to conform with 9.0 Update comments

Allegro NFS Server for Windows

Table of contents


The repo contains the source code for Allegro® NFS Server for Microsoft Windows®, written in Allegro Common Lisp. The author is Ahmon Dancy, with help from Elliott Johnson, Kevin Layer, and Jeremiah Rothschild.

It was inspired by our dissatisfaction with current free and commercial NFS Servers for Windows available on the market, and the incredible technical difficulties we faced in configuring them on Windows.

It runs on Microsoft Windows XP and later (including Windows 8 and Server 2003, 2008 and 2012).

This source code is licensed under the terms of the Lisp Lesser GNU Public License, known as the LLGPL. The LLGPL consists of a preamble and the LGPL. Where these conflict, the preamble takes precedence. This project is referenced in the preamble as the LIBRARY.


This software is open source, however some of the tools needed to build it are not. You can purchase a supported binary copy of this software or download an evaluation version from

To build this software, you need Cygwin (for GNU make) and Allegro Common Lisp 9.0 (32-bit, non-SMP). The installer is written in NSIS.

To build:

make all

To install:

make install

The install step expects that cygwin has C:\ mounted as /c. It is also possible to build an installer via:

make installer

This will produce an exe file that can be used to install.


See the documentation for more information on how to configure nfs.

Also see doc/configuration.txt.

Once your exports are configured it's possible to mount them. Please consult your client platform's documentation on how to mount the exported NFS shares.

Release Notes


The changes in this section will appear in the release of Allegro NFS

  • When constructing file mode bits for reporting to an NFS client, Allegro NFS uses the filename extension to determine if the file should have the executable (x) bits set. Previously only files with extension .exe, .com, or .bat were marked executable. This list is now adjustable by modifying nfs.cfg and adding an entry for executable-types. This operation should only be performed by advanced users.

  • Added support for persistent file handles for files on NTFS volumes. This means that you can restart Allegro NFS or the machine that it is running on and not suffer stale NFS file handle errors on the client. Non-NTFS files (or inaccessible files on NTFS volumes) still use non-persistent file handles are still subject to stable NFS file handle errors after restarts.

  • Allow control over how long file attribute are cached through the configuration GUI. See the "File attribute caching time" setting in the "Global" tab of the Allegro NFS configuration program.

  • Fixed some input validation bugs in the Allegro NFS configuration program.

  • Fixed mounting a subdirectory of an export. For example, if you have an export named "/export" which has a subdirectory named "files", then mounting :/export/files from an NFS client now works properly.

  • File and directory changes on the server weren't seen by some clients. This would make files appear to be static even though they had been modified on the server.

  • Configuration for "Host lists" allows host names in the "New address" field. When loading the configuration and resolving the host names, users will be warned if the conversion of saved host names fails, and the host name will be ignored.

  • Some previously invisible files are now seen by clients, such as in the roots of filesystems, "System Volume Information" and "pagefile.sys".

  • File attributes are cached for a maximum of 5 seconds. Prior to this change, the expiration for cached file attributes would be extended each time they were accessed. This could be a problem in the following scenario:

    • an NFS client is repeatedly calling stat() on a file to see if its attributes had changed, and

    • the attributes of the file were altered outside of Allegro NFS's knowledge.

    In this case the new file attributes would never be returned, at least not until the client stopped probing for a sufficiently long time.

  • Use higher precision timestamps in log messages, enabled via an option on the debug tab.

  • Change default statfs blocksize from 8192 to 512. This improves compatibility with some broken NFS clients which do not work properly if the blocksize is not 512.

  • Minor change to showmount output.

Version 5.1, 1 Aug, 2011

  • performance improvements
  • minor license changes
  • new: toggling of response to showmount requests.
  • new: configurable log rotation. Defaults to previous behavior.
  • new: directory and file caching duration is now configurable.
  • fix: interoperability fixes with VMware ESXi.
  • fix: hanging of the server and 100% cpu usage problems are removed.
  • fix: moving the error log into the install directory.
  • fix: proper locking around exports and logging operations.
  • small modifications to icons.

Version 5.0, 22 Feb, 2010

  • performance improvements
  • better support Windows Vista/7
  • new: support for symbolic links
  • new: support for international filenames (UTF-8)
  • new: support for mount protocol version 2
  • new console separate from service, that is shows log info
  • added NLM and NSM debug options
  • add date to timestamp logging
  • New option *nfs-set-mtime-on-write* allows users to work around Windows' funny behavior with respect to file modification times. Normally Windows does not update the mtime on a file until the file is closed. Since Allegro NFS keeps a file open while it is actively being written-to, a Windows program periodically checking the mtime of the file will not be able to tell that the file is actually being modified until the file is closed. Updating the mtime during every write access suffers about a 10% penality so the option is disabled by default.
  • improvements to hard link support
  • better compatibility between UNIX and Windows-style locking
  • improved interoperatibility with several UNIX clients
  • many other small improvements and fixes

Version 4.5, 20 June, 2007

  • Windows Vista Support
  • Many interoperability fixes and bug fixes
  • Improved locking support
  • NLM and NSM port numbers can now be set manually

Version 4.4, 29 Aug, 2006

  • NFS lock support
  • Bug fixes
  • Enhanced debugging

Version 4.3, 27 Oct, 2005

  • Installs on systems with Windows Data Execution Prevention (DEP) turned on
  • allow specification of mountd port number for dealing with firewall issues
  • made mountd subprocess more robust in the face of malformed RPC messages
  • adjusted the logging of some "normal" error conditions so they look less alarming
  • better performance
  • bug fixes

Version 4.0, 10 Aug, 2005

  • NFS protocol V3 support
  • large file support
  • better performance
  • Hard link creation support

Version 3.0, 22 Apr, 2004

  • handle UNC pathnames
  • added "use system portmapper" option
  • improved performance

Version 2.0, 24 Feb, 2004

  • new configuration utility

Version 1.1.4, 3 Jul, 2003

  • improved interoperability with some clients
  • configuration option for altering mode bits

Version 1.1.3, 21 Mar, 2003

  • bug fixes

Version 1.1.1, 23 Jan, 2003

  • Improvements of handling the NFS services

Version 1.0.36, 23 Sep, 2002

  • bug fixes

Version 1.0.33, 27 Feb, 2002

  • initial release

Implementation Notes

The following files in the doc subdirectory have various information related to understanding how to debug and understand the product:

  • access-control.txt - info on controlling access to the nfs server
  • configuration.txt - info on configuration
  • debugging.txt - notes on debugging
  • notes.txt - implementation notes
  • profiling.txt - how to profile the server
  • testing.txt - information on testing
  • todo.txt - old and new todo information.
Something went wrong with that request. Please try again.