Access Deny for RmMetaData

7 Nov

Access Deny for RmMetaData

Symptom:

The server backup failed with incomplete instance in backup history. You will find Event ID 547 in event viewer under Application, Windows Logs. In the General info of this event, it shows a path of server backup log file in following format.

The backup operation that started at ‘‎2012‎-‎03‎-‎31T07:00:05.748719600Z’ has encountered errors for the volume(s) ‘F:’. Log of files not successfully backed up ‘C:\Windows\Logs\WindowsServerBackup\Backup_Error-31-03-2012_02-00-05.log’.

Follow the above file path to open the server backup log, and it will have info like following:

Error in backup of F:\$Extend\$RmMetadata\$TxfLog\ during write: Error [0x80070005] Access is denied.

Error in backup of F:\$Extend\$RmMetadata\$TxfLog\$TxfLog.blf during write: Error [0x80070005] Access is denied.

Root Cause:

This happened on NTFS format driver that has file level configuration for server backup only. $RmMetaData is for NTFS internal data which cannot be accessed by other process.

 

Resolution:

You have two options to work around this issue.

  1. You can change the server backup policy on the impacted volume as Block Level Backup, which means the whole volume should be selected for backup.
  2. You can set the registry key to exclude these files during File Level Backup. These files are used for NTFS file system, and there is no harm to ignore them.
  3.  Go to

HKLM\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup

  1. Adding a Multi-String Value named IgnoreNTFS with data \$Extend\* /s under FilesNotToBackup.
  2. Restart the server.