Skip to content

Commit a8ad90c

Browse files
Merge pull request #263342 from b-ahibbard/file-path-uniqueness
update for unique file paths
2 parents 216226d + a69b1a2 commit a8ad90c

7 files changed

+62
-9
lines changed

articles/azure-netapp-files/azure-netapp-files-create-volumes-smb.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ Before creating an SMB volume, you need to create an Active Directory connection
111111
* Select your **Active Directory** connection from the drop-down list.
112112
113113
* Specify a unique **share name** for the volume. This share name is used when you create mount targets. The requirements for the share name are as follows:
114-
- It must be unique within each subnet in the region.
115-
- It must start with an alphabetical character.
114+
- For volumes not in an availability zone or volumes in the same availability zone, it must be unique within each subnet in the region.
115+
- For volumes in availability zones, it must be unique within each availability zone. This feature is currently in **preview** and requires you to register the feature. For more information, see [Manage availability zone volume placement](manage-availability-zone-volume-placement.md#file-path-uniqueness).
116116
- It can contain only letters, numbers, or dashes (`-`).
117117
- The length must not exceed 80 characters.
118-
118+
119119
* <a name="smb3-encryption"></a>If you want to enable encryption for SMB3, select **Enable SMB3 Protocol Encryption**.
120120
121121
This feature enables encryption for in-flight SMB3 data. SMB clients not using SMB3 encryption will not be able to access this volume. Data at rest is encrypted regardless of this setting.

articles/azure-netapp-files/azure-netapp-files-create-volumes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ This article shows you how to create an NFS volume. For SMB volumes, see [Create
106106
* Select **NFS** as the protocol type for the volume.
107107

108108
* Specify a unique **file path** for the volume. This path is used when you create mount targets. The requirements for the path are as follows:
109-
- It must be unique within each subnet in the region.
109+
- For volumes not in an availability zone or volumes in the same availability zone, it must be unique within each subnet in the region.
110+
- For volumes in availability zones, it must be unique within each availability zone. This feature is currently in **preview** and requires you to register the feature. For more information, see [Manage availability zone volume placement](manage-availability-zone-volume-placement.md#file-path-uniqueness).
110111
- It must start with an alphabetical character.
111112
- It can contain only letters, numbers, or dashes (`-`).
112113
- The length must not exceed 80 characters.

articles/azure-netapp-files/create-volumes-dual-protocol.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,18 +138,19 @@ You can also use [Azure CLI commands](/cli/azure/feature) `az feature register`
138138
139139
![Show advanced selection](./media/shared/volume-create-advanced-selection.png)
140140
141-
3. Click the **Protocol** tab, and then complete the following actions:
141+
3. Select the **Protocol** tab, and then complete the following actions:
142142
* Select **Dual-protocol** as the protocol type for the volume.
143143
144144
* Specify the **Active Directory** connection to use.
145145
146146
* Specify a unique **Volume Path**. This path is used when you create mount targets. The requirements for the path are as follows:
147147
148-
- It must be unique within each subnet in the region.
148+
- For volumes not in an availability zone or volumes in the same availability zone, the volume path must be unique within each subnet in the region.
149+
- For volumes in availability zones, the volume path must be unique within each availability zone. This feature is currently in **preview** and requires you to register the feature. For more information, see [Manage availability zone volume placement](manage-availability-zone-volume-placement.md#file-path-uniqueness).
149150
- It must start with an alphabetical character.
150151
- It can contain only letters, numbers, or dashes (`-`).
151152
- The length must not exceed 80 characters.
152-
153+
153154
* Specify the **versions** to use for dual protocol: **NFSv4.1 and SMB**, or **NFSv3 and SMB**.
154155
155156
* Specify the **Security Style** to use: NTFS (default) or UNIX.

articles/azure-netapp-files/faq-nfs.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,19 @@ To avoid any issues with clients mounting NFSv4.2 and to comply with supportabil
3636

3737
You can specify whether the root account can access the volume or not by using the volume’s export policy. See [Configure export policy for an NFS volume](azure-netapp-files-configure-export-policy.md) for details.
3838

39-
## Can I use the same file path (volume creation token) for multiple volumes?
39+
## Can I use the same file path for multiple volumes?
4040

41-
Yes, you can. However, the file path must be unique within each subnet.
41+
The same file path can be used for:
42+
* volumes deployed in different regions
43+
* volumes deployed to different availability zones within the same region
44+
45+
If you are using:
46+
* regional volumes (without availability zones) or
47+
* volumes within the same availability zone,
48+
49+
the same file path can be used, however the file path must be unique within each delegated subnet or assigned to different delegated subnets.
50+
51+
For more information, see [Create an NFS volume for Azure NetApp Files](azure-netapp-files-create-volumes.md) or [Create a dual-protocol volume for Azure NetApp Files](create-volumes-dual-protocol.md).
4252

4353
## When I try to access NFS volumes through a Windows client, why does the client take a long time to search folders and subfolders?
4454

articles/azure-netapp-files/faq-smb.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,20 @@ See [Modify SMB share permissions](azure-netapp-files-create-volumes-smb.md#modi
7979

8080
Azure NetApp Files also supports [access-based enumeration](azure-netapp-files-create-volumes-smb.md#access-based-enumeration) and [non-browsable shares](azure-netapp-files-create-volumes-smb.md#non-browsable-share) on SMB and dual-protocol volumes. You can enable these features during or after the creation of an SMB or dual-protocol volume.
8181

82+
## Can I use the same share name for multiple volumes?
83+
84+
The same share name can be used for:
85+
* volumes deployed in different regions
86+
* volumes deployed to different availability zones within the same region
87+
88+
If you are using:
89+
* regional volumes (without availability zones) or
90+
* volumes within the same availability zone,
91+
92+
the same share name can be used, however the share name must be unique within each delegated subnet or assigned to different delegated subnets.
93+
94+
For more information, see [Create an SMB volume for Azure NetApp Files](azure-netapp-files-create-volumes-smb.md) or [Create a dual-protocol volume for Azure NetApp Files](create-volumes-dual-protocol.md).
95+
8296
## Can I change the SMB share name after the SMB volume has been created?
8397

8498
No. However, you can create a new SMB volume with the new share name from a snapshot of the SMB volume with the old share name.

articles/azure-netapp-files/manage-availability-zone-volume-placement.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,27 @@ You can deploy new volumes in the logical availability zone of your choice. You
3030

3131
* VMs and Azure NetApp Files volumes are to be deployed separately, within the same logical availability zone to create zone alignment between VMs and Azure NetApp Files. The availability zone volume placement feature doesn't create zonal VMs upon volume creation, or vice versa.
3232

33+
* <a name="file-path-uniqueness"></a> For volumes in different availability zones, Azure NetApp Files allows you to create volumes with the same file path (NFS), share name (SMB), or volume path (dual-protocol). This feature is currently in preview.
34+
35+
You need to register the feature before using it for the first time. After registration, the feature is enabled and works in the background. No UI control is required.
36+
37+
1. Register the feature:
38+
39+
```azurepowershell-interactive
40+
Register-AzProviderFeature -ProviderNamespace Microsoft.NetApp -FeatureName ANFFilePathUniquenessInAz
41+
```
42+
43+
2. Check the status of the feature registration:
44+
45+
> [!NOTE]
46+
> The **RegistrationState** may be in the `Registering` state for up to 60 minutes before changing to`Registered`. Wait until the status is **Registered** before continuing.
47+
48+
```azurepowershell-interactive
49+
Get-AzProviderFeature -ProviderNamespace Microsoft.NetApp -FeatureName ANFFilePathUniquenessInAz
50+
```
51+
You can also use [Azure CLI commands](/cli/azure/feature) `az feature register` and `az feature show` to register the feature and display the registration status.
52+
53+
3354
[!INCLUDE [Availability Zone volumes have the same level of support as other volumes in the subscription](includes/availability-zone-service-callout.md)]
3455
3556
>[!IMPORTANT]

articles/azure-netapp-files/whats-new.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ ms.author: anfdocs
1414

1515
Azure NetApp Files is updated regularly. This article provides a summary about the latest new features and enhancements.
1616

17+
## March 2024
18+
19+
* [Volume enhancement: create volumes with the same file path, share name, or volume path in different availability zones](manage-availability-zone-volume-placement.md#file-path-uniqueness) (Preview)
20+
21+
Azure NetApp Files now allows you to create volumes with the same file path (NFS), share name (SMB), or volume path (dual-protocol) as long as they are in different availability zones. For more information, see [Create an NFS volume for Azure NetApp Files](azure-netapp-files-create-volumes.md), [Create an SMB volume for Azure NetApp Files](azure-netapp-files-create-volumes-smb.md), or [Create a dual-protocol volume for Azure NetApp Files](create-volumes-dual-protocol.md). This enhancement is currently in preview.
22+
1723
## February 2024
1824

1925
* [Volume and protocol enhancement](understand-volume-languages.md): extended language support for file and path names

0 commit comments

Comments
 (0)