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: includes/storage-files-migration-namespace-mapping.md
+50-9Lines changed: 50 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.subservice: files
11
11
12
12
In this step, you are evaluating how many Azure file shares you need. A single Windows Server (or cluster) can sync up to 30 Azure file shares.
13
13
14
-
You may have more folders on your StorSimple that you currently share out locally as an SMB shares to your users and apps. The easiest would be to envision for an on-premises share to map 1:1 to an Azure file share. If this number is manageably small, meaning below 30 for a single Windows Server, or you plan on having two Windows Servers (60) and so on, then a 1:1 mapping is recommended.
14
+
You may have more folders on your volumes that you currently share out locally as SMB shares to your users and apps. The easiest would be to envision for an on-premises share to map 1:1 to an Azure file share. If this number is manageably small, meaning below 30 for a single Windows Server, or you plan on having two Windows Servers (60) and so on, then a 1:1 mapping is recommended.
15
15
16
16
If you have more shares than 30, it is often unnecessary to map an on-premises share 1:1 to an Azure file share.
17
17
Consider the following options:
@@ -25,17 +25,58 @@ For instance, if your HR department has a total of 15 shares, then you could con
25
25
Azure File Sync supports syncing the root of a volume to an Azure file share.
26
26
If you sync the root folder, then all subfolders and files will end up in the same Azure file share.
27
27
28
-
#### Other best practices to consider
28
+
Synching the root of the volume will not always be the best answer. There are benefits in syncing multiple locations, doing so helps keep the number of items lower per sync scope. Setting up Azure file sync with a lower number of items is not just important for sync, but also benefits cloud-side restore from backups as well as aiding the speed of disaster recovery in case you lose your server and provision a new one that connects to the same Azure file shares.
29
29
30
-
Other than the 30 Azure file share sync limit per server, the leading consideration is the efficiency of sync.
30
+
#### A structured approach to a deployment map
31
31
32
-
When there are multiple shares on your server each syncing to their own Azure file share, sync can work in parallel for all of them. The scale vector is not the size of all files in a sync scope. It is the number of items (files and folders) that need processing.
32
+
Before deploying cloud storage in a subsequent step, it is important to create a map between on-premises folders and Azure file shares. This mapping will then inform how many and which Azure File Sync "sync group" resources you will provision. A sync group ties the Azure file share and the folder on your server together and establishes a sync connection.
33
33
34
-
A single Azure file share can hold up to 100 TiB.
35
-
Azure File Sync supports syncing up to 100 million items per Azure file share.
34
+
To make the decision how many Azure file shares you need, you need to understand a few limits and best practices to optimize your map.
36
35
37
-
Synching the root volume will not always be the best answer. There are benefits in syncing multiple locations, doing so helps keep the number of items lower per sync scope. Setting up Azure file sync with a lower number of items is not just important for sync, but also benefits cloud-side restore from backups as well as aiding the speed of disaster recovery in case you lose your server and provision a new one that connects to the same Azure file shares.
36
+
* A server with the Azure File Sync agent installed, can sync with up to 30 Azure file shares.
37
+
* An Azure file share is deployed inside of a storage account. That makes the storage account a scale target for performance numbers such as IOPS and throughput. Two standard (not premium) Azure file shares could theoretically saturate the maximum performance a storage account can deliver. If you plan to just attach Azure File Sync to these file shares with occasional direct access of the Azure file share in the cloud, then grouping several Azure file shares into the same storage account is fine. If you plan on lifting an app to Azure, that will then use the Azure file share natively, you might need more performance for this app than Azure File Sync needed from the file share. In these situations, it would be better to map an Azure file share to its own storage account.
38
+
* There is a limit of 250 storage accounts per subscription in a single Azure region.
38
39
39
-
Use a combination of the concepts above to help determine how many Azure file shares you need, and which parts of your existing StorSimple data will end up in which Azure file share.
40
+
> [!TIP]
41
+
> With this information in mind, it often becomes necessary to group multiple top-level folders on your volumes into a common, new root directory. You will then sync this new root directory and all the folders you grouped into it, to a single Azure file share.
40
42
41
-
Create a list that records your thoughts, such that you can refer to it in the next step. Staying organized here is important as it can be easy to lose details of your mapping plan when provisioning many resources at once.
43
+
This technique allows you to stay within the 30 Azure file share sync limit per server.
44
+
This grouping under a common root has no impact on access to your data. Your ACLs stay as is, you would only need to adjust any share paths (like SMB or NFS shares) you might have on the server folders that you now changed into a common root. Nothing else changes.
45
+
46
+
Another important aspect of Azure File Sync and a balanced performance and experience is an understanding of the scale factors for Azure File Sync performance. Obviously, when files are synced over the internet, larger files take more time and bandwidth to sync.
47
+
48
+
> [!IMPORTANT]
49
+
> The most important scale vector for Azure File Sync is the number of items (files and folders) that need to be synchronized.
50
+
51
+
Azure File Sync supports syncing up to 100,000 items to a single Azure file share, which is not a hard limit, but depicts what the Azure File Sync team tests on a regular basis.
52
+
53
+
It is a best practice to keep the number of items per sync scope low. That aspect is an important factor to be considered in your mapping of folders to Azure file shares.
54
+
55
+
Even if in your situation a set of folders can logically sync to the same Azure file share (using the new, common root folder approach from above) it might still be better to regroup folders such that they sync to two instead of one Azure file share. This approach can be used to keep the number of files and folders per file share balanced across the server.
56
+
57
+
#### Create a mapping table
58
+
59
+
:::row:::
60
+
:::column:::
61
+
:::image type="content" source="media/storage-files-migration-namespace-mapping/namespace-mapping-condensed-small.png" alt-text="An example of a mapping table. Download the file below to experience and use the content of this image.":::
62
+
:::column-end:::
63
+
:::column:::
64
+
Use a combination of the previous concepts to help determine how many Azure file shares you need, and which parts of your existing data will end up in which Azure file share.
65
+
66
+
Create a table that records your thoughts, such that you can refer to it in the next step. Staying organized is important as it can be easy to lose details of your mapping plan when provisioning many Azure resources at once. To help you in creating a complete mapping, you can download a Microsoft Excel file as a template.
67
+
68
+
[//]: #(After several attempts, there does not appear to be a markdown way capable of adding a nested two-column table with working image parsing and text/hyperlink on the same line. HTML seems like the only option.)
69
+
70
+
<br>
71
+
<table>
72
+
<tr>
73
+
<td>
74
+
<img src="media/storage-files-migration-namespace-mapping/excel.png" alt="Microsoft Excel file icon that helps to set the context for the type of file download for the link next to it.">
75
+
</td>
76
+
<td>
77
+
<a href="https://download.microsoft.com/download/1/8/D/18DC8184-E7E2-45EF-823F-F8A36B9FF240/Azure File Sync - Namespace Mapping.xlsx">Download a namespace-mapping template.</a>
0 commit comments