ONTAP 9 Manuals ( CA08871-402 )

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

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. Login using advance privilege mode: set -privilege advanced

  2. From the destination, update the SVM-DR relationship:

    snapmirror update -destination-path destination_svm_name: -source-path source_svm_name:
  3. Ensure that the SVM-DR relationship is in a SnapMirrored state and is not broken-off:

    snapmirror show
  4. 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

    If this command generates any errors other than "This is a destination SVMDR volume," you can take the appropriate corrective action, run the command again, and continue the conversion.

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

    snapmirror quiesce -destination-path dest_svm:
  6. From the source cluster, start the conversion:

    volume conversion start -vserver svm_name -volume vol_name
  7. 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
  8. From the destination cluster, resume transfers for the relationship:

    snapmirror resume -destination-path dest_svm:
  9. From the destination cluster, perform an update to propagate the conversion to the destination:

    snapmirror update -destination-path dest_svm:
  10. Ensure that the SVM-DR relationship is in a SnapMirrored state and is not broken off:

    snapmirror show
  11. 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
Top of Page