Issue

EV Export is logging The file or directory is corrupted and unreadable

2020-03-05 09:35:29Z|12512|server| 31|TRACE|   ProcessAsMemoryStream|<< Finished FetchItem. ArchiveId: [0000000000000000000EV1, ItemId: [70b5f897-6e92-25d3-6e6e-36fae63e6f01] [257 ms]
2020-03-05 09:35:29Z|12512|server| 31|TRACE|   CopytoStagingArea|>> Started CopyToStagingArea. ArchiveId: [0000000000000000000EV1, ItemId: [70b5f897-6e92-25d3-6e6e-36fae63e6f01]
2020-03-05 09:35:30Z|12512|server| 31|TRACE|   CopytoStagingArea|<< Finished CopyToStagingArea. ArchiveId: [0000000000000000000EV1, ItemId: [70b5f897-6e92-25d3-6e6e-36fae63e6f01] [202 ms]
2020-03-05 09:35:30Z|12512|server| 31|TRACE|   ProcessAsMemoryStream|<< Finished Getting Item as MemoryStream. ArchiveId: [0000000000000000000EV1, ItemId: [70b5f897-6e92-25d3-6e6e-36fae63e6f01] [479 ms]
2020-03-05 09:35:30Z|12512|server| 31|ERROR|   Process|Error occured. ArchiveID: [0000000000000000000EV1] | ItemID: [70b5f897-6e92-25d3-6e6e-36fae63e6f01]  Void WinIOError(Int32, System.String)
The file or directory is corrupted and unreadable.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
   at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
   at ArchiveShuttle.Modules.Common.Staging.UncStagingAreaImplementation.Write(Stream stream, UncStagingArea stagingArea, IExportItem exportItem)
   at ArchiveShuttle.Modules.Common.Staging.StagingAreaImplementation`1.Write(Stream stream, StagingArea stagingArea, IExportItem exportItem)
   at ArchiveShuttle.Modules.Common.Staging.StagingArea.Write(Stream stream, StagingArea stagingArea, IExportItem exportItem)
   at ArchiveShuttle.Module.EVExportModule.ItemContentRetrievers.ContentRetrieverBase.CopytoStagingArea(StagingArea stagingArea, EVExportResult item, Stream stream)
   at ArchiveShuttle.Module.EVExportModule.ItemContentRetrievers.ContentRetrieverBase.ProcessAsMemoryStream(StagingArea stagingArea, EVExportResult item, EVArchive archive, Boolean useJournalExplosion, ContainerTypeEnum targetMigrationType)
   at ArchiveShuttle.Module.EVExportModule.ItemContentRetrievers.ContentRetrieverBase.Process(EVArchive archive, Int32 commandId, Int32 mappingId, EVExportResult item, ExportArchive command

Solution

Item is failing when AS is trying to save file to Staging area because AS is not able to create directory in which the item will be stored.

Steps

Check staging disk for corruption.

Print Friendly, PDF & Email