oakcli clone vdisk

Use the oakcli clone vdisk command to create clones of virtual disks.

Syntax

oakcli clone vdisk new_vdisk_name -repo repo_name -src source_vdisk_name [-h]

Parameters


Parameter Description

new_vdisk_name

Name given to the clone virtual disk

repo_name

Name of the repository source for the virtual disk being cloned

source_vdisk_name

Name of the virtual disk being cloned

-h

(Optional) Display help for using the command.


Example

Clone a virtual disk named my_vdisk2 from an existing virtual disk named vdisk1 that is stored in the repository named vrepo1:

oakcli clone vdisk my_vdisk2 -repo vrepo1 -src vdisk1