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の不整合
問題
- 7-Mode SnapMirror関係が、TDP関係タイプ(7mttなど)を使用して7-ModeからONTAP 9に移行されました。
- TDP関係がaleady移行/切断された後の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'}
No space leftエラーを軽減するためにDPボリュームのサイズを変更すると、次のエラーが表示されて失敗します:
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 Snapshotも存在しない見込みです。
::> 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.
注:ボリュームがオフラインのため、この状態のSnapshotは表示できません。
- ノードシェルベースのボリュームのステータスが予期しない
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