Remove the LUN import relationship after an ONTAP FLI online migration
After the Foreign LUN Import (FLI) online migration is completed, the LUN import relationship can be safely removed. The host is now accessing the new NetApp array for all I/O to the new ONTAP LUN, and the source LUN is no longer in use.
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.
-
Delete the LUN import relationship.
lun import delete -vserver <SVM_name> -path <volume_path|storage_unit_path>
-
Verify that the import relationship is deleted.
lun import show -vserver <SVM_name>
-
Optionally, view the event log to verify the migration results.
event log show –event fli*
This example shows sample output of the command to view the event log for FLI migration results.
DataMig-ontap::*> event log show –event fli* 7/7/2014 18:37:21 DataMig-ontap-01 INFORMATIONAL fli.lun.verify.complete: Import verify of foreign LUN 83017542001E of size 42949672960 bytes from array model DF600F belonging to vendor HITACHI with NetApp LUN QvChd+EUXoiS is successfully completed. 7/7/2014 18:37:15 DataMig-ontap-01 INFORMATIONAL fli.lun.verify.complete: Import verify of foreign LUN 830175420015 of size 42949672960 bytes from array model DF600F belonging to vendor HITACHI with NetApp LUN QvChd+EUXoiX is successfully completed. 7/7/2014 18:02:21 DataMig-ontap-01 INFORMATIONAL fli.lun.import.complete: Import of foreign LUN 83017542000F of size 3221225472 bytes from array model DF600F belonging to vendor HITACHI is successfully completed. Destination NetApp LUN is QvChd+EUXoiU.