File System Archiving (FSA) placeholder creation fails when a Read-Only file is processed during archival.

book

Article ID: 100015410

calendar_today

Updated On:

Description

Error Message

FSA Archiving Task Report log shows the following error when processing the first read-only file:
*** Error *** - Error making file: a placeholder file. Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))


FSA Archiving Task Report log also shows the following error when processing subsequent files after the first read-only file is encountered:
*** Error *** - Error making file: a placeholder file. The file: cannot be made a placeholder as the placeholder service for file server: is not available


Dtrace of Placeholder Service (EvPlaceholderService) on the File Server shows:
{CWmiMsftDedupVolume::CWmiMsftDedupVolume:#30} Error while connecting to WMI namespace. Error [0x8004100e]
{CPlaceholderSvr::FinalConstruct:#2199}  Failed to create the WMI object for deduplication

{CPlaceholderSvr::ProcessMsDedupeFile:#2087} CTraceSink::FormatAndTrace format exception Format:{CPlaceholderSvr::ProcessMsDedupeFile:#2180} Unable to open file %s. File will not be processed. Error [%#x] {CPlaceholderSvr::ProcessMsDedupeFile:#2183} Exit

 
Dtrace of FSA Archiving Task (EvFsaArchivingTask) on the EV server shows the following error when processing the first read-only file:
{CPlaceholderSvcClientStub::WritePlaceholder} (Exit) Status: [Access is denied.  (0x80070005)]
{FILESYSTEMITEMPROCESSOR.EN_US} Exception: Error making file: a placeholder file. Info:The placeholder service for: is being marked unavailable Diag:
Type:KVS.EnterpriseVault.FileServerArchive.PlaceholderServiceUnavailable ST:   at KVS.EnterpriseVault.FileServerArchive.WindowsNTFSVolume.MakePlaceholder(Volume volume, VaultFileInfo fileInfo, String itemUrl, Int32 flags, String retentionCategoryId, DateTime archivedDate, DateTime modifiedDate, DateTime createdDate, IFolderPermSyncWrapper folderSyncWrapper)|   at KVS.EnterpriseVault.FileSystemArchivingTask.FileSystemItemProcessor.PostProcessItem(FileAndRuleInfo fileAndRuleInfo, ArchiveMetadata archiveMetadata,  ItemState& stateOfArchive, FinalActionTypeEnum& finalAction)|   at  KVS.EnterpriseVault.FileSystemArchivingTask.FileSystemItemProcessor.ArchiveFile(FileAndRuleInfo fileAndRuleInfo)|
at KVS.EnterpriseVault.FileSystemArchivingTask.FileSystemItemProcessor.ArchiveFileInABatch(FileAndRuleInfo fileAndRuleInfo) Inner:System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))|   at KVS.EnterpriseVault.Interop.PlaceholderSvcClientStubClass.WritePlaceholder(String serverName, String FilePath, String WebAppUrl,  Byte flags, String retentionCategoryEid, String unused, DateTime archivedDate, DateTime modifiedDate)|   at KVS.EnterpriseVault.FileServerArchive.WindowsNTFSVolume. MakePlaceholder(Volume volume, VaultFileInfo fileInfo, String itemUrl, Int32 flags, String retentionCategoryId, DateTime archivedDate, DateTime modifiedDate, DateTime createdDate, IFolderPermSyncWrapper folderSyncWrapper)


Dtrace of FSA Archiving Task (EvFsaArchivingTask) also shows the following error when processing subsequent files after the first read-only file is encountered:
{WINDOWSNTFSVOLUME.EN_US} Exception: The file: cannot be made a placeholder as the placeholder service for file server: is not available Info:
Diag: Type:KVS.EnterpriseVault.FileServerArchive.MakeFileAPlaceholderException ST:   at KVS.EnterpriseVault.FileServerArchive.WindowsNTFSVolume.
MakePlaceholder(Volume volume, VaultFileInfo fileInfo, String itemUrl, Int32 flags, String retentionCategoryId, DateTime archivedDate, DateTime modifiedDate,
 DateTime createdDate, IFolderPermSyncWrapper folderSyncWrapper) Inner:None {FILESYSTEMITEMPROCESSOR.EN_US} Exception: Error making file: a placeholder file. Info:Error whilst checking if the file: is a placeholder Diag: Type:KVS.EnterpriseVault.FileServerArchive.MakeFileAPlaceholderException ST:   at KVS.EnterpriseVault.FileServerArchive.WindowsNTFSVolume.MakePlaceholder(Volume volume, VaultFileInfo fileInfo, String itemUrl, Int32 flags, String retentionCategoryId, DateTime archivedDate, DateTime modifiedDate, DateTime createdDate, IFolderPermSyncWrapper  folderSyncWrapper)|   at  KVS.EnterpriseVault.FileSystemArchivingTask.FileSystemItemProcessor.PostProcessItem(FileAndRuleInfo fileAndRuleInfo, ArchiveMetadata archiveMetadata,
 ItemState& stateOfArchive, FinalActionTypeEnum& finalAction)|   at KVS.EnterpriseVault.FileSystemArchivingTask.FileSystemItemProcessor.ArchiveFile(FileAndRuleInfo fileAndRuleInfo)|  at KVS.EnterpriseVault.FileSystemArchivingTask.FileSystemItemProcessor.ArchiveFileInABatch(FileAndRuleInfo fileAndRuleInfo) Inner:KVS.EnterpriseVault.FileServerArchive. MakeFileAPlaceholderException: The file: cannot be made a placeholder as the placeholder service for file server: is not available| at KVS.EnterpriseVault.FileServerArchive.WindowsNTFSVolume.MakePlaceholder(Volume volume, VaultFileInfo fileInfo, String itemUrl, Int32 flags, String retentionCategoryId, DateTime archivedDate, DateTime modifiedDate, DateTime createdDate, IFolderPermSyncWrapper folderSyncWrapper)


For more information on Dtrace please refer to the link in the Related Articles section.

Resolution

This issue has been addressed in the following releases:
 
Enterprise Vault 11.0.1 Cumulative Hotfix 2 Release
https://www.veritas.com/docs/000025301

Enterprise Vault 12
The following link contains information about Enterprise Vault 12
https://www.veritas.com/docs/000099905
 
Note: For information on how to obtain Enterprise Vault 12 see: How to obtain the license key and installation download for Veritas products

Issue/Introduction

The FSA Task can archive files set with the Read-Only attribute, however during post-processing of the first Read-Only file the conversion to placeholder fails with an Access-Denied error.
Subsequent files cannot be converted to placeholders regardless or whether or not they are set with the Read-Only attribute. Therefore, once the first error is reported, all remaining files within the targets are affected.

The current workaround is to downgrade the FSA agent to 10.0.4.

Additional Information

ETrack: 3769441