Verify ONTAP FLI online migration results
After your LUN is migrated from the foreign array to the ONTAP array, Foreign LUN Import (FLI) can perform a block-by-block comparison of the source and destination LUNs to verify that the migration is complete and accurate. A migration verification takes approximately the same amount of time as (or slightly more than) the migration.
A migration verification is not required, but is highly recommended.
-
Beginning with ONTAP 9.17.1, data migration of foreign LUNs using FLI offline migration is supported with ASA r2 systems. ASA r2 systems vary from other ONTAP systems (ASA, AFF, and FAS) in the implementation of its storage layer. In ASA r2 systems, volumes are automatically created when a storage unit (LUN or namespace) is created. Each volume contains only one storage unit. Therefore, for ASA r2 systems, you do not need to include the volume name in the
-path
option when creating the LUN; you should include the storage unit path instead. -
A migration verification is disruptive. The LUNs being verified need to be offline for the duration of the verification.
-
Offline the LUNs to be verified.
lun offline -vserver <SVM_name> -path <volume_path|storage_unit_path>
This example shows the command to offline the LUN named 72Clun1 in the flivol volume and the fli_72C SVM.
cluster::*> lun offline -vserver fli_72C -path /vol/flivol/72Clun1 Warning: This command will take LUN "/vol/flivol/72Clun1" in Vserver "fli_72C" offline. Do you want to continue? {y|n}: y
The disruption window begins here.
-
Start the LUN migration verification.
lun import verify start -vserver <SVM_name> -path <volume_path|storage_unit_path>
-
Monitor the verification status.
lun import show -vserver <SVM_name> -path <volume_path|storage_unit_path>
This example shows the command to monitor the verification status for the LUN named 72Clun1 in the flivol volume and the fli_72C SVM.
ontaptme-fc-cluster::*> lun import show -vserver fli_72C -path /vol/flivol/72Clun1 vserver foreign-disk path operation admin operational percent in progress state state complete ------------------------------------------------------------------------------- fli_72C D0i1E+G8Wg6m /vol/flivol/72Clun1 verify started 9
-
Stop the LUN verification.
lun import verify stop -vserver <SVM_name> -path <volume_path|storage_unit_path>
The LUN import verify must be explicitly stopped before bringing the LUN back online. Otherwise, the LUN online fails. This step must be performed manually even if the status shows that the verification is complete.
-
Online the LUN.
lun online -vserver <SVM_name> -path <volume_path|storage_unit_path>
The disruption window ends here.