即使还原日志文件失败、SCV还原作业也会完成、并且不会出现错误
适用场景
- 适用于 VMware vSphere 的 SnapCenter 插件( SCV )
- VM在NFS环境中配置
问题描述
vmcontrol_<JOB_ID>.log
指示SCV无法还原日志文件(vmware-N.log
)、并显示消息"Exception while restoring log files ignoring the exception for log
"
DEBUG <SCV_HOST> --- [qtp359023572-14] c.n.a.s.c.SnapManagerRestoreServiceImpl : <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SmRestoreFileResponse>
..
<Result>
<_message>Single File Snapshot Restore Failed: Failed to perform Single File SnapRestore.
Failed to restore file from Snapshot copy <SNAPSHOT> for volume "<VOLUME>" on Vserver "<SVM>". Reason: File or snapshot does not exist.
. </_message>
<_errorCode>-1</_errorCode>
<ErrorRecords/>
</Result>
<TotalCount>0</TotalCount>
<DisplayCount>0</DisplayCount>
</SmRestoreFileResponse>
ERROR <SCV_HOST> --- [qtp359023572-14] c.n.a.s.c.SnapManagerRestoreServiceImpl : [JobId:109] Restore failed with exception: Single File Snapshot Restore Failed: Failed to perform Single File SnapRestore.
Failed to restore file from Snapshot copy <SNAPSHOT> for volume "<VOLUME>" on Vserver "<SVM>". Reason: File or snapshot does not exist.
.
ERROR <SCV_HOST> --- [qtp359023572-14] c.n.a.r.AbstractRestoreStrategy : com.netapp.aegis.sms.util.SnapManagerRestoreException: Restore failed with exception: Single File Snapshot Restore Failed: Failed to perform Single File SnapRestore.
Failed to restore file from Snapshot copy <SNAPSHOT> for volume "<VOLUME>" on Vserver "<SVM>". Reason: File or snapshot does not exist.
.
DEBUG <SCV_HOST> --- [qtp359023572-14] c.n.a.r.AbstractRestoreStrategy : Exception while restoring log files ignoring the exception for log filescom.netapp.aegis.sms.util.SnapManagerRestoreException: Restore failed with exception: Single File Snapshot Restore Failed: Failed to perform Single File SnapRestore.
Failed to restore file from Snapshot copy <SNAPSHOT> for volume "<VOLUME>" on Vserver "<SVM>". Reason: File or snapshot does not exist.
.
- 选择控制器还原作业状态为
Success