clone start <src_path> [dest_path] [-n] [-l] <-r <src_fbn>:<dest_fbn>:<fbn_cnt> ...>
clone stop <vol_name> <ID>
clone status [vol_name [ID]]
clone clear <vol_name> <ID>
This feature requires the flex_clone license enabled. See na_license(1) for more details.
The clone subcommands are:
start <src_path> <dest_path> [-n] [-l] <-s <snap_name>>
start [dest_path] [-n] [-l] <-r <src_fbn>:<dest_fbn>:<fbn_cnt> ...>
Starts a clone operation. On success it returns a clone ID, which is used to see status, stop or clear a clone operation. In Data ONTAP 8.1 and later, this API performs a file/LUN or sub-file/sub-LUN clone operation synchronously. When this API returns successfully, the destination file is ready for use. The clone ID is maintained for compatibility.
src_path : Source path in format /vol/vol_name/filename. dest_path : Destination path in format /vol/vol_name/filename. -s : In case clone needs to be done from file in snapshot snap_name : Snapshot name -n : Do not use temporary snapshot for cloning. (Deprecated.) -l : Do change logging for clone blocks. (Deprecated.) -r : Specify block ranges for sub-file and sub-lun cloning. -o : Skip space reservation on the clone when cloning entire file/LUN. src_fbn : Starting fbn of the source block range. dest_fbn : Starting fbn of the destination block range. fbn_cnt : Number of blocks to be cloned.
stop <vol_name> <ID>
Aborts the currently active clone operation in the volume. (Deprecated.)
vol_name : volume in which clone operation is running. ID : ID of the clone operation.
status [vol_name [ID]]
Reports the status of running or failed clone operation for the particular ID in the specified volume. If no ID is specified, it reports status of all running and failed clone operations in the specified volume. If vol_name is also not specified, it reports status of all running and failed clone operations on the node. (Deprecated.)
vol_name : volume in which clone operation is running. ID : ID of the clone operation.
clear <vol_name> <ID>
Clears information of a failed clone operation. (Deprecated.)
vol_name : volume in which clone operation is running. ID : ID of the clone operation.