icmcli thick-clone volume

AI Tools

Thick-clone a snapshot into a new volume.

Synopsis

Thick-clone a snapshot into a new volume on an attached cluster. Destination properties left unset are inherited from the source snapshot.

icmcli thick-clone volume [flags]

Examples

# icmcli thick-clone volume --src-cluster-id <id> --src-proj-name <project> --src-snap-id <id> --dst-cluster-id <id> --dst-name <name> icmcli thick-clone volume --src-cluster-id 0d7ff5be-2470-47d4-b111-000000000001 --src-proj-name default --src-snap-id 0d7ff5be-2470-47d4-b111-000000000003 --dst-cluster-id 0d7ff5be-2470-47d4-b111-000000000002 --dst-name clone-1

Flag

Short

Type

Default

Description

--compression


bool


Enable compression; inherited from the source when unset.

--dst-cluster-id

-t

string


Destination cluster ID (required).

--dst-name

-v

string


Name of the destination volume (required).

--dst-proj-name

-d

string


Destination project name; defaults to the source project when unset.

--dst-qos-policy-name

-q

string


QoS policy name for destination; inherited from the source when unset.

--help

-h

bool


Help for volume.

--placement-affinity


string


Placement affinity for the destination; inherited from the source when unset.

--replica-count

-r

int32


Number of replicas (1-3); inherited from the source when unset.

--sector-size


uint32


Sector size, 512 or 4096; inherited from the source when unset.

--size

-z

string


Size of the destination, e.g. 10gib; inherited from the source when unset.

--src-cluster-id

-c

string


Source cluster ID (required).

--src-proj-name

-p

string


Source project name (required).

--src-snap-id

-s

string


Source snapshot ID (required).

--unencrypted


bool


Create the destination unencrypted.

--verify-clone


bool


Verify the clone by comparing source and destination checksums.

Response Type

Returns a workflowId for the thick-clone workflow. Track it with icmcli get workflow --id <workflowId>.