locked
Azure Sync - Tiered RRS feed

  • Question

  • A question I haven't seen answered yet and can't find in the documentation:

    When activating cloud tier, does only the data that matches that tier go into the cloud? Is there a way to have all your files pushed to the cloud, but still have a tier locally where older non-touched data would still be replaced with the offline stubs.

    The idea here is that we have a lot of offices that have been around for a while with a considerable amount of data, mostly inactive. Every few years we replace the file server with a new one, with a lot of storage to handle that. We'd liked to be able to have a standardized file server, say one with a 1TB local array, that can act long term as the caching server with only 'recently' accessed files. I know there's ways to do this with 3rd party applications and appliances, but hoping that azure file sync will support this as well. 

    Tuesday, May 29, 2018 5:05 PM

Answers

  • Hi Dan,

    With Azure File Sync, all data always goes to the cloud - regardless of whether cloud tiering is enabled or not. The behavior is exactly as you described: all data is synced, older files are tiered with pointers to their locations in the Azure file share. This enables us to support scenarios like Fast DR and snapshot coordination/management via Azure Backup (and eventually fully backup support).

    You can verify that all data is indeed synced by mounting the Azure file share or viewing the file share from the Azure portal.

    Hope this helps!

    Will Gries
    Program Manager, Azure Files

    • Proposed as answer by vikranth s Tuesday, May 29, 2018 7:47 PM
    • Marked as answer by Dan Paolera Tuesday, May 29, 2018 8:13 PM
    Tuesday, May 29, 2018 7:44 PM

All replies

  • When the cloud tiering feature is enabled, cloud tiering automatically tiers files based on last access and modify times to achieve the volume free space percentage specified on the cloud endpoint. Sometimes, though, you might want to manually force a file to tier. This might be useful if you save a large file that you don't intend to use again for a long time, and you want the free space on your volume now to use for other files and folders. You can force tiering by using the following PowerShell commands:

    Import-Module "C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll"
    Invoke-StorageSyncCloudTiering -Path <file-or-directory-to-be-tiered>
    

    Reference: https://docs.microsoft.com/en-us/azure/storage/files/storage-files-faq#azure-file-sync

    “If this answer was helpful, click “Mark as Answer” or Up-Vote. To provide additional feedback on your forum experience, click here


    Tuesday, May 29, 2018 6:07 PM
  • yes, that doesn't answer my question at all.

    "The idea here is that we have a lot of offices that have been around for a while with a considerable amount of data, mostly inactive. Every few years we replace the file server with a new one, with a lot of storage to handle that. We'd liked to be able to have a standardized file server, say one with a 1TB local array, that can act long term as the caching server with only 'recently' accessed files. I know there's ways to do this with 3rd party applications and appliances, but hoping that azure file sync will support this as well. "

    I'm obviously not going to run that command to force terrabytes of files up to the cloud. I suppose I could run a get- command to get files that are older than a certain date and run it on a schedule task, but I was hoping for something built in
    Tuesday, May 29, 2018 7:28 PM
  • Hi Dan,

    With Azure File Sync, all data always goes to the cloud - regardless of whether cloud tiering is enabled or not. The behavior is exactly as you described: all data is synced, older files are tiered with pointers to their locations in the Azure file share. This enables us to support scenarios like Fast DR and snapshot coordination/management via Azure Backup (and eventually fully backup support).

    You can verify that all data is indeed synced by mounting the Azure file share or viewing the file share from the Azure portal.

    Hope this helps!

    Will Gries
    Program Manager, Azure Files

    • Proposed as answer by vikranth s Tuesday, May 29, 2018 7:47 PM
    • Marked as answer by Dan Paolera Tuesday, May 29, 2018 8:13 PM
    Tuesday, May 29, 2018 7:44 PM
  • Thanks Will! Thats exactly what I wanted to hear. Can't wait for it to be out of preview so I can roll it across the enterprise. 
    Tuesday, May 29, 2018 8:13 PM