Delete volumes, relationships, snapshots, snapvaults, snapmirrors in NetApp cDot

anystor300::*> volume delete -vserver anyvsrv001_esxh -volume T2C0_vol1320_someipms325_Export -disable-offline-check true

Error: command failed: Volume “T2C0_vol1320_someipms325_Export” in Vserver “anyvsrv001_esxh” is the source endpoint of one or more SnapMirror relationships. Before you
delete the volume, you must release the source information of the SnapMirror relationships using “snapmirror release”. To display the destinations to be used in the
“snapmirror release” commands, use the “snapmirror list-destinations -source-vserver anyvsrv001_esxh -source-volume T2C0_vol1320_someipms325_Export” command.

anystor300::*> snapmirror list-destinations -source-vserver anyvsrv001_esxh -source-volume T2C0_vol1320_someipms325_Export
Progress
Source             Destination         Transfer   Last         Relationship
Path         Type  Path         Status Progress   Updated      Id
———– —– ———— ——- ——— ———— —————
anyvsrv001_esxh:T2C0_vol1320_someipms325_Export
DP    somevsrv001_esxh:T2C0_lun1026_someipms325_Export_vol
Idle    –         –            2a3a0416-40f0-11e5-9b65-123478563412

anystor300::*> snapmirror release -source-vserver anyvsrv001_esxh -source-volume T2C0_vol1320_someipms325_Export *
[Job 39418] Job succeeded: SnapMirror Release Succeeded
1 entry was acted on.

anystor300::*> volume delete -vserver anyvsrv001_esxh -volume T2C0_vol1320_someipms325_Export -disable-offline-check true

Warning: Are you sure you want to delete volume “T2C0_vol1320_someipms325_Export” in Vserver “anyvsrv001_esxh” ? {y|n}: y
[Job 39419] Job succeeded: Successful

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s