问题描述
我运行了一个Invoke-StorageSyncCloudTiering,现在大部分文件都丢失了。我在下面得到了这个结果。
如何获取文件?我现在无法在门户网站上看到它。
I ran a Invoke-StorageSyncCloudTiering, and most of the files is now missing. I get this result below.
How do I get the files back? I cannot see it in the portal either now.
PS C:\ windows \ system32> Invoke-StorageSyncCloudTiering -Path E:\Shares \Users
PS C:\windows\system32> Invoke-StorageSyncCloudTiering -Path E:\Shares\Users
TieredCount                    :193
AlreadyTieredCount                     :0
$
SkippedForSizeCount :58846
SkippedForAgeCount                     :0
SkippedForUnsupportedReparsePointCount:0
FailedToTierCount              &NBSP ;       :186995
ReclaimedSpaceBytes                    :180616517
$
SkippedForStableVersionFailure :0
TieredCount : 193
AlreadyTieredCount : 0
SkippedForSizeCount : 58846
SkippedForAgeCount : 0
SkippedForUnsupportedReparsePointCount : 0
FailedToTierCount : 186995
ReclaimedSpaceBytes : 180616517
SkippedForStableVersionFailure : 0
推荐答案
您是否查看了事件日志中的任何线索?在事件查看器中,分层,调用和同步问题记录在Applications and Services \ MicroSoft \ FileSync \ Agent下。
Did you look at the events logs for any clues? In Event Viewer, the tiering, recall, and sync issues are logged under Applications and Services\Microsoft\FileSync\Agent.
运行上述PS命令以调用存储时同步文件,您是否从路径安装的存储同步代理导入模块名称( StorageSync .Management.ServerCmdlets.dll 跨度>)?
如果不是我会建议你尝试以下方法并检查你是否能够回忆起该文件。
When you run the above PS command to recall the storage sync file, did you import the module name from the path installed storage sync agent(StorageSync.Management.ServerCmdlets.dll)? If not i would recommend you to try the below approach and check if you able to recall the file.
注意: - 如果你想召回多个选项,这个选项可能会有用文件一次,例如文件夹中的所有文件。打开安装Azure文件同步的服务器节点的PowerShell会话,然后运行以下PowerShell命令:
Note:- This option might be useful if you want to recall multiple files at once, such as all the files in a folder. Open a PowerShell session to the server node where Azure File Sync is installed, and then run the following PowerShell commands:
Import-Module "C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll"
Invoke-StorageSyncFileRecall -Path <file-or-directory-to-be-recalled>
有关详细信息,请查看故障排除步骤有关云分层相关问题的内容,请参阅文章
here 和
常见问题。看看这对你有帮助!
For more information, Please check the troubleshooting steps for cloud tiering related issues as mentioned in the articlehere and the FAQ. See if this helps you!
请告诉我们你是否需要进一步的帮助。
Kindly, let us know if you need any further assistance on this.
这篇关于强制分层后丢失文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!