You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-netapp-files/azure-netapp-files-resource-limits.md
+26-30Lines changed: 26 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The following table describes resource limits for Azure NetApp Files:
26
26
| Number of snapshots per volume | 255 | No |
27
27
| Number of IPs in a virtual network (including immediately peered VNets) accessing volumes in an Azure NetApp Files hosting VNet | <ul><li>**Basic**: 1000</li><li>**Standard**: [Same standard limits as VMs](../azure-resource-manager/management/azure-subscription-service-limits.md#azure-resource-manager-virtual-networking-limits)</li></ul> | No |
28
28
| Minimum size of a single capacity pool | 1 TiB*| No |
29
-
| Maximum size of a single capacity pool |2048 TiB | Yes |
29
+
| Maximum size of a single capacity pool |2,048 TiB | Yes |
30
30
| Minimum size of a single regular volume | 100 GiB | No |
31
31
| Maximum size of a single regular volume | 100 TiB | No |
32
32
| Minimum size of a single [large volume](large-volumes-requirements-considerations.md)| 50 TiB | No |
@@ -35,7 +35,7 @@ The following table describes resource limits for Azure NetApp Files:
35
35
| Maximum size of a single file | 16 TiB | No |
36
36
| Maximum size of directory metadata in a single directory | 320 MB | No |
37
37
| Maximum number of files in a single directory |*Approximately* 4 million. <br> See [Determine if a directory is approaching the limit size](#directory-limit). | No |
38
-
| Maximum number of files [`maxfiles`](#maxfiles) per volume | 106,255,630 | Yes |
38
+
| Maximum number of files `maxfiles` per volume |See [`maxfiles`](#maxfiles)| Yes |
39
39
| Maximum number of export policy rules per volume | 5 | No |
40
40
| Maximum number of quota rules per volume | 100 | No |
41
41
| Minimum assigned throughput for a manual QoS volume | 1 MiB/s | No |
@@ -59,7 +59,7 @@ For limits and constraints related to Azure NetApp Files network features, see [
59
59
60
60
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). If you reach the maximum size limit for a single directory for Azure NetApp Files, the error `No space left on device` occurs.
61
61
62
-
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 with 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.
62
+
For a 320-MB directory, the number of blocks is 655,360, 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 with 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.
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 21,251,126 files per TiB of provisioned volume size.
82
+
Azure NetApp Files volumes have a value called `maxfiles` that refers to the maximum number of files and folders (also known as inodes) a volume can contain. When the `maxfiles` limit is reached, clients receive "out of space" messages when attempting to create new files or folders. If you experience this issue, contact Microsoft technical support.
83
83
84
-
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 21,251,126. Subsequent changes to the size of the volume would result in an automatic readjustment of the `maxfiles` limit based on the following rules:
84
+
The `maxfiles` limit for an Azure NetApp Files volume is based on the size (quota) of the volume, where the service dynamically adjusts the `maxfiles` limit for a volume based on its provisioned size and uses the following guidelines.
85
85
86
-
**For volumes up to 100 TiB in size:**
86
+
- For regular volumes less than or equal to 683 GiB, the default `maxfiles` limit is 21,251,126.
87
+
- For regular volumes greater than 683 GiB, the default `maxfiles` limit is approximately one file (or inode) per 32 KiB of allocated volume capacity up to a maximum of 2,147,483,632.
88
+
- For [large volumes](large-volumes-requirements-considerations.md), the default `maxfiles` limit is approximately one file (or inode) per 32 KiB of allocated volume capacity up to a default maximum of 15,938,355,048.
87
89
88
-
| Volume size (quota) | Automatic readjustment of the `maxfiles` limit |
The following table shows examples of the relationship `maxfiles` values based on volume sizes for regular volumes.
95
91
96
-
>[!IMPORTANT]
97
-
> If your volume has a volume size (quota) of more than 4 TiB and you want to increase the `maxfiles` limit, you must initiate [a support request](#request-limit-increase).
98
-
99
-
For volumes 100 TiB or under, if you've allocated at least 5 TiB of quota for a volume, you can initiate a support request to increase the `maxfiles` (inodes) limit beyond 106,255,630. For every 106,255,630 files you increase (or a fraction thereof), you need to increase the corresponding volume quota by 5 TiB. For example, if you increase the `maxfiles` limit from 106,255,630 files to 212,511,260 files (or any number in between), you need to increase the volume quota from 5 TiB to 10 TiB.
92
+
| Volume size | Estimated maxfiles limit |
93
+
| - | - |
94
+
| 0 – 683 GiB | 21,251,126 |
95
+
| 1 TiB (1,073,741,824 KiB) | 31,876,709 |
96
+
| 10 TiB (10,737,418,240 KiB) | 318,767,099 |
97
+
| 50 TiB (53,687,091,200 KiB) | 1,593,835,519 |
98
+
| 100 TiB (107,374,182,400 KiB) | 2,147,483,632 |
100
99
101
-
For volumes 100 TiB or under, you can increase the `maxfiles`limit up to 531,278,150 if your volume quota is at least 25 TiB.
100
+
The following table shows examples of the relationship `maxfiles`values based on volume sizes for large volumes.
102
101
103
-
>[!IMPORTANT]
104
-
> When files or folders are allocated to an Azure NetApp Files volume, they count against the `maxfiles` limit. If a file or folder is deleted, the internal data structures for `maxfiles` allocation remain the same. For instance, if the files used in a volume increase to 63,753,378 and 100,000 files are deleted, the `maxfiles` allocation remains at 63,753,378.
105
-
> Once a volume has exceeded a `maxfiles` limit, you cannot reduce volume size below the quota corresponding to that `maxfiles` limit even if you have reduced the actual used file count. For example, the `maxfiles` limit for a 2 TiB volume is 63,753,378. If you create more than 63,753,378 files in that volume, the volume quota cannot be reduced below its corresponding index of 2 TiB.
To see the `maxfiles` allocation for a specific volume size, check the **Maximum number of files** field in the volume’s overview pane.
108
110
109
-
| Volume size (quota) | Automatic readjustment of the `maxfiles` limit |
110
-
| - | - |
111
-
| > 50 TiB | 2,550,135,120 |
112
-
113
-
You can increase the `maxfiles` limit beyond 2,550,135,120 using a support request. For every 2,550,135,120 files you increase (or a fraction thereof), you need to increase the corresponding volume quota by 120 TiB. For example, if you increase `maxfiles` limit from 2,550,135,120 to 5,100,270,240 files (or any number in between), you need to increase the volume quota to at least 240 TiB.
114
-
115
-
The maximum `maxfiles` value for a 500 TiB volume is 10,625,563,000 files.
111
+
:::image type="content" source="./media/azure-netapp-files-resource-limits/maximum-number-files.png" alt-text="Screenshot of volume overview menu." lightbox="./media/azure-netapp-files-resource-limits/maximum-number-files.png":::
116
112
117
-
You cannot set `maxfiles` limits for data protection volumes via a quota request. Azure NetApp Files automatically increases the `maxfiles` limit of a data protection volume to accommodate the number of files replicated to the volume. When a failover happens to a data protection volume, the `maxfiles` limit remains the last value before the failover. In this situation, you can submit a `maxfiles`[quota request](#request-limit-increase) for the volume.
113
+
You can't set `maxfiles` limits for data protection volumes via a quota request. Azure NetApp Files automatically increases the `maxfiles` limit of a data protection volume to accommodate the number of files replicated to the volume. When a failover happens on a data protection volume, the `maxfiles` limit remains the last value before the failover. In this situation, you can submit a `maxfiles`[quota request](#request-limit-increase) for the volume.
0 commit comments