Microsoft Azure

What Is Tiering in Azure File Sync


One of the benefits of deploying Azure File Sync (AFS) is the ability to cloud-tier your code file server storage –it’s the primary reason, in my opinion. You can enable file sync in a granular manner: for each server endpoint in each sync group. For example, if I had a sync group for a share called Marketing with server endpoints synchronizing this share between three different file servers, I could enable a different tiering policy on each server.

When you enable tiering, the mechanism should not change how users see or use the data, or how permissions are applied – and that’s exactly how AFS does things. When a file is tiered to the cloud, the cold file is removed from the file server, and is replaced with a pointer or reparse point, with the same name and permissions, that points to the cloud copy of the file. From the users’ point of view, little has changed:

  • The file is in the same place
  • The filename has not changed
  • The permissions are the same as before
  • The icon is dimmed
  • The file now has an O (offline) attribute

Note: the tiering is handled by a filter driver called StorageSync.sys.

Sponsored Content

Passwords Haven’t Disappeared Yet

123456. Qwerty. Iloveyou. No, these are not exercises for people who are brand new to typing. Shockingly, they are among the most common passwords that end users choose in 2021. Research has found that the average business user must manually type out, or copy/paste, the credentials to 154 websites per month. We repeatedly got one question that surprised us: “Why would I ever trust a third party with control of my network?


As I mentioned before, you can configure tiering on each server endpoint that you want to enable tiering on.

The settings are simple:

  • Cloud Tiering: Enabled or Disabled (default).
  • Volume Free Space (%): How much space should tiering try to free up on the volume that the folder is on.

Enabling cloud-tiering in an Azure File Sync server endpoint [Image Credit: Aidan Finn]
Enabling cloud-tiering in an Azure File Sync server endpoint [Image Credit: Aidan Finn]
Imagine that you have three server endpoints on D: of a file server, synchronizing with AFS, and you want to enable tiering:

  • D:\Shares\Accounting: 10% free
  • D:\Shares\Marketing: 20% free
  • D:\Shares\Sales: 30% free

When the sync agent on this file server receives the above policies, it will not implement three policies. It will take the largest amount and apply it across the three folders. The coldest files from all three endpoints will be tiered until 30% of drive space is free on the drive – if it is possible to free up 30% of drive space by tiering these folders.

Requirements of Tiering

There are some requirements for tiering:

  • You cannot enable cloud tiering with a server endpoint on a system drive.
  • Files must be at least 64 KiB in size.
  • The anti-virus on the file server should understand the “O” attribute to avoid downloading cloud-tiered files during a scheduled scan.
  • It is recommended that you use Azure Backup to protect the cloud-tiered (and all synchronized) files instead of on-premises backup, also to avoid unwanted downloads.
  • Data deduplication must not be enabled on the server endpoints volume.


Related Topics:


Don't have a login but want to join the conversation? Sign up for a Petri Account

Comments (0)

Leave a Reply

Aidan Finn, Microsoft Most Valuable Professional (MVP), has been working in IT since 1996. He has worked as a consultant and administrator for the likes of Innofactor Norway, Amdahl DMR, Fujitsu, Barclays and Hypo Real Estate Bank International where he dealt with large and complex IT infrastructures and MicroWarehouse Ltd. where he worked with Microsoft partners in the small/medium business space.