LinuxMoz

Linux Stuff && Coffee

NetApp Delete / Destroy Volume - Command Line

How to delete a NetApp volume using the command line (cli), NetApp call delete destory so if yu are searching for how to destroy a NetApp Volume this is the guide you’re looking for… (Star Wars pun intended).

NetApp Delete Volume / NetApp Destroy Volume

The following command will delete a NetApp Volume, in this example I am going to delete the vol called ‘cifs1’:

1
netapp> vol destory cifs1

The output of the NetApp destroy volume command will look similar to:

1
netapp> vol destroy cifs1

NetApp vol destroy output:

1
2
3
4
netapp> vol destroy cifs1
Are you sure you want to destroy volume 'cifs1'? yes
Volume 'cifs1' destroyed.
netapp> Sun May  5 16:05:14 GMT [netapp01:wafl.vvol.destroyed:info]: Volume cifs1 destroyed.

Note: You need to take the volume offline first before destroying it or you will get the folloing message:

1
2
3
netapp> vol destroy cifs1
vol destroy: Volume 'cifs1' cannot be destroyed because it is online.
It must be taken offline before destroying it.

You might be interested in my other Netapp Commands.

Comments