Configuration Mode Commands : SteelHead Configuration Commands : NFS Support Commands : protocol nfs server
  
protocol nfs server
Configures settings for the specified NFS server.
Syntax
[no] protocol nfs server <name> {default volume {enable | perm-cache | policy {custom | global-rw | read-only} | root-squash| direntrymap | ip <address> | policy {custom | global-rw | read-only} | read-ahead {small-files | transfer-size <size>} | read-dir {optimize | read-size <size>} | threshold multiple <multiple> | volume id <fsid> [perm-cache | policy {custom | global-rw | read-only} | root-squash] | write {optimize | max-data <max>}}
Parameters
<name>
Name of the NFS server.
default volume enable
Enables defaults to be used by all volumes on the server.
default volume perm-cache
Enables the permission cache.
default volume policy <type>
Specifies the default volume policy type:
•  custom - Enables you to turn on or off the root squash feature for NFS volumes from this server.
•  global-rw - Specifies global read-write policy. This policy provides a trade-off of performance for data consistency. All of the data can be accessed from any client, including LAN based NFS clients (which do not go through the SteelHeads) and clients using other file protocols like CIFS. This option severely restricts the optimizations that can be applied without introducing consistency problems. This is the default configuration.
•  read-only - Any client can read the data on the NFS server or volume but cannot make changes.
default volume root‑squash
Enables root-squashing by default on new volumes. Root-squashing allows an NFS server to map any incoming user ID 0 or guest ID 0 to another number that does not have super user privileges, often -2 (the nobody user).
direntry-map
Enables the directory entry map.
ip <address>
Specifies the IP address of the NFS server.
policy <policy>
On the NFS server, sets one of the following policies:
•  custom - Enables you to turn on or off the root squash feature for NFS volumes from this server.
•  global-rw - Specifies global read-write policy. This policy provides a trade-off of performance for data consistency. All of the data can be accessed from any client, including LAN based NFS clients (which do not go through the SteelHeads) and clients using other file protocols like CIFS. This option severely restricts the optimizations that can be applied without introducing consistency problems. This is the default configuration.
•  read-only - Any client can read the data on the NFS server or volume but cannot make changes.
read-ahead {small-files |transfer-size <size>]
Enables read-ahead for small files; sets the transfer size in bytes.
read-dir [optimize | read-size <size>]
Enables read optimization for the directory and sets the read size in bytes.
threshold multiple <multiple>
Specifies the threshold multiple.
volume id <fsid>
Specify the file system volume identification (ID).
volume id <fsid> policy [custom | global-rw | read-only]
Specify the file system ID and policy. On the specified volume, sets one of the following policies:
•  custom - Enables you to turn on or off the root squash feature for NFS volumes from this server.
•  global-rw - Specify a policy that provides a trade-off of performance for data consistency. All of the data can be accessed from any client, including LAN based NFS clients (which do not go through the SteelHeads) and clients using other file protocols like CIFS. This option severely restricts the optimizations that can be applied without introducing consistency problems. This is the default configuration.
•  read-only - Any client can read the data on the NFS server or volume but cannot make changes.
volume id <fsid> root-squash
Enables root-squashing on the specified volume.
write [optimize | max-data <max>
Enables write optimization for the directory; sets the maximum write size in bytes.
Usage
NFS objects have owners and permissions and the NFS optimizer conforms to the file system permissions model by enforcing file server and volume policies.
The no command option disables the NFS server.
Example
amnesiac (config) # protocol nfs server exampleserver volume id 21
Product
SteelHead CX, SteelHead EX, SteelHead-v, SteelHead-c
Related Commands
show protocol nfs