ONTAP 9 Manuals ( CA08871-402 )

to Japanese version

Delete one or more existing Snapshot copies from a volume

You can manually delete one or more existing Snapshot copies from the volume. You might want to do this if you need more space on your volume.

Steps
  1. Use the volume snapshot show command to verify which Snapshot copies you want to delete.

    cluster::> volume snapshot show -vserver vs3 -volume vol3
    
                                                    ---Blocks---
    Vserver  Volume  Snapshot                Size   Total% Used%
    -------- ------- ----------------------- -----  ------ -----
    vs3      vol3
                     snap1.2013-05-01_0015   100KB   0%    38%
                     snap1.2013-05-08_0015   76KB   0%    32%
                     snap2.2013-05-09_0010   76KB   0%    32%
                     snap2.2013-05-10_0010   76KB   0%    32%
                     snap3.2013-05-10_1005   72KB   0%    31%
                     snap3.2013-05-10_1105   72KB   0%    31%
                     snap3.2013-05-10_1205   72KB   0%    31%
                     snap3.2013-05-10_1305   72KB   0%    31%
                     snap3.2013-05-10_1405   72KB   0%    31%
                     snap3.2013-05-10_1505   72KB   0%    31%
    10 entries were displayed.
  2. Use the volume snapshot delete command to delete Snapshot copies.

    If you want to…​ Enter this command…​

    Delete a single Snapshot copy

    volume snapshot delete -vserver svm_name -volume vol_name -snapshot snapshot_name

    Delete multiple Snapshot copies

    volume snapshot delete -vserver svm_name -volume vol_name -snapshot snapshot_name1[,snapshot_name2,…​]

    Delete all Snapshot copies

    volume snapshot delete -vserver svm_name -volume vol_name -snapshot *

    The following example deletes all Snapshot copies on the volume vol3.

cluster::> volume snapshot delete -vserver vs3 -volume vol3 *

10 entries were acted on.
Top of Page