Installation manual

Configuring Front-End Services
Configuring NFS
CLI Storage-Management Guide 11-3
From gbl-nfs mode, you must export at least one namespace volume and then enable
the NFS service, as described in the following subsections.
Exporting a Namespace Volume
If a namespace volume is configured for NFS, you can offer it as an NFS export
through a global server. Each NFS service can support volumes from a single
namespace.
Use the
export command to offer a namespace volume through the current NFS
service:
export namespace vol-path [as export-path] [access-list list-name]
where
namespace (1-30 characters) can be any namespace that supports NFS,
vol-path (1-1024 characters) is the path to one of the namespace’s volumes
(for example, “/etc”) or volume sub paths (“/etc/init.d”), and
as export-path (optional, 1-1024 characters) sets an optional, advertised path
to the volume. If entered, NFS clients see this path as an available export
instead of the volume path.
access-list list-name (optional, 1-64 characters) uses an access list to control
which IP subnets can and cannot access this NFS service. See “Adding an
NFS Access List” on page 4-9 for instructions on configuring an NFS access
list. If you omit this option, clients from any subnet can access the export
with read/write permission, root-squash enabled, and root is squashed to
UID 65534 and GID 65534.
Whether or not you use an access list, non-root UIDs are passed through to
the back-end filer for possible authentication at the filer.
Use
show global-config namespace to see all available namespaces and volumes on
the ARX. Each NFS service can support volumes from one namespace only. Choose
only volumes that support NFS.
For example, the following command sequence adds an NFS export to the NFS
service at www.wwmed.com:
bstnA6k(gbl)# nfs www.wwmed.com