HP StorageWorks Enterprise File Services WAN Accelerator 3.0.4 Command-Line Interface reference manual (AG421-96004, March 2007)

HP STORAGEWORKS EFS WAN ACCELERATOR COMMAND-LINE INTERFACE REFERENCE MANUAL 169
4 - CONFIGURATION-MODE
C
OMMANDS
policy [custom | global_rw | home_dir] 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.Root-squashing allows an NFS server
to map any incoming user ID 0 or guest ID 0
to another number that does not have
superuser privileges, often -2 (the nobody
user).
Global Read-Write. Specifies 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 HP EFS
WAN Accelerators) 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.
Home Directory. Specifies all accesses to
each directory are by a single user. This policy
allows aggressive caching of data and
metadata.
read-ahead [small-files <cr> |transfer-
size <size>]
Enables read-ahead for small files; sets the
transfer size in bytes.
read-dir [optimize <cr> | 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> <cr> Specifies the file system volume identification
(ID).
volume id <fsid> policy [custom |
global_rw | home_dir]
Specifies 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. Root-squashing allows an NFS server
to map any incoming user ID 0 or guest ID 0
to another number that does not have
superuser privileges, often -2 (the nobody
user).
Global Read-Write. Specifies 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 HP EFS
WAN Accelerators) 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.
Home Directory. Specifies all accesses to
each directory are by a single user. This policy
allows aggressive caching of data and
metadata.
volume id <fsid> root-squash Enables root-squashing on the specified volume.
write [optimize <cr> | max-data <max> Enables write optimization for the directory;
sets the maximum write size in bytes.