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_namevolume_group_uuid-volumegroupvolumegroup_id_or_name or uuid-volumeslist_of_volume_names_or_idslist_of_volume_uids

Parameters

-volumegroup volume_group_id_or_name_or_uuid
(Optional) Specifies the volume group ID or name to be refreshed.
-volumes list_of_volume_ids_or_names | list_of_volumes_uids
(Optional) Specifies a list of up to 512 volume IDs, names, or UIDs. These are the volumes that will be refreshed.
-fromsourcegroup volume_group_id_or_name_or_uuid
(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.
Note: If the refreshfromsnapshot command is used on a highly available (HA) volume group or volume, HA temporarily suspends while the refreshed contents are synchronized to the partner system.

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.

Note: This command is available during the upgrade process.
When using the partition IP address to run this command, consider the following:
  • The user must identify objects using the name or UUID. Short IDs cannot be specified when using the partition IP address.
  • Only objects belonging to the partition can be created or acted upon. When creating new objects, the -partition parameter will be auto-populated for the partition. You cannot move items out of a partition when using the partition IP address.

An invocation example

refreshfromsnapshot -volumegroup volumegroup12 -snapshot snapshot2 -fromsourcegroup volumegroupA

The detailed resulting output

No feedback.