Skip to main content

Comparison of exports in 7-Mode and ONTAP

Contributors netapp-thomi

Exports in ONTAP are defined and used differently than they are in 7-Mode environments.

Areas of difference

7-Mode

ONTAP

How exports are defined

Exports are defined in the /etc/exports file.

Exports are defined by creating an export policy within an SVM. An SVM can include more than one export policy.

Scope of export

  • Exports apply to a specified file path or qtree.

  • You must create a separate entry in /etc/exports for each file path or qtree.

  • Exports are persistent only if they are defined in the /etc/exports file.

  • Export policies apply to an entire volume, including all of the file paths and qtrees contained in the volume.

  • Export policies can be applied to more than one volume if you want.

  • All export policies are persistent across system restarts.

Fencing (specifying different access for specific clients to the same resources)

To provide specific clients different access to a single exported resource, you have to list each client and its permitted access in the /etc/exports file.

Export policies are composed of a number of individual export rules. Each export rule defines specific access permissions for a resource and lists the clients that have those permissions. To specify different access for specific clients, you have to create an export rule for each specific set of access permissions, list the clients that have those permissions, and then add the rules to the export policy.

Name aliasing

When you define an export, you can choose to make the name of the export different from the name of the file path. You should use the -actual parameter when defining such an export in the /etc/exports file.

You can choose to make the name of the exported volume different from the actual volume name. To do this, you must mount the volume with a custom junction path name within the SVM namespace.

Note By default, volumes are mounted with their volume name. To customize a volume's junction path name you need to unmount it, rename it, and then remount it.