The /etc/exports file contains a list of resources that can be exported. When rebooting, Data ONTAP executes the exportfs -a command in the /etc/rc file to automatically export all resources in /etc/exports file. As a result, you need not enter the exportfs command to export each resource.
In the /etc/exports file, you also specify the access restriction and security service with which clients can mount each resource. At any time after the filer is up and running, you can override any specification in the /etc/exports file with the exportfs command.
Entries in the /etc/exports file take effect when one of the following events happens:
For more information about how to use the exportfs command, see Exporting or unexporting resources using the exportfs command.
You can specify in the /etc/exports file to export a resource to these targets:
The /etc/exports file specifies the following types of information:
The following rules determine how a resource is exported:
/vol/vol0 -access=host1:host2,root=host1,rw=host2
The steps for exporting a resource from the /etc/exports file vary with the type of target to which you export the resource.
Each line of the /etc/exports file can contain up to 1,024 characters.
The following sections describe how different options in the /etc/exports file control the ways resources are exported:
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00323
File: nfs4.htm
Last updated: 01/15/03 15:45:12