Azure File Sync - meta.edb | ESE Database File Size

Dominic Marsh 0 Reputation points
2024-09-11T07:51:54.57+00:00

Hi,

Were trying to troubleshoot an issue with an Azure File Sync setup we have running utilizing cloud tiering functionalities. On the local server were having issues with huge meta.edb files on both servers filling up disk space. Current file size of the meta.edb is: 167.0GB which is over half of the allocated disk size (300GB). Were storing around 400-500GB in the cloud utilizing the tiering functionalities but wouldnt expect the meta.edb file to grow to this extent.

Any suggestions or know the root cause?

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,302 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,224 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,227 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Keshavulu Dasari 1,155 Reputation points Microsoft Vendor
    2024-09-13T10:44:02.1566667+00:00

    Hi Dominic Marsh,

    Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    May I know which version of Azure Filesync agent are you using?

    Based on your scenario there are few possible causes:

    • High file count: Meta.edb files store metadata for all files, including layer files. A large number of files can increase the metadata significantly.
    • Frequent file changes: Frequent file changes can increase the size of the metadata database while keeping track of these changes.

    Sync errors: Sometimes Sync problems or errors can cause metadata files to grow unexpectedly.

    Suggestions:

    • Checking for synchronization errors: Check for synchronization errors using the Azure portal or event logs on the server. Fixing this error can sometimes reduce the size of the meta.edb file.
    • Optimal file organization: Reducing the number of files or reorganizing your file shares can help manage metadata file size.
    • Modify Cache Settings: You can adjust the MaxCacheSize and MaxCacheAge settings to control how much data is cached locally.
    • Routine maintenance: Perform routine maintenance tasks such as parsing the meta.edb file and ensure that the server has the right resources.
    • Verify the service status: Verify that the Storage Sync Agent service (FileSyncSvc) is running on the server.

    Run diagnostics: Use the Debug-StorageSyncServer PowerShell cmdlet to diagnose common issues with the Azure File Sync server.

    Review notes: Collect and review notes to identify any underlying problems. You can use the AFSDiag.ps1 script for advanced analysis.

    For more information :
    Cloud tiering overview

    Please let us know if you have any further queries. I’m happy to assist you further.


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.