SCV无法通过"单个文件Snapshot还原失败"和"卷已满或卷超过自动删除阈值"还原VM
适用场景
- 适用于VMware vSphere的SnapCenter 插件(SCV) 4.2
- NetApp Data Broker 1.0
- ONTAP 9.3
问题描述
- SCV无法还原虚拟机、但出现异常"
Single File Snapshot Restore Failed
"和"Volume is full or Volume crossed autodelete threshold
"。
Single File Snapshot Restore Failed
SmRestoreFileResponse
中的结果将返回消息""vmcontrol_<JOB_ID>.log
。
DEBUG comnr004 --- [p32374789-61341] c.n.a.s.c.SnapManagerRestoreServiceImpl : <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SmRestoreFileResponse>
<Job>
<Id>0</Id>
<StartTime xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<EndTime xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<IsCancellable>false</IsCancellable>
<IsRestartable>false</IsRestartable>
<IsCompleted>false</IsCompleted>
<IsVisible>true</IsVisible>
<IsScheduled>false</IsScheduled>
<PercentageCompleted>0</PercentageCompleted>
<Status>Running</Status>
<Priority>None</Priority>
<Tasks/>
<ParentJobID>0</ParentJobID>
<EventId>0</EventId>
<JobTypeId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
<ObjectId>0</ObjectId>
<PluginCode>NONE</PluginCode>
<HostId>0</HostId>
<RoleId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
</Job>
<Result>
<_message>Single File Snapshot Restore Failed: Failed to perform Single File SnapRestore.
Failed to restore file from Snapshot copy <SNAPSHOT_NAME> for volume "<VOLUME_NAME>" on Vserver "<VSERVER_NAME>". Reason: Volume is full or Volume crossed autodelete threshold.
. Failed to perform Single File SnapRestore.
Failed to restore file from Snapshot copy <SNAPSHOT_NAME> for volume "<VOLUME_NAME>" on Vserver "<VSERVER_NAME>". Reason: Volume is full or Volume crossed autodelete threshold.
. </_message>
<_errorCode>-1</_errorCode>
<ErrorRecords/>
</Result>
<TotalCount>0</TotalCount>
<DisplayCount>0</DisplayCount>
</SmRestoreFileResponse>
ERROR comnr004 --- [p32374789-61341] c.n.a.s.c.SnapManagerRestoreServiceImpl : [JobId:<JOB_ID>] Restore failed with exception: Single File Snapshot Restore Failed: Failed to perform Single File SnapRestore.
Failed to restore file from Snapshot copy <SNAPSHOT_NAME> for volume "<VOLUME_NAME>" on Vserver "<VSERVER_NAME>". Reason: Volume is full or Volume crossed autodelete threshold.
. Failed to perform Single File SnapRestore.
Failed to restore file from Snapshot copy <SNAPSHOT_NAME> for volume "<VOLUME_NAME>" on Vserver "<VSERVER_NAME>". Reason: Volume is full or Volume crossed autodelete threshold.
.
- 中显示了以下错误
wfe_<JOB_ID>.log
。
ERROR comnr004 --- [pool-3-thread-1] c.n.w.r.SCVRestoreTasksServiceImpl : Exception while calling restore on SCV: Restore failed with exception: Single File Snapshot Restore Failed: Failed to perform Single File SnapRestore.
Failed to restore file from Snapshot copy <SNAPSHOT_NAME> for volume "<VOLUME_NAME>" on Vserver "<VSERVER_NAME>". Reason: Volume is full or Volume crossed autodelete threshold.
. Failed to perform Single File SnapRestore.
Failed to restore file from Snapshot copy <SNAPSHOT_NAME> for volume "<VOLUME_NAME>" on Vserver "<VSERVER_NAME>". Reason: Volume is full or Volume crossed autodelete threshold.
snapshot-restore-file
由于ONTAP/mroot/etc/log/mlog/audit.log
中的ZAPI、返回以下错误。
<netapp version='1.0' xmlns='http://www.netapp.com/filer/admin'><snapshot-restore-file> <path><FILE_PATH></path> <snapshot><SNAPSHOT_NAME></snapshot> <volume><VOLUME_NAME></volume></snapshot-restore-file></netapp> :: Pending
Failed to restore file from <SNAPSHOT_NAME> for volume "<VOLUME_NAME>" on Vserver "<VSERVER_NAME>". Reason: Volume is full or Volume crossed autodelete threshold. :: ONTAPI :: Error
wafl.sis.clone.create.failed
从ONTAP 端检测到EMS事件。