Passer au contenu principal
  • Passer des commandes rapidement et facilement
  • Afficher les commandes et suivre l’état de votre expédition
  • Créez et accédez à une liste de vos produits
  • Gérer vos sites, vos produits et vos contacts au niveau des produits Dell EMC à l’aide de la rubrique Gestion des informations de l’entreprise.

Dell PowerVault MD 32XX/36XX Series Storage Arrays CLI Guide

PDF

Delete Snapshot Image

Description

This command deletes one or more snapshot images from a snapshot group.

Syntax

delete snapImage (snapGroup="
                                 snapshotGroupName" |
                                 snapGroups=("
                                 snapshotGroupName1"... "
                                 snapshotGroupNamen"))
                                 (deleteCount=
                                 numberOfSnapshotImages |
                                 retainCount=
                                 numberOfSnapshotImages |
                                 ignoreSnapVirtualDisk=(TRUE | FALSE) |
                                 snapImageID=OLDEST)
                              

Parameters

Parameter Description
snapGroup or snapGroups The name of the snapshot group that has the snapshot image that you want to delete. Enclose the name of the snapshot group in double quotation marks (" "). If you enter more than one snapshot group name, enclose each of the snapshot group names in double quotation marks (" "). Enclose all of the snapshot group names in parentheses.

If you do not use any other parameters with the snapGroup parameter or snapGroups parameter, then by default the oldest snapshot image is deleted.

deleteCount The number of snapshot images that you want to delete from the snapshot group. Use integer values. This parameter deletes the oldest snapshot image first and continues to delete the oldest snapshot images until reaching the number that you enter.

If the number that you enter is greater than the actual number of all of the snapshot images in the snapshot group, all of the snapshot images will be deleted. The snapshot group is left empty.

retainCount The number of snapshot images that you want to keep in the snapshot group. Use integer values. This parameter keeps the most recent snapshot images in the snapshot group and deletes older snapshot images.

If the number of existing snapshot images in the snapshot group is less than the number that you enter, none of the snapshot images are deleted.

ignoreSnapVirtual Disk Use this parameter to make sure that you do not delete a snapshot image that has a snapshot virtual disk associated with the snapshot image. You can use one of these values:
  • TRUE—Use this value to delete the snapshot image even though the snapshot image has an associated snapshot virtual disk.
  • FALSE—Use this value to keep the snapshot image when the snapshot image has an associated snapshot virtual disk.
The default value is TRUE.
snapImageID The snapImageID parameter accepts only the OLDEST option. This parameter deletes the earliest snapshot image created.

Notes

You can delete the oldest snapshot image from a snapshot group repository virtual disk. The definition of a snapshot image that you delete is removed from the system. The space occupied by the snapshot image that you delete from the snapshot group repository virtual disk is released and made available for reuse within the snapshot group.

Any snapshot virtual disks that exist for a snapshot image transition to the Stopped state when the snapshot image is deleted.

This command will not run when the RAID controller module is in Lockdown mode.


Évaluez ce contenu

Précis
Utile
Facile à comprendre
Avez-vous trouvé cet article utile ?
0/3000 characters
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez indiquer si l’article a été utile ou non.
  Les commentaires ne doivent pas contenir les caractères spéciaux : <>()\