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/storage/files/files-smb-protocol.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,30 @@
1
1
---
2
2
title: SMB file shares in Azure Files
3
-
description: Learn about file shares hosted in Azure Files using the Server Message Block (SMB) protocol.
3
+
description: Learn about file shares hosted in Azure Files using the Server Message Block (SMB) protocol, including features, security, and SMB Multichannel for premium file shares.
4
4
author: khdownie
5
5
ms.service: azure-file-storage
6
6
ms.topic: conceptual
7
-
ms.date: 02/26/2024
7
+
ms.date: 05/08/2024
8
8
ms.author: kendownie
9
9
ms.custom: devx-track-azurepowershell
10
10
---
11
11
12
-
# SMB file shares in Azure Files
12
+
# SMB Azure file shares
13
+
13
14
Azure Files offers two industry-standard protocols for mounting Azure file share: the [Server Message Block (SMB)](/windows/win32/fileio/microsoft-smb-protocol-and-cifs-protocol-overview) protocol and the [Network File System (NFS)](https://en.wikipedia.org/wiki/Network_File_System) protocol. Azure Files enables you to pick the file system protocol that is the best fit for your workload. Azure file shares don't support accessing an individual Azure file share with both the SMB and NFS protocols, although you can create SMB and NFS file shares within the same storage account. For all file shares, Azure Files offers enterprise-grade file shares that can scale up to meet your storage needs and can be accessed concurrently by thousands of clients.
14
15
15
-
This article covers SMB Azure file shares. For information about NFS Azure file shares, see [NFS file shares in Azure Files](files-nfs-protocol.md).
16
+
This article covers SMB Azure file shares. For information about NFS Azure file shares, see [NFS Azure file shares](files-nfs-protocol.md).
16
17
17
18
## Common scenarios
19
+
18
20
SMB file shares are used for a variety of applications including end-user file shares and file shares that back databases and applications. SMB file shares are often used in the following scenarios:
19
21
20
22
- End-user file shares such as team shares, home directories, etc.
21
23
- Backing storage for Windows-based applications, such as SQL Server databases or line-of-business applications written for Win32 or .NET local file system APIs.
22
24
- New application and service development, particularly if that application or service has a requirement for random IO and hierarchical storage.
23
25
24
26
## Features
27
+
25
28
Azure Files supports the major features of SMB and Azure needed for production deployments of SMB file shares:
26
29
27
30
- AD domain join and discretionary access control lists (DACLs).
@@ -36,6 +39,7 @@ Azure Files supports the major features of SMB and Azure needed for production d
36
39
SMB file shares can be mounted directly on-premises or can also be [cached on-premises with Azure File Sync](../file-sync/file-sync-introduction.md).
37
40
38
41
## Security
42
+
39
43
All data stored in Azure Files is encrypted at rest using Azure storage service encryption (SSE). Storage service encryption works similarly to BitLocker on Windows: data is encrypted beneath the file system level. Because data is encrypted beneath the Azure file share's file system, as it's encoded to disk, you don't have to have access to the underlying key on the client to read or write to the Azure file share. Encryption at rest applies to both the SMB and NFS protocols.
40
44
41
45
By default, all Azure storage accounts have encryption in transit enabled. This means that when you mount a file share over SMB (or access it via the FileREST protocol), Azure Files will only allow the connection if it is made with SMB 3.x with encryption or HTTPS. Clients that do not support SMB 3.x with SMB channel encryption will not be able to mount the Azure file share if encryption in transit is enabled.
@@ -45,9 +49,11 @@ Azure Files supports AES-256-GCM with SMB 3.1.1 when used with Windows Server 20
45
49
You can disable encryption in transit for an Azure storage account. When encryption is disabled, Azure Files will also allow SMB 2.1 and SMB 3.x without encryption. The primary reason to disable encryption in transit is to support a legacy application that must be run on an older operating system, such as Windows Server 2008 R2 or older Linux distribution. Azure Files only allows SMB 2.1 connections within the same Azure region as the Azure file share; an SMB 2.1 client outside of the Azure region of the Azure file share, such as on-premises or in a different Azure region, will not be able to access the file share.
46
50
47
51
## SMB protocol settings
52
+
48
53
Azure Files offers multiple settings that affect the behavior, performance, and security of the SMB protocol. These are configured for all Azure file shares within a storage account.
49
54
50
55
### SMB Multichannel
56
+
51
57
SMB Multichannel enables an SMB 3.x client to establish multiple network connections to an SMB file share. Azure Files supports SMB Multichannel on premium file shares (file shares in the FileStorage storage account kind). There is no additional cost for enabling SMB Multichannel in Azure Files. SMB Multichannel is disabled by default.
52
58
53
59
# [Portal](#tab/azure-portal)
@@ -149,6 +155,7 @@ az storage account file-service-properties update \
149
155
---
150
156
151
157
### SMB security settings
158
+
152
159
Azure Files exposes settings that let you toggle the SMB protocol to be more compatible or more secure, depending on your organization's requirements. By default, Azure Files is configured to be maximally compatible, so keep in mind that restricting these settings may cause some clients not to be able to connect.
153
160
154
161
Azure Files exposes the following settings:
@@ -333,6 +340,7 @@ az storage account file-service-properties update \
333
340
---
334
341
335
342
## Limitations
343
+
336
344
SMB file shares in Azure Files support a subset of features supported by SMB protocol and the NTFS file system. Although most use cases and applications do not require these features, some applications might not work properly with Azure Files if they rely on unsupported features. The following features aren't supported:
SMB Azure file shares are available in every Azure region, including all public and sovereign regions. Premium SMB file shares are available in [a subset of regions](https://azure.microsoft.com/global-infrastructure/services/?products=storage).
353
362
354
363
## Next steps
364
+
355
365
-[Plan for an Azure Files deployment](storage-files-planning.md)
356
366
-[Create an Azure file share](storage-how-to-create-file-share.md)
357
367
- Mount SMB file shares on your preferred operating system:
0 commit comments