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.