Table of ContentsView in Frames

Creating an export policy

Before creating export rules, you must create an export policy to hold them. You can use the vserver export-policy create command to create an export policy.

Steps

  1. To create an export policy, enter the following command: vserver export-policy create -vserver vserver_name -policyname policy_name

    -vserver vserver_name specifies the Storage Virtual Machine (SVM) name.

    -policyname policy_name specifies the name of the new export policy. The policy name can be up to 256 characters long.

  2. Assign the export policy to a volume or qtree by performing one of the following actions:
    To assign the export policy to a... Enter the command...
    Volume volume modify -vserver vserver_name -volume volume_name -policy export_policy_name
    Qtree volume qtree modify -vserver vserver_name -volume volume_name -qtree qtree_name -export-policy export_policy_name

Example

The following command creates an export policy named rs1 on the SVM named vs1:

vs1::> vserver export-policy create -vserver vs1 -policyname rs1