You have insufficient volume capacity - FSx for ONTAP
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

You have insufficient volume capacity

If you are running out of space on your volumes, you can use the procedures shown here to diagnose and resolve the situation.

Determine how your volume storage capacity is being used

You can see how your volume's storage capacity is being consumed by using the volume show-space NetApp ONTAP CLI command. This information can help you make decisions about how to reclaim or conserve volume storage capacity. For more information, see To monitor a volume's storage capacity (console).

Increasing a volume's storage capacity

You can increase a volume's storage capacity by using the Amazon FSx console, Amazon CLI, and Amazon FSx API. For more information about updating a volume with an increased capacity, see Updating a volume.

Alternatively, you can increase a volume's storage capacity using the volume modify NetApp ONTAP CLI command. For more information, see To change a volume's storage capacity (console).

Using volume autosizing

You can use volume autosizing so that a volume automatically grows by a specified amount, or to a specified size when it reaches a used space threshold. You can do this for FlexVol volume types, which is the default volume type for FSx for ONTAP, using the volume autosize NetApp ONTAP CLI command. For more information, see Enabling volume autosizing.

Your file system's primary storage is full

If your FSx for ONTAP file system's primary storage is full, you cannot add any more data to the volumes in your file system, even if a volume is showing that it has enough available storage capacity. You can view the amount of available primary storage capacity in the Monitoring & performance tab on the file system details page in the Amazon FSx console. For more information, see Monitoring SSD storage utilization

To resolve this issue, you can increase the size of your file system's primary storage tier. For more information, see Updating file system SSD storage and IOPS.

Deleting snapshots

Snapshots are enabled by default on your volumes, using the default snapshot policy. Snapshots are stored in the .snapshot directory at the root of a volume. You can manage volume storage capacity with respect to snapshots in the following ways:

For more information about deleting snapshots and managing snapshot policies to conserve storage capacity, see Deleting snapshots.

Increasing a volume's maximum file capacity

An FSx for ONTAP volume can run out of file capacity when the number of available inodes, or file pointers, is exhausted. By default, the number of available inodes on a volume is 1 for every 32KiB of volume size. For more information, see Volume file capacity.

The number of inodes in a volume increases commensurately with the volume's storage capacity, up to a threshold of 648 GiB. By default, volumes that have storage capacity of 648 GiB or more all have the same number of inodes, 21,251,126. To view a volume's maximum file capacity, see Viewing a volume's file capacity.

If you create a volume larger than 648 GiB, and you want to have more that 21,251,126 inodes, you must increase the maximum number of files on the volume manually. If your volume is running out of storage capacity, you can check its maximum file capacity. If it's nearing its file capacity, you can manually increase it. For more information, see To increase the maximum number of files on a volume (ONTAP CLI).