无法删除或联机 SnapLock DP 卷
适用于
- ONTAP 9
- SnapMirror (SM)
- 扩展数据保护 (XDP)
- 数据保护类型卷 (DP 卷)
- SnapLock Enterprise (SLE)
- 使用 7-mode transition tool (7mtt) 或手动关系 (SnapMirror TDP 类型) 从 7-Mode 迁移到 ONTAP (cDOT) 的卷
- 意外的 Volinfo 模式:7-mode
- WAFL 不一致
问题描述
- 使用 TDP 关系类型(例如使用 7mtt)将 7 模式 Snapmirror 关系从 7 模式转换为 ONTAP 9。
- 在 TDP 关系已经转换/中断后,基于 XDP 的 Snapmirror 更新在 DP 卷侧因空间错误而中止(两个 cDOT 都已经):
Failed to create Snapshot copy snapmirror.<...> Additional space required: 1.80GB. (No space left on device)
- 在一系列不明确的事件(包括意外节点重新启动源端和 ONTAP 更新目标端)之后,受影响的 SnapLock Enterprise DP 卷在节点启动期间保持离线并发出警报:
Wed Oct 18 22:12:43+0200 [node:vv_apply_special04:wafl_online_mode_corrupted_1:alert]: params:{'type':'volume','vol':'MyVolume_dp'}
- 调整 DP 卷大小以缓解
No space left错误,失败原因如下:
Error: volsize: Error setting size of volume "MyVolume_dp". Unable to set volume attribute "size" for volume "MyVolume_dp" on Vserver "MyVserver". Reason: Volume has the fixed filesystem size option set.
- SnapMirror 中断操作失败,错误具有误导性,因为在 TDP 已中断后,此时预计不再存在 7-mode 卷甚至 7-mode 快照:
::> snapmirror break -destination-path myVserver:MyVolume_dp
Error: Snapshot copy "SomeSnapshot" is a 7-Mode Snapshot copy. Using a 7-Mode Snapshot copy is not supported by this operation.
注意:无法在此状态下列出快照,因为此卷已脱机。
- 基于 nodeshell 的卷状态返回意外的
Volinfo mode以及offline和inconsistent的状态:
::*> node run -node MyCluster-02 vol status -v MyVolume
Volume State Status Options
MyVolume offline raid_dp, flex schedsnapname=ordinal, nbu_archival_snap=off,
cluster batched_free_log_cap=, space_slo=none(disabled),
fast zeroed zombie_reclamation_priority=urgent
wafl inconsistent
64-bit
...
Volinfo mode: 7-mode
...
- 使受影响的卷联机失败,出现以下错误:
::*> volume online -vserver MyVserver -volume MyVolume_dp
vol online: Error onlining volume "MyVserver:MyVolume_dp". Unable to set volume attributes for volume "MyVolume_dp" on Vserver "MyVserver". Reason: The mode bits that
represent whether this volume is a 7-mode volume or a cluster-mode volume are inconsistent.
- 删除受影响的卷失败,并显示:
::*> vol delete -vserver MyVserver -volume MyVolume_dp
Warning: Are you sure you want to delete volume "MyVolume_dp" in Vserver "MyVserver" ? {y|n}: y
[Job 5760] Job is queued: Delete MyVolume_dp.
Error: command failed: [Job 1337] Job failed: Failed to delete volume "MyVolume_dp" on Vserver "MyVserver". Reason: volume cannot be destroyed because it contains unexpired WORM files
OR it contains files under legal hold OR it contains unexpired WORM snapshots OR it is an unexpired SnapLock Enterprise audit log volume OR the volume must be made online in order to
permit a pending WAFL scan to complete. Make the volume state online and run 'volume snaplock show' command in order to get the expiration dates and the status of the scans