Skip to content

Commit d566989

Browse files
committed
smb support topic
1 parent 6af2ffe commit d566989

File tree

1 file changed

+23
-10
lines changed

1 file changed

+23
-10
lines changed

articles/azure-netapp-files/sever-message-block-support.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: azure-netapp-files
55
author: whyistheinternetbroken
66
ms.service: azure-netapp-files
77
ms.topic: how-to
8-
ms.date: 01/21/2025
8+
ms.date: 01/22/2025
99
ms.author: anfdocs
1010
---
1111
# Understand Server Message Block support in Azure NetApp Files
@@ -36,8 +36,8 @@ SMB with Azure NetApp Files provides a slew of features and configuration consta
3636
| Feature | Definition | Value | Configurable in Azure NetApp Files? |
3737
| --- | ------ | - | --- |
3838
| Kerberos (SMB) | Authentication protocol to provide secure access to SMB shares. | N/A | No – automatically configured when SMB server account is created. |
39-
| Maximum Kerberos time skew | The maximum amount of allowed time for a Kerberos client and KDC to be out of sync. | 5 min | No |
40-
| Kerberos ticket lifetime | How long a Kerberos ticket stays valid in Azure NetApp Files before it needs to be renewed. | 10 min | No (but can be configured on KDC and NAS client) |
39+
| Maximum Kerberos time skew | The maximum amount of allowed time for a Kerberos client and KDC to be out of sync. | 5 minutes | No |
40+
| Kerberos ticket lifetime | How long a Kerberos ticket stays valid in Azure NetApp Files before it needs to be renewed. | 10 minutes | No (but can be configured on KDC and NAS client) |
4141
| Maximum Kerberos ticket renewal | How long a Kerberos ticket can be renewed before a new ticket needs to be acquired. | 7 days | No (but can be configured on KDC and NAS client) |
4242
| Kerberos | Key Distribution Center (KDC) connection timeout How long before an attempted connection to a Kerberos KDC is attempted before it times out | 3 seconds | No |
4343
| SMB signing required | Determines if SMB signing is required for access to be allowed. When this is enabled, clients without SMB signing will not be able to access the SMB share. When this is disabled, clients that have SMB signing enabled will use SMB signing, while clients without SMB signing will access without needing SMB signing. SMB signing can have a considerable performance impact. | False | No |
@@ -48,7 +48,7 @@ SMB with Azure NetApp Files provides a slew of features and configuration consta
4848
| SMB encryption for domain controller connections | Require encryption for conversations between the domain controllers and Azure NetApp Files Disabled | Yes (Active Directory connections) |
4949
| AES encryption types for SMB connections | Allows AES encryption types for SMB connections to the Azure NetApp Files volume | Disabled | Yes (Active Directory connections) |
5050
| Try Channel Binding | Supports the use of [channel binding](/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/domain-controller-ldap-server-channel-binding-token-requirements) with domain controllers. | Enabled | No |
51-
| Allowed Kerberos encryption types Encryption types allowed for SMB Kerberos. Strongest encryption type supported by client and server will be used. | RC4<br />DES<br />AES-128*<br />AES-256* | Yes* (Enabling AES on the Active Directory connections controls whether AES is supported; otherwise, only RC4 and DES are supported/used)
51+
| Allowed Kerberos encryption types | Encryption types allowed for SMB Kerberos. Strongest encryption type supported by client and server will be used. | RC4<br />DES<br />AES-128*<br />AES-256* | Yes* (Enabling AES on the Active Directory connections controls whether AES is supported; otherwise, only RC4 and DES are supported/used) |
5252

5353
The following table shows the SMB server feature option configurations for Azure NetApp Files. None of these options are currently configurable in Azure NetApp Files, however it's still useful to be aware of the behaviors seen when connecting to an Azure NetApp Files volume via SMB.
5454

@@ -59,12 +59,11 @@ The following table shows the SMB server feature option configurations for Azure
5959
| SMBv2.x | SMB version 2.x support | Enabled |
6060
| SMBv3.x | SMB version 3 and 3.1.x support | Enabled |
6161
| Advanced sparse file support | Enables support for FSCTL_QUERY_ALLOCATED_RANGES and FSCTL_SET_ZERO_DATA commands over SMB. <br></br> **FSCTL_QUERY_ALLOCATED_RANGES**: This file system control code (FSCTL) allows an SMB client to query the ranges of a file that are actually allocated. i.e.: The file system has allocated blocks on behalf of these ranges. This FSCTL is used by MS SQL Server as part of the DBCC check workflow. It's also used by Hyper-V. <br></br> **FSCTL_SET_ZERO_DATA**: This FSCTL allows an SMB client to write zeros for an extended range. Using this FSCTL, a client can write zeros up to the value set for the Maximum Length of Data in a File Zeroed by One Operation. Additionally, any of the write zero ranges that are block aligned will also punch holes instead of writing blocks filled with zeros. Azure NetApp Files returns zeros in-lieu of blocks that are unallocated. This FSCTL is used by MS SQL Server as part of the DBCC check workflow, as well as Hyper-V. | Enabled |
62-
| [FSCTL file level trim](/windows/win32/api/winioctl/ni-winioctl-fsctl_file_level_trim) | File trim allows an SMB client to trim one or more ranges of data for a file. The combined length of ranges that will be trimmed is limited by the value of Maximum Length of Data in a File Zeroed by One Operation. This FSCTL is a hint to the file system to free up ranges, meaning the execution is optional in nature. <br></br> Starting from the first range, trimming is up to the range until it exceeds the Maximum Length of Data in a File Zeroed by One Operation value. <br></br>
63-
This FSCTL is used by Hyper-V for space efficiency. For example, if file deletes are done inside the guest VM, it may translate into this FSCTL for the storage. | Enabled |
64-
| Maximum Length of Data in a File Zeroed by One Operation | Maximum size allowed for a single file zero operation. | 32MB |
62+
| [FSCTL file level trim](/windows/win32/api/winioctl/ni-winioctl-fsctl_file_level_trim) | File trim allows an SMB client to trim one or more ranges of data for a file. The combined length of ranges that will be trimmed is limited by the value of Maximum Length of Data in a File Zeroed by One Operation. This FSCTL is a hint to the file system to free up ranges, meaning the execution is optional in nature. <br></br> Starting from the first range, trimming is up to the range until it exceeds the Maximum Length of Data in a File Zeroed by One Operation value. <br></br> This FSCTL is used by Hyper-V for space efficiency. For example, if file deletes are done inside the guest VM, it may translate into this FSCTL for the storage. | Enabled |
63+
| Maximum Length of Data in a File Zeroed by One Operation | Maximum size allowed for a single file zero operation. | 32 MB |
6564
| Copy offload | Server-side copy of files rather than copying over the SMB protocol when source and destination are on the same storage system | Disabled |
66-
| Maximum same user sessions per TCP connection | Limits the number of simultaneous user sessions per TCP connection. | 2500 |
67-
| Maximum same tree connections per session | Limits the number of simultaneous tree connections to the same SMB share. | 5000 |
65+
| Maximum same user sessions per TCP connection | Limits the number of simultaneous user sessions per TCP connection. | 2,500 |
66+
| Maximum same tree connections per session | Limits the number of simultaneous tree connections to the same SMB share. | 5,000 |
6867
| Maximum opens, same file | Limits how many opens on the same file | 1000 |
6968
| Maximum watches (change notifications) per volume | Maximum number of change notifications | 500 |
7069
| VSS shadow copy feature | Used to perform remote backups of data stored using Hyper-V over SMB. VSS shadow copy is only supported for use with Hyper-V over SMB. | Enabled |
@@ -106,4 +105,18 @@ This FSCTL is used by Hyper-V for space efficiency. For example, if file deletes
106105

107106
| Share property | Definition/Considerations | Default |
108107
| --- | ------ | - |
109-
108+
| Oplocks | Traditional opportunistic locks (oplocks) and lease oplocks enable an SMB client in certain file-sharing scenarios to perform client-side caching of read-ahead, write-behind, and lock information. A client can then read from or write to a file without regularly reminding the server that it needs access to the file in question. This improves performance by reducing network traffic. Note that Lease oplocks are an enhanced form of oplocks available with the SMB 2.1 protocol and later. Lease oplocks allow a client to obtain and preserve client caching state across multiple SMB opens originating from itself. | Enabled |
109+
| Browsable | Determines whether a share is browsable/visible in share listings by excluding it in the NetShareEnumAll call. | Configurable |
110+
| Change notify | [Directory change notifications](/openspecs/windows_protocols/ms-fasod/271a36e8-c94b-4527-8735-e884f5504cd9) are periodic updates of share content listings that happen automatically without needing to refresh an Explorer window or reconnect to the share. | Enabled |
111+
| Show previous versions | This property enables SMB shares to show snapshot copies of the Azure NetApp Files volume under the [Previous Versions tab](https://support.microsoft.com/windows/backup-and-restore-with-file-history-7bf065bf-f1ea-0a78-c1cf-7dcf51cc8bfc). | Enabled |
112+
| Show snapshot | Controls if the snapshot directory (~snapshot) is visible to clients. If enabled, the directory may be included in file systems scans (and can increase scan times) by applications and should be excluded if possible via application configuration. Additionally, if offline files are used, ~snapshot may also be included in caching unless explicitly excluded. | Configurable |
113+
| Offline files | Offline files are a way for clients to cache data located in an SMB share locally on a client for faster access. In Azure NetApp Files, this is set to “manual,” which means the SMB client will need to initiate the file caching. <br></br> **NOTE:** If the Show Snapshot share property is set on a share that has offline files configured, Windows clients cache all of the Snapshot copies under the ~snapshot folder in the user's home directory. <br></br> Windows clients cache all of the Snapshot copies under a directory if one of more of the following is true: <ul><li>The user makes the directory available offline from the client. The contents of the ~snapshot folder in the directory is included and made available offline.</li><li>The user configures folder redirection to redirect a folder such as My Documents to the root of a home directory residing on the CIFS server share.</li></ul>Offline file deployments where the ~snapshot folder is included in offline files should be avoided. The Snapshot copies in the ~snapshot folder contain all data on the volume at the point at which Azure NetApp Files created the Snapshot copy. Therefore, creating an offline copy of the ~snapshot folder consumes significant local storage on the client, consumes network bandwidth during offline files synchronization, and increases the time it takes to synchronize offline files. | Manual |
114+
| Access based enumeration | Access based enumeration is a way to configure an Azure NetApp Files volume to hide directories and files in an SMB share from users that do not have access permissions. | Configurable |
115+
| Encryption (SMB3 only) | Enables [SMB3 encryption](azure-netapp-files-smb-performance.md#smb-encryption) for the share, which will encrypt SMB conversations between the client and Azure NetApp Files volume. <br></br> SMB3 encryption can have a [noticeable impact on performance](azure-netapp-files-smb-performance.md#smb_encryption_impact) in an Azure NetApp Files volume. | Configurable |
116+
| Continuously Available* | Continuously available (CA) SMB shares provide lock mirroring between bare metal systems in Azure NetApp Files to improve resiliency in the event of a hardware outage. <br></br> Because of the potential impact on performance of lock mirroring in SMB shares, CA shares are qualified only for the following workloads hosted on SMB shares: <ul><li>[Citrix App Layering](https://docs.citrix.com/en-us/citrix-app-layering/4.html)</li><li>[FSLogix user profile containers](/virtual-desktop/create-fslogix-profile-container), including [FSLogix ODFC containers](/fslogix/concepts-container-types#odfc-container)</li><li>[MSIX app attach with Azure Virtual Desktop](/azure/virtual-desktop/create-netapp-files)</li><li>[SQL Server](solutions-benefits-azure-netapp-files-sql-server.md)</li></ul>For further details, see [Create an SMB volume for Azure NetApp Files](azure-netapp-files-create-volumes-smb.md). | Configurable |
117+
118+
## Next steps
119+
120+
- [Understand NAS concepts in Azure NetApp Files](network-attached-storage-concept.md)
121+
- [Understand SMB file permissions in Azure NetApp Files](network-attached-file-permissions-smb.md)
122+
- [Understand guidelines for Active Directory Domain Services site design and planning for Azure NetApp Files](understand-guidelines-active-directory-domain-service-site.md)

0 commit comments

Comments
 (0)