Exports editor

Information in the /etc/exports file

Editing the /etc/exports file

This window enables you to view and edit the /etc/exports file. The /etc/exports file contains a list of path names that the filer can export and the hosts or subnets that can access them.

Information in the /etc/exports file

For each exported path, the window provides the following information:

  • The path name of the volume, directory, or file to be exported.
  • The type of access for the specified hosts, which can be one of the following values:
    • read only (ro)
    • read and write (rw)
  • The anonymous user identification number. If a request comes from a user with a UID of 0 (root user ID on the client), use UID as the effective user ID unless the client host is included in the root option. The default value is 65534, which disables all root access. A value of 0 grants root access to all clients.
  • The comments associated with the exported path.
  • The hosts and subnets that can mount the path, and the hosts and subnets that can mount the path with root privileges.

Editing the /etc/exports file

The following list describes how to use the buttons in this window to create a new exported path, modify information for an existing exported path, and delete an existing exported path:

Reload
Reloads the existing /etc/exports file from the filer.
Export All
Exports all entries in the /etc/exports file so that clients can mount the files immediately.
Save
Saves the changes to the /etc/exports file. Changes to the file take effect after you reboot the filer.
Insert Line
Click anywhere in the display and click Insert Line to add a path to the /etc/exports file.
Add Option
Click the appropriate path in the display and click Add Option to add a list of hosts and subnets for the exports directory or file. You can specify up to 256 host names for each directory with root and rw privileges. There is no limit to the number of hosts with access privileges, provided that each line in the /etc/exports file has no more than 1,024 characters. Use net groups for lists that would otherwise result in lines longer than 1,024 characters.
Modify
Click the appropriate path in the display and click Modify to modify the information for a path in the /etc/exports file, or click the host in the display and click Modify to modify the information for the host that has access to the exported path.
Delete
Click the appropriate path in the display and click Delete to delete a path from the /etc/exports file, or click the appropriate host in the display and click Delete to prevent the host from having access to the path.