Resource limits for Azure NetApp Files
Understanding resource limits for Azure NetApp Files helps you manage your volumes.
The following table describes resource limits for Azure NetApp Files:
|Resource||Default limit||Adjustable via support request|
|Regional capacity quota per subscription||25 TiB||Yes|
|Number of NetApp accounts per Azure region per subscription||10||Yes|
|Number of capacity pools per NetApp account||25||Yes|
|Number of volumes per subscription||500||Yes|
|Number of volumes per capacity pool||500||Yes|
|Number of snapshots per volume||255||No|
|Number of subnets delegated to Azure NetApp Files (Microsoft.NetApp/volumes) per Azure Virtual Network||1||No|
|Number of used IPs in a VNet (including immediately peered VNets) with Azure NetApp Files||1000||No|
|Minimum size of a single capacity pool||4 TiB||No|
|Maximum size of a single capacity pool||500 TiB||No|
|Minimum size of a single volume||100 GiB||No|
|Maximum size of a single volume||100 TiB||No|
|Maximum size of a single file||16 TiB||No|
|Maximum size of directory metadata in a single directory||320 MB||No|
|Maximum number of files in a single directory||Approximately 4 million.
See Determine if a directory is approaching the limit size.
|Maximum number of files (maxfiles) per volume||100 million||Yes|
|Maximum number of export policy rules per volume||5||No|
|Minimum assigned throughput for a manual QoS volume||1 MiB/s||No|
|Maximum assigned throughput for a manual QoS volume||4,500 MiB/s||No|
|Number of cross-region replication data protection volumes (destination volumes)||10||Yes|
|Maximum numbers of policy-based (scheduled) backups per volume||
The maximum daily, weekly, and monthly backup retention counts combined is 1019.
|Maximum size of protected volume||100 TiB||N|
|Maximum number of volumes that can be backed up per subscription||5||Y|
|Maximum number of manual backups per volume per day||5||Y|
For more information, see Capacity management FAQs.
You can use the
stat command from a client to see whether a directory is approaching the maximum size limit for directory metadata (320 MB).
For a 320-MB directory, the number of blocks is 655360, with each block size being 512 bytes. (That is, 320x1024x1024/512.) This number translates to approximately 4 million files maximum for a 320-MB directory. However, the actual number of maximum files might be lower, depending on factors such as the number of files containing non-ASCII characters in the directory. As such, you should use the
stat command as follows to determine whether your directory is approaching its limit.
[makam@cycrh6rtp07 ~]$ stat bin File: 'bin' Size: 4096 Blocks: 8 IO Block: 65536 directory [makam@cycrh6rtp07 ~]$ stat tmp File: 'tmp' Size: 12288 Blocks: 24 IO Block: 65536 directory [makam@cycrh6rtp07 ~]$ stat tmp1 File: 'tmp1' Size: 4096 Blocks: 8 IO Block: 65536 directory
Azure NetApp Files volumes have a limit called maxfiles. The maxfiles limit is the number of files a volume can contain. Linux file systems refer to the limit as inodes. The maxfiles limit for an Azure NetApp Files volume is indexed based on the size (quota) of the volume. The maxfiles limit for a volume increases or decreases at the rate of 20 million files per TiB of provisioned volume size.
The service dynamically adjusts the maxfiles limit for a volume based on its provisioned size. For example, a volume configured initially with a size of 1 TiB would have a maxfiles limit of 20 million. Subsequent changes to the size of the volume would result in an automatic readjustment of the maxfiles limit based on the following rules:
|Volume size (quota)||Automatic readjustment of the maxfiles limit|
|<= 1 TiB||20 million|
|> 1 TiB but <= 2 TiB||40 million|
|> 2 TiB but <= 3 TiB||60 million|
|> 3 TiB but <= 4 TiB||80 million|
|> 4 TiB||100 million|
If you have already allocated at least 4 TiB of quota for a volume, you can initiate a support request to increase the maxfiles (inodes) limit beyond 100 million. For every 100 million files you increase (or a fraction thereof), you need to increase the corresponding volume quota by 4 TiB. For example, if you increase the maxfiles limit from 100 million files to 200 million files (or any number in between), you need to increase the volume quota from 4 TiB to 8 TiB.
You can increase the maxfiles limit to 500 million if your volume quota is at least 20 TiB.
Regional capacity quota
You can click Quota under Settings of Azure NetApp Files to display the current and default quota sizes for the region.
You can submit a support request for an increase of a regional capacity quota without incurring extra cost. The support request you submit will be sent to the Azure capacity management team for processing. You will receive a response typically within two business days. The Azure capacity management team might contact you if you have a large request.
A regional capacity quota increase does not incur a billing increase. Billing is still based on the provisioned capacity pools. For example, if you currently have 25 TiB of provisioned capacity, you can request a quota increase to 35 TiB. Within two business days, your quota increase will be applied to the requested region. When the quota increase is applied, you still pay for only the current provisioned capacity (25 TiB). But when you actually provision the additional 10 TiB, you will be billed for 35 TiB.
The current resource limits for Azure NetApp Files are not changing. You will still be able to provision a 500-TiB capacity pool. But before doing so, the regional capacity quota needs to be increased to 500 TiB.
Request limit increase
You can create an Azure support request to increase the adjustable limits from the Resource Limits table.
Go to New Support Request under Support + troubleshooting.
Under the Problem description tab, provide the requested information.
Under the Additional details tab, click Enter details in the Request Details field.
In the Quota Details window that appears:
In Quota Type, select the type of resource you want to increase.
- Regional Capacity Quota per Subscription (TiB)
- Number of NetApp accounts per Azure region per subscription
- Number of volumes per subscription
In Region Requested, select your region.
The current and default sizes are displayed under Quota State.
Enter a value to request an increase for the quota type you specified.
Click Next and Review + create to create the request.