Skip to main content

Creating FlexVol volumes

You can create a FlexVol volume for your data by using the Create Volume dialog box in Storage Manager . You should always create a separate volume for your data rather than storing data in the root volume.

Before you begin

  • The cluster must contain a non-root aggregate and a storage virtual machine (SVM).

  • If you want to create read/write (rw) volumes, you must have configured the protocols for the SVM, and you must have installed either the SnapMirror license or the SnapVault license.

    If you have not configured the protocols but have installed any one of these licenses, you can create only data protection (DP) volumes.

  • For creating an encrypted volume, you must have installed the volume encryption license by using Storage Manager and enabled key-manager setup by using the command-line interface (CLI).

    You must refresh your web browser after enabling key-manager setup .

About this task

  • You can enable storage Quality of Service (QoS) only for a read/write (rw) volume.

  • When you create a DP volume on the sync-source SVM in a MetroCluster configuration, the volume is not replicated on the sync-destination SVM.

  • When you create a DP volume in a MetroCluster configuration, the source volume is not replicated (mirrored or vaulted) in the destination SVM.

  • In a MetroCluster configuration, Storage Manager displays only the following aggregates for creating volumes:

    • In normal mode, when you create volumes on sync-source SVMs or data-serving SVMs in the primary site, only those aggregates that belong to the cluster in the primary site are displayed.

    • In switched-over mode, when you create volumes on sync-destination SVMs or data-serving SVMs in the surviving site, only switched-over aggregates are displayed.

  • You cannot encrypt a volume in Cloud Volumes ONTAP.

  • If encryption is enabled on the source volume and if the destination cluster is running a version of ONTAP software earlier than ONTAP 9.3, then encryption is disabled on the destination volume by default.

  1. Click Storage > Volumes .
  2. Click Create > Create FlexVol .
  3. Browse and select the SVM in which you want to create the volume.
  4. In the Create Volume dialog box , specify a name for the volume.
  5. Select the containing aggregate for the volume.
  6. Select the Encrypted check box to enable encryption for the volume.

    This option is available only if you have enabled the Volume Encryption license and if the corresponding platform is capable of supporting encryption.
  7. Select the type of storage for which you are creating this volume.

    You must select Data Protection if you are creating a SnapMirror destination volume. You are provided read-only access to this volume.
  8. Specify the tiering policy for the volume.
  9. Specify the size of the volume and the percentage of the total volume size that you want to reserve for Snapshot copies.

    The default space reserved for Snapshot copies is zero percent for SAN and VMware volumes. For NAS volumes, the default is 5 percent.
  10. Select Default , Thin provisioned , or Thick provisioned for the volume.

    When thin provisioning is enabled, space is allocated to the volume from the aggregate only when data is written to the volume.

    Note
    • For AFA storage systems, the value of thin provisioning is Default , and for other storage systems, the value of thick provisioning is Default .

    • For FabricPool-enabled aggregates, the value of thin provisioning is Default .

  11. If you want to enable deduplication on the volume, make the required changes in the Storage Efficiency tab.

    Storage Manager uses the default deduplication schedule. If the specified volume size exceeds the limit that is required for running deduplication, the volume is created and deduplication is not enabled.

    For systems with All Flash Optimized personality , inline compression and the auto deduplication schedule are enabled by default.

  12. If you want to enable storage QoS for the FlexVol volume to manage workload performance, select the Manage Storage Quality of Service check box in the Quality of Service tab.
  13. Create a new storage QoS policy group or select an existing policy group to control the input/output (I/O) performance of the FlexVol volume:
    If you want to...Do this...
    Create a new policy group
    1. Select New Policy Group .

    2. Specify the policy group name.

    3. Specify the minimum throughput limit.

      • You can set the minimum throughput limit only on an AFA platform.

      • You cannot set the minimum throughput limit for volumes on a FabricPool-enabled aggregate.

      • If you do not specify the minimum throughput value or if the minimum throughput value is set to 0, the system automatically displays

        None as the value.

        This value is case-sensitive.

    4. Specify the maximum throughput limit to ensure that the workload of the objects in the policy group does not exceed the specified throughput limit.

      • The minimum throughput limit and the maximum throughput limit must be of the same unit type.

      • If you do not specify the minimum throughput limit, then you can set the maximum throughput limit in IOPS, B/s, KB/s, MB/s, and so on.

      • If you do not specify the maximum throughput value, the system automatically displays Unlimited as the value.

        This value is case-sensitive. The unit that you specify does not affect the maximum throughput.

    Select an existing policy group
    1. Select Existing Policy Group , and then click Choose to select an existing policy group from the Select Policy Group dialog box.

    2. Specify the minimum throughput limit.

      • You can set the minimum throughput limit only on an AFA platform.

      • You cannot set the minimum throughput limit for volumes on a FabricPool-enabled aggregate.

      • If you do not specify the minimum throughput value or if the minimum throughput value is set to 0, the system automatically displays None as the value.

        This value is case-sensitive.

    3. Specify the maximum throughput limit to ensure that the workload of the objects in the policy group does not exceed the specified throughput limit.

      • The minimum throughput limit and the maximum throughput limit must be of the same unit type.

      • If you do not specify the minimum throughput limit, then you can set the maximum throughput limit in IOPS, B/s, KB/s, MB/s, and so on.

      • If you do not specify the maximum throughput value, the system automatically displays Unlimited as the value.

        This value is case-sensitive. The unit that you specify does not affect the maximum throughput.

      If the policy group is assigned to more than one object, the maximum throughput that you specify is shared among the objects.

  14. Perform the following steps in the Protection tab to protect the volume:
    1. Enable Volume Protection .
    2. Select a relationship for the volume by using the Volume Relationship Type list.
    3. Select a cluster and an SVM for the destination volume.
    4. Enter the volume name suffix.
  15. Click Create .
  16. Verify that the volume that you created is included in the list of volumes in the Volume window.
    The volume is created with UNIX-style security and UNIX 700 read write execute permissions for the owner.