Table of ContentsLibraryView in Frames

Creating a traditional volume

Traditional volumes don't provide the flexibility that FlexVol volumes do, because they are tightly coupled with their containing aggregate. However, if you want a single-volume aggregate, you can create a traditional volume.

Before You Begin

Determine the name of the volume. Volume names must conform to the following requirements:
  • Begin with either a letter or an underscore (_)
  • Contain only letters, digits, and underscores
  • Contain no more than 250 characters
Note: You can change the name of an traditional volume later by using the aggr rename command.

Determine what disks will be used in the new volume. You can specify disks by listing their IDs, or by specifying a disk characteristic such as speed or type. You can display a list of the available spares on your storage system by using the aggr status -s command.

Determine the CIFS oplocks setting for the new volume.

Determine the security setting for the new volume.

Steps

  1. Enter the following command:aggr create vol_name -v [-l language_code] [-f] [-m] [-n] [-v] [-t {raid4|raid_dp}] [-r raidsize] [-T disk-type] -R rpm] [-L] disk-list

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

    language_code specifies the language for the new volume. The default is the language of the root volume.

    Note: For a description of the RAID-related parameters, see the na_aggr(1) man page or the information about creating aggregates.

    The new volume is created and, if NFS is in use, an entry for the new volume is added to the /etc/exports file. The default automatic snapshot schedule is applied to the new volume.

  2. You can enter the following command to verify that the volume exists as you specified:aggr status vol_name -r

    The system displays the RAID groups and disks of the specified volume on your storage system.

  3. If you access the storage system using CIFS, update your CIFS shares as necessary.
  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

Verify that the CIFS oplocks and security style settings are correct, and modify them as needed.
Note: You should update these values as soon as possible after creating the volume. If you change the 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, see the Data ONTAP Data Protection Online Backup and Recovery Guide.

Related tasks
Creating an aggregate