Chapter 8: Configuring NFS and CIFS Clients
Configuring Linux NFS Clients
34
Lattus A10 Access Node User’s Guide
• Here is an example /etc/vfstab entry for a Solaris NFS client that
includes the “forcedirectio” mount option:
[Your Lattus A10 hostname or IP Address]:/stornext/
snfs1/NFSshare01 - /nfs/stornext/snfs1/NFSshare01 nfs 0
yes
proto=tcp,vers=3,wsize=1048576,rsize=1048576,forcedirec
tio
Once the fstab/vfstab has been updated, run the following commands
to mount the share.
• mkdir -p /nfs/stornext/snfs1/NFSshare01
• mount /nfs/stornext/snfs1/NFSshare01
If you receive errors when trying to mount NFS shares, double-check the
entry in the fstab/vfstab file to ensure that the IP address, path, and
arguments are correct.
Notes on mount options
: NFS version 3 should be specified as well as
TCP. In addition, the read and write maximum request sizes should be
set to
1MB
. And, for best performance, the
sync
(Linux and most Unix
versions) or
forcedirectio
(Solaris) options should be used, provided
that the ingest application generally does I/O in a block size that is a
multiple of 1MB (although occasional non-compliant writes such as
when ingesting the tail end of a file will not significantly affect
performance). If the primary ingest applications perform writes in
chunks smaller than 64K and cannot be modified, the sync and
forcedirectio options should not be used.
The Linux and Solaris
cp
commands will both perform compliant writes
by default when operating on a StorNext file system over NFS. Other
programs might need to run with special options. For example, the
UNIX
tar
command should be run with
-b 2048
.
Commands such as
strace
(Linux) and
truss
(Solaris) can be run against
the ingest application to determine the size of writes being performed.
Note:
The use of NFS clients running RHEL4 or earlier, SLES9 or earlier,
and Solaris-9 or earlier is not recommended.
Summary of Contents for Lattus A10
Page 1: ...User s Guide Lattus A10 Access Node 6 68018 03 Rev A...
Page 6: ...Contents vi Lattus A10 Access Node User s Guide...
Page 12: ...Chapter 3 Product Overview 6 Lattus A10 Access Node User s Guide...
Page 16: ...Chapter 5 Lattus A10 Access Node Licensing 10 Lattus A10 Access Node User s Guide...