Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Allegro NFS Server for Microsoft Windows, written in Common Lisp
Common Lisp C Logos Groff NSIS Shell Other
Failed to load latest commit information.
bin Move test code to test/
configure v6.0.0: misc
doc Refinements of README.md
misc Move test code to test/
test Further mac os x build adjustments
.gitignore Tweak dependence on having cygwin binaries in PATH
.modules Remove git.sh; add .modules; bump version to 5.2
CHECKLIST Version 5.0 changes.
Makefile Do not enforce branch for nfs repo in Makefile
README.md v6.0.0: misc
attr.cl 5.3.1: put *executable-types* into config file
bswap.cl See ChangeLog
config-defs.cl Update comments
configure.cl 5.2.2: rfe12517 and performance testing
dir.cl bug22498: Handle illegal filenames
export.cl Working prototype of persistent file handles
fhandle.cl bug22498: Handle illegal filenames
interval.cl Update comments
ipaddr.cl 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/
load.cl 5.3.1: put *executable-types* into config file
locking.cl Update comments
main.cl Update comments
mount.x 4.5.1b4
mountd.cl Update comments
nfs-common.cl v6.0.0: misc
nfs-log.cl Improve comment for bug22497
nfs-shared.cl Update comments
nfs.cfg.default see ChangeLog
nfs.cl bug22498: Handle illegal filenames
nfs.ico bug20376: fix icon
nfs.nsi squeeze out a little of the download size
nfs.x See ChangeLog
nlm.cl Update comments
nlm.x See ChangeLog
nsm.cl Update comments
nsm.x See ChangeLog
openfile.cl v5.2.3: bug21964: use the mtime as the ctime
portmap.cl 5.3.1: put *executable-types* into config file
portmap.x see ChangeLog
rpcgen.cl Update comments
servicelib.nsh 4.3.3b10. see ChangeLog
sunrpc-service.cl Update comments
sunrpc.cl Update comments
sunrpc.x See ChangeLog
telnet.cl Version 5.0 changes.
unicode-file.cl Update comments
utf8.cl Update comments
utils.cl 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
xdr.cl Update comments

README.md

Allegro NFS Server for Windows

Table of contents

Introduction

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.

Installation

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 nfsforwindows.com.

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.

Configuration

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

UNRELEASED CHANGES

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

  • user::*executable-types* now in config file, allows FAQ to be written for experienced users to modify it

  • Added support for persistent file handles for files on NTFS volumes. Non-NTFS files (or inaccessible files on NTFS volumes) still use non-persistent file handles.

  • Allow control over how long file attribute are cached through the configuration GUI.

  • Fixed some input validation bugs in configure program.

  • Fix mounting a subdirectory of an export.

  • File and directory changes on the server weren't see by some clients.

  • 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 max 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.