Creating a FlexClone volume
Before you begin
The FlexClone license must be installed on the cluster.
The volume that you want to clone must be online.
About this task
You can create a data protection FlexClone volume from a SnapMirror destination volume or from a parent FlexVol volume that is a SnapVault secondary volume.
After you create a FlexClone volume, you cannot delete the parent volume while the FlexClone volume exists.
Create a FlexClone volume:volume clone create
Note
While creating a read-write FlexClone volume from the read-write parent volume, you do not need to specify the base Snapshot copy. ONTAP creates a Snapshot copy if you do not name any specific Snapshot copy that is to be used as the base Snapshot copy for the clone. You must specify the base Snapshot copy for creating a FlexClone volume when the parent volume is a data protection volume.
Example
The following command creates a read-write FlexClone volume vol1_clone from the parent volume vol1:
volume clone create -vserver vs0 -flexclone vol1_clone -type RW -parent-volume vol1The following command creates a data protection FlexClone volume vol_dp_clone from the parent volume dp_vol by using the base Snapshot copy snap1:
volume clone create -vserver vs1 -flexclone vol_dp_clone -type DP -parent-volume dp_vol -parent-snapshot snap1
Give documentation feedback