Table of ContentsView in Frames

Creating a FlexVol volume

You create FlexVol volumes to provide resizable, flexible data containers that can be mounted and accessed using all data access protocols supported by Data ONTAP.

Before you begin

Before creating a FlexVol volume, you must have determined the following attributes for the new volume:


  1. If you have not already done so, create the aggregate that will contain the FlexVol volume that you want to create.
  2. Enter the following command: vol create vol_name [-l language_code] [-s {volume|file|none}] aggr_name size{k|m|g|t}

    vol_name is the name for the new FlexVol volume (without the /vol/ prefix)

    language_code specifies a language other than that of the root volume.

    -s {volume | file | none} specifies the space guarantee setting that is enabled for the specified FlexVol volume. If no value is specified, the default value is volume.

    aggr_name is the name of the containing aggregate for the new FlexVol volume.

    size{k | m | g | t} specifies the volume size in kilobytes, megabytes, gigabytes, or terabytes. For example, you would enter 20m to indicate 20 megabytes. If you do not specify a unit, size is taken as bytes and rounded up to the nearest multiple of 4 KB.

    The following command creates a 200-MB volume called newvol, in the aggregate called aggr1, using the French character set: vol create newvol -l fr aggr1 200M
    The new volume is created and, if NFS is in use, an entry is added to the /etc/exports file for the new volume. The default automatic Snapshot schedule is applied to the new volume.
  3. If you access the storage system using CIFS, update the share information for the new volume.
  4. If you access the storage system using NFS, complete the following steps:
    1. Verify that the line added to the /etc/exports file for the new volume is correct for your security model.
    2. Add the appropriate mount point information to the /etc/fstab or /etc/vfstab file on clients that mount volumes from the storage system.

After you finish

If needed, you can verify that the CIFS oplocks and security style settings are correct, and modify them as needed.
Note: You should set these values as soon as possible after creating the volume. If you change these values after files are in the volume, the files might become inaccessible to users because of conflicts between the old and new values. For example, UNIX files available under mixed security might not be available after you change to NTFS security.

If the default automatic Snapshot schedule does not match your data protection strategies, update the Snapshot schedule for the newly created volume with a more appropriate schedule. For more information about Snapshot schedules, see the Data ONTAP Data Protection Online Backup and Recovery Guide for 7-Mode.