refreshfromsnapshot

Use the refreshfromsnapshot command to refresh the data on a set of volumes, whether the volumes are in a volume group or in a prepared list of volumes. The data used for the update comes from the specified snapshot. Any existing data on the set of volumes will be discarded.

Syntax

Read syntax diagramSkip visual syntax diagram refreshfromsnapshot -fromsnapshotidsnapshot_id-snapshotsnapshot_name-fromsourceuidparent_uid-fromsourcegroupvolume_group_idvolume_group_name-volumegroupvolumegroup_id_or_name-volumeslist_of_volume_names_or_ids

Parameters

-volumegroup volume_group_id_or_name
(Optional) Specifies the volume group ID or name to be refreshed.
-volumes volume_ids_or_names
(Optional) Specifies a list of up to 512 volume ID or names. These are the volumes that will be refreshed.
-fromsourcegroup volume_group_id_or_name
(Optional) Specifies the parent volume group of the snapshot from which the volumes are to be refreshed.
-fromsourceuid parent_uid
(Optional) Specifies the UID used to identify the parent volumes of the snapshot from which the volumes are to be refreshed.
-snapshot snapshot_name
(Optional) Specifies the name of the source snapshot from which the volumes are to be refreshed.
-fromsnapshotid snapshot_id
(Optional) Specifies the ID of the source snapshot from which the volumes are to be refreshed.

Description

This command refreshes the data on a set of volumes, whether the volumes are in a volume group or in a prepared list of volumes.

The data used for the update comes from the specified snapshot. Any existing data on the set of volumes will be discarded. This command can only be used to refresh thinclone volumes.

An invocation example

refreshfromsnapshot -volumegroup volumegroup12 -snapshot snapshot2 -fromsourcegroup volumegroupA

The detailed resulting output

No feedback.