Convert a FlexVol volume to a FlexGroup volume within an SVM-DR relationship

Contributors

Beginning with ONTAP 9.10.1, you can convert a FlexVol volume to a FlexGroup volume on an SVM-DR source.

What you’ll need
  • The FlexVol volume that is being converted must be online.

  • The operations and configurations on the FlexVol volume must be compatible with the conversion process.

    An error message is generated if the FlexVol volume has any incompatibility, and the volume conversion is cancelled. You can take corrective actions and retry the conversion. For more details, see Considerations for converting FlexVol volumes to FlexGroup volumes

Steps
  1. From the destination, update the SVM-DR relationship:

    snapmirror update -destination-path destination_svm_name: -source-path source_svm_name:

  2. Ensure that the SVM-DR relationship is in a SnapMirrored state and is not broken-off:

    snapmirror show

  3. From the destination SVM, verify that the FlexVol volume is ready for conversion:

    volume conversion start -vserver svm_name -volume vol_name -check-only true

  4. From the destination, disable transfers on the SVM-DR relationship:

    snapmirror quiesce -destination-path dest_svm:

  5. Start the conversion:

    volume conversion start -vserver svm_name -volume vol_name

  6. Verify that the conversion is successful:

    volume show vol_name -fields -volume-style-extended,state

    cluster-1::*> volume show my_volume -fields volume-style-extended,state
    
    vserver   volume     state    volume-style-extended
    -------       ---------     ------    ---------------------
    vs0     my_volume  online  flexgroup
  7. From the destination cluster, resume transfers for the relationship:

    snapmirror resume -destination-path dest_svm:

  8. From the destination cluster, perform an update to propagate the conversion to the destination:

    snapmirror update -destination-path dest_svm:

  9. Ensure that the SVM-DR relationship is in a SnapMirrored state and is not broken off:

    snapmirror show

  10. Ensure the conversion occurred on the destination:

    volume show vol_name -fields -volume-style-extended,state

    cluster-2::*> volume show my_volume -fields volume-style-extended,state
    
    vserver    volume       state     volume-style-extended
    -------       -------           ------     ---------------------
    vs0_dst   my_volume  online  flexgroup