Changing the directory cache memory setting

Applies To: Windows Server 2003 R2

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 kilobytes (KB) of memory per directory that Server for NFS caches. However, you can reduce the amount of memory that the directory cache uses. You can do this by configuring the folder cache size using the command line.

To configure the folder cache size using the command line

  1. Open the command prompt.

  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.

Note

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