Manual Pages
Table of Contents
dafs export - Manage export for DAFS service
dafs export create [-r] export_name path
dafs export destroy export_name
dafs export list [export_name]
dafs export modify -r | -w export_name
dafs export enable export_name
dafs export disable export_name
dafs export all
The DAFS service makes filer data accessible to clients
through DAFS exports, which are controlled points of
access in the DAFS namespace. A DAFS export may be readwrite
or read-only, may be enabled or disabled, and may
have a client-host based access list associated with it.
The dafs export command creates a DAFS export, deletes a
DAFS export, lists all, or a selected, DAFS export, and
modifies properties of a DAFS export. Each DAFS export has
a unique name, set when the export is created. The name is
used to identify the export later. Access to exports is
controlled by host access lists. See na_dafs_access(1) for
more information.
create [-r] export_name path
Create a new DAFS export identified by
export_name. The export is associated with
the filer volume path. If the -r argument is
used then the export is created as read-only,
otherwise it is created as read-write. The
operation of creating a new export places the
export into the DAFS namespace so that it is
visible to DAFS clients.
destroy export_name
Destroy a DAFS export identified by
export_name. Access by DAFS clients to the
export is removed on the next access.
list [export_name]
List DAFS exports and their properties. If a
single export_name is given then just that
export will be listed.
modify -r | -w export_name
Modify attributes of an export, including
read-only or read-write access. If the -r
argument is used then the export is marked as
read-only. If the -w argument is used then
the export is marked as read-write. Only one
of -r and -w may be used.
enable export_name
Make the export export_name available for use
after a previous disable command. See the
disable command for more information.
disable export_name
Disable the export export_name. A disabled
export has configuration information preserved
on the filer, but is not available for DAFS
clients to access. A disabled export may subsequently
be made available again by the
enable command.
- all
- Export all entries. This command manually reexports
all entries for the current host.
Create a new export called data1 for /vol/vol3: dafs export create data1 /vol/vol3
The following example makes export data1 read-only:
dafs export modify -r data1
The export path must correspond to a filer volume.
na_dafs(1), na_dafs_access(1),
Table of Contents