You have insufficient volume capacity - FSx for ONTAP

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 Volume storage capacity usage (ONTAP CLI).

Increasing a volume's storage capacity

You can increase a volume's storage capacity by using the Amazon FSx console, AWS 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 Increasing volume storage capacity.

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 Turn on volume autosizing.

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 will have to increase the maximum number of files on the volume manually. If you're volume is running out of storage capacity, you can check it's maximum file capacity. If it is nearing it's file capacity, you can manually increase it. For more information, see To increase the maximum number of files on a volume.