Table of ContentsView in Frames

Deleting a FlexVol volume

You can delete a FexVol volume that is no longer required or if it contains corrupted data.

Before you begin

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

Note: If you accidentally delete a volume, contact technical support for assistance.

Steps

  1. If the volume has been mounted, unmount it by entering the following command: 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 by entering the following command: volume offline -vserver vserver_name volume_name
  4. Delete the volume by entering the following command: volume delete -vserver vserver_name volume_name

Result

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