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.
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.
dafs export create data1 /vol/vol3
The following example makes export data1 read-only:
dafs export modify -r data1