Skip to content

Commit 8b9e962

Browse files
committed
acrolinx
1 parent d51ac82 commit 8b9e962

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

articles/storage/file-sync/file-sync-cloud-tiering-policy.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Azure File Sync cloud tiering policies
3-
description: Details on how the date policy and volume free space policy work together for different scenarios.
3+
description: How the date policy and volume free space policy work together for different cloud tiering scenarios in Azure File Sync.
44
author: khdownie
55
ms.service: azure-file-storage
66
ms.topic: conceptual
@@ -22,39 +22,39 @@ Here's an example to illustrate how these policies work. Let's say you configure
2222

2323
|File Name |Last Access Time |File Size |Stored In |
2424
|----------|------------------|-----------|----------|
25-
|File 1 | 2 days ago | 10 GiB | Server and Azure file share
26-
|File 2 | 10 days ago | 30 GiB | Server and Azure file share
27-
|File 3 | 1 year ago | 200 GiB | Server and Azure file share
28-
|File 4 | 1 year, 2 days ago | 120 GiB | Server and Azure file share
29-
|File 5 | 2 years, 1 day ago | 140 GiB | Server and Azure file share
25+
|File A | 2 days ago | 10 GiB | Server and Azure file share
26+
|File B | 10 days ago | 30 GiB | Server and Azure file share
27+
|File C | 1 year ago | 200 GiB | Server and Azure file share
28+
|File D | 1 year, 2 days ago | 120 GiB | Server and Azure file share
29+
|File E | 2 years, 1 day ago | 140 GiB | Server and Azure file share
3030

3131
**Change 1:** You enabled cloud tiering, set a volume free space policy of 20%, and kept the date policy disabled. With that configuration, cloud tiering ensures 20% (in this case 100 GiB) of space is kept free and available on the local machine. As a result, the total capacity of the local cache is 400 GiB. This cache will store the most recently and frequently accessed files on the local volume.
3232

33-
With this configuration, only files 1 through 4 would be stored in the local cache, and file 5 would be tiered. This only accounts for 360 GiB out of the 400 GiB that could be used. File 5 is 140 GiB and would exceed the 400 GiB limit if it was locally cached.
33+
With this configuration, only files A through D would be stored in the local cache, and file E would be tiered. This only accounts for 360 GiB out of the 400 GiB that could be used. File E is 140 GiB and would exceed the 400 GiB limit if it was locally cached.
3434

35-
**Change 2:** Say a user accesses file 5, making file 5 the most recently accessed file in the share. As a result, file 5 would be stored in the local cache and to fit under the 400 GiB limit, and file 4 would be tiered. The following table shows where the files are stored with these updates:
35+
**Change 2:** Say a user accesses file E, making file E the most recently accessed file in the share. As a result, file E would be stored in the local cache and to fit under the 400 GiB limit, and file D would be tiered. The following table shows where the files are stored with these updates:
3636

3737
|File Name |Last Access Time |File Size |Stored In |
3838
|----------|------------------|-----------|----------|
39-
|File 5 | 2 hours ago | 140 GiB | Server and Azure file share
40-
|File 1 | 2 days ago | 10 GiB | Server and Azure file share
41-
|File 2 | 10 days ago | 30 GiB | Server and Azure file share
42-
|File 3 | 1 year ago | 200 GiB | Server and Azure file share
43-
|File 4 | 1 year, 2 days ago | 120 GiB | Azure file share, tiered locally
39+
|File E | 2 hours ago | 140 GiB | Server and Azure file share
40+
|File A | 2 days ago | 10 GiB | Server and Azure file share
41+
|File B | 10 days ago | 30 GiB | Server and Azure file share
42+
|File C | 1 year ago | 200 GiB | Server and Azure file share
43+
|File D | 1 year, 2 days ago | 120 GiB | Azure file share, tiered locally
4444

45-
**Change 3:** Imagine you updated the policies so that the date-based tiering policy is 60 days and the volume free space policy is 70%. Now, only up to 150 GiB can be stored in the local cache. Although file 2 was accessed less than 60 days ago, the volume free space policy overrides the date policy, and file 2 is tiered to maintain the 70% local free space.
45+
**Change 3:** Imagine you updated the policies so that the date-based tiering policy is 60 days and the volume free space policy is 70%. Now, only up to 150 GiB can be stored in the local cache. Although file B was accessed less than 60 days ago, the volume free space policy overrides the date policy, and file B is tiered to maintain the 70% local free space.
4646

4747
**Change 4:** If you changed the volume free space policy to 20% and then used `Invoke-StorageSyncFileRecall` to recall all the files that fit on the local drive while adhering to the cloud tiering policies, the table would look like this:
4848

4949
|File Name |Last Access Time |File Size |Stored In |
5050
|----------|------------------|-----------|----------|
51-
|File 5 | 1 hour ago | 140 GiB | Server and Azure file share
52-
|File 1 | 2 days ago | 10 GiB | Server and Azure file share
53-
|File 2 | 10 days ago | 30 GiB | Server and Azure file share
54-
|File 3 | 1 year ago | 200 GiB | Azure file share, tiered locally
55-
|File 4 | 1 year, 2 days ago | 120 GiB | Azure file share, tiered locally
51+
|File E | 1 hour ago | 140 GiB | Server and Azure file share
52+
|File A | 2 days ago | 10 GiB | Server and Azure file share
53+
|File B | 10 days ago | 30 GiB | Server and Azure file share
54+
|File C | 1 year ago | 200 GiB | Azure file share, tiered locally
55+
|File D | 1 year, 2 days ago | 120 GiB | Azure file share, tiered locally
5656

57-
In this case, files 1, 2 and 5 would be locally cached and files 3 and 4 would be tiered. Because the date policy is 60 days, files 3 and 4 are tiered, even though the volume free space policy allows for up to 400 GiB locally.
57+
In this case, files A, B and E would be locally cached and files C and D would be tiered. Because the date policy is 60 days, files C and D are tiered, even though the volume free space policy allows for up to 400 GiB locally.
5858

5959
> [!NOTE]
6060
> Files aren't automatically recalled when customers change the volume free space policy to a smaller value (for example, from 20% to 10%) or change the date policy to a larger value (for example, from 20 days to 50 days).

0 commit comments

Comments
 (0)