Learn What IT Pros Need to Know About Windows 11 - August 26th at 1 PM ET! Learn What IT Pros Need to Know About Windows 11 - August 26th at 1 PM ET!
Microsoft Azure

What Is Tiering in Azure File Sync

Tiering

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

Read the Best Personal and Business Tech without Ads

Staying updated on what is happening in the technology sector is important to your career and your personal life but ads can make reading news, distracting. With Thurrott Premium, you can enjoy the best coverage in tech without the annoying ads.

Policy-Based

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:

BECOME A PETRI MEMBER:

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

Register
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.

Register for Advanced Microsoft 365 Day!

GET-IT: Advanced Microsoft 365 1-Day Virtual Conference - Live August 24th!

Join us on Tuesday, August 24th and hear from Microsoft MVPs and industry experts about how to take advantage of Microsoft 365 at a technical level and dive deep into the features and functionality that will make your environment more secure and compliant.

RSVP Now

Sponsored By