Skip to content

Commit 7628d4b

Browse files
Merge pull request #280414 from b-ahibbard/indoes-sean
new inodes text
2 parents 670b01a + 3cfe30a commit 7628d4b

File tree

2 files changed

+26
-30
lines changed

2 files changed

+26
-30
lines changed

articles/azure-netapp-files/azure-netapp-files-resource-limits.md

Lines changed: 26 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following table describes resource limits for Azure NetApp Files:
2626
| Number of snapshots per volume | 255 | No |
2727
| 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 |
2828
| 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 |
3030
| Minimum size of a single regular volume | 100 GiB | No |
3131
| Maximum size of a single regular volume | 100 TiB | No |
3232
| 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:
3535
| Maximum size of a single file | 16 TiB | No |
3636
| Maximum size of directory metadata in a single directory | 320 MB | No |
3737
| 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 |
3939
| Maximum number of export policy rules per volume | 5 | No |
4040
| Maximum number of quota rules per volume | 100 | No |
4141
| 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 [
5959

6060
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.
6161

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.
6363

6464
Examples:
6565

@@ -79,42 +79,38 @@ Size: 4096 Blocks: 8 IO Block: 65536 directory
7979

8080
## `Maxfiles` limits <a name="maxfiles"></a>
8181

82-
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.
8383

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.
8585

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.
8789

88-
| Volume size (quota) | Automatic readjustment of the `maxfiles` limit |
89-
|----------------------------|-------------------|
90-
| <= 1 TiB | 21,251,126 |
91-
| > 1 TiB but <= 2 TiB | 42,502,252 |
92-
| > 2 TiB but <= 3 TiB | 63,753,378 |
93-
| > 3 TiB but <= 4 TiB | 85,004,504 |
94-
| > 4 TiB but <= 100 TiB | 106,255,630 |
90+
The following table shows examples of the relationship `maxfiles` values based on volume sizes for regular volumes.
9591

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 |
10099

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.
102101

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.
102+
| Volume size | Estimated maxfiles limit |
103+
| - | - |
104+
| 50 TiB (53,687,091,200 KiB) | 1,593,835,512 |
105+
| 100 TiB (107,374,182,400 KiB) | 3,187,671,024 |
106+
| 200 TiB (214,748,364,800 KiB) | 6,375,342,024 |
107+
| 500 TiB (536,870,912,000 KiB) | 15,938,355,048 |
106108

107-
**For [large volumes](azure-netapp-files-understand-storage-hierarchy.md#large-volumes):**
109+
To see the `maxfiles` allocation for a specific volume size, check the **Maximum number of files** field in the volume’s overview pane.
108110

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":::
116112

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.
118114

119115
## Request limit increase
120116

216 KB
Loading

0 commit comments

Comments
 (0)