dmscli thick-clone volume
Creates a new volume from an existing volume's snapshot on a Lightbits cluster.
Synopsis
Creates a new volume from an existing snapshot on a Lightbits cluster. The thick clone operation will copy the data from the source snapshot to the destination volume.
dmscli thick-clone volume [flags]
Examples:
x
#Specify new values for cloned volume
dmscli thick-clone volume \
--src-cluster-id 6d7f14cf-64ac-4a63-9696-0a88a94b22888 \
--src-proj-name default \
--src-snap-id 6d7f14cf-64ac-4a63-9696-0a88a94b22c3 \
--dst-cluster-id 6d7f14cf-64ac-4a63-9696-0a88a94b22888 \
--dst-proj-name default \
--dst-name volume-001 \
--replica-count 1 \
--size 10gib
# use source snapshot size and replica count for the new volume
dmscli thick-clone volume \
--src-cluster-id 6d7f14cf-64ac-4a63-9696-0a88a94b22888 \
--src-proj-name default \
--src-snap-id 6d7f14cf-64ac-4a63-9696-0a88a94b22c3 \
--dst-cluster-id 6d7f14cf-64ac-4a63-9696-0a88a94b22888 \
--dst-proj-name default \
--dst-name volume-001
Flag | Short | Type | Default | Description |
---|---|---|---|---|
--help | -h | bool | Help for volume . | |
--sector-size | uint32 | The sector size of the new clone volume (the default is the same as the src snapshot). | ||
--src-cluster-id | -c | string | Source cluster ID of the source snapshot (required). | |
--dst-cluster-id | -t | string | Destination cluster ID for the new clone volume (required). | |
--dst-name | -v | string | Name of the new volume (required). | |
--dst-proj-name | -d | string | Destination project name of the new clone volume (required). | |
--dst-qos-policy-name | -q | string | Limiting write/read rates for the thick-clone operation by using lb qos-policy (default is empty). | |
--replica-count | -r | int32 | Replica count of the new clone volume (default: same as the src snapshot). | |
--size | -z | string | Size of the new clone volume (default size is the same as the source volume). | |
--src-proj-name | -p | string | Project name of the source snapshot (required). | |
--src-snap-id | -s | string | Source snapshot UUID for creating a new clone volume (required). | |
--verify-clone | bool | Whether to run verify-clone activity after the clone (default is false). |
Response Type
ThickCloneVolumeResponse
- Thick Clone Volume Response
Response to create a thick clone volume from a source snapshot.
The ListWorkflows API and the returned workflow ID can be used to track the status of this operation.
Name | Type | Description |
---|---|---|
WorkflowId | string |
Was this page helpful?