Server for NFS maintains a cache of directory information that it can search instead of directories on the physical disk. By default, this cache is configured to use 128 KB of memory per directory that Server for NFS caches. You can change the amount of memory that the directory cache uses by configuring the folder cache size using the command prompt.

Changing the directory cache memory setting

The following procedure describes how to adjust the amount of memory the directory cache uses.

To configure the folder cache size using the command prompt
  1. Open a command prompt with elevated privileges.

    1. Click Start, and then click All Programs.

    2. Point to Accessories, right-click the Command Prompt icon, and then click Run as administrator.

  2. Type the following:

    nfsadmin server [\\remoteMachineName] config dircache=size

    Value Description

    remoteMachineName

    The name of the computer you want to configure.

    size

    The size in kilobytes (KB) to set the directory cache to. The default size is 128 KB.

Notes
  • To view the complete syntax for this command, at a command prompt, type:
  • nfsadmin server /?