Skip to main content

Delete a FlexVol volume

Contributors netapp-dbagwell netapp-aherbin netapp-mwallis netapp-forry

You can delete a FlexVol volume that is no longer required.

What you'll need

No applications must be accessing the data in the volume you want to delete.

Note

If you accidentally delete a volume, see the Knowledge Base article How to use the Volume Recovery Queue.

Steps
  1. If the volume has been mounted, unmount it:

    volume unmount -vserver vserver_name -volume volume_name

  2. If the volume is part of a SnapMirror relationship, delete the relationship by using the snapmirror delete command.

  3. If the volume is online, take the volume offline:

    volume offline -vserver vserver_name volume_name

  4. Delete the volume:

    volume delete -vserver vserver_name volume_name

Result

The volume is deleted, along with any associated quota policies and qtrees.