How to determine if a volume move is optimized
Applies to
- ONTAP 9
- FabricPool
- Volume Move
Answer
ONTAP 9.12.1 and higher
::> event log show -node * -message-name mgmtgwd.volmove* -severity *
Time Node Severity Event
------------------- ---------------- ------------- ---------------------------
7/26/2022 02:52:05 node-01 NOTICE mgmtgwd.volmove.notoptimized: Volume move operation from source aggregate "aggr3" to destination aggregate "aggr2" of volume "vol1" on Vserver "vs1" might need to copy data from existing objects in the capacity tier.
7/26/2022 02:47:13 node-01 NOTICE mgmtgwd.volmove.optimized: Volume move operation from source aggregate "aggr2" to destination aggregate "aggr1" of volume "vol1" on Vserver "vs1" avoided copying data from existing objects in the capacity tier.
Other versions
Search mgwd.log files for the following text:
[kern_mgwd:info:2140] 0x82e8c1300: 8603e80000000378: WARNING: VOPL::VolMove: 105 Volume Move Job Configuration Information: job serialization id: 89c1038c-ed98-473d-93f3-b6ea92438b19 sourceVolume: myfg__0001 dstAggrName: fp_aggr2 isDestinationPresent: 0 cutover_window: 30 cutover_attempts: 3 cutover_action: 4 balancerMove: 0bypass-throttling: 0skip_delta_calculation: 0old_job_id: 0tiering_policy: alltiering_minimum_cooling_days: 0 isVolMoveByRef: 1 srcVolBufTreeUuid: 5fe73176-fd78-430b-8841-8ded61c44682srcVolUuid: 2e73f3ce-7f50-11ea-806f-00a098d6d485srcVolBtidCookie: 6541 srcPrimaryConfigId: 1srcMirrorConfigId: 0dstPrimaryConfigId: 1dstMirrorConfigId: 0
- If isVolMoveByRef = 1, then the volume move is FabricPool optimized.
- If isVolMoveByRef = 0, then the volume move is not FabricPool optimized.
Additional Information
N/A