Skip to main content

Commands for managing FlexVol volumes

Contributors netapp-mwallis netapp-dbagwell netapp-aherbin

The ONTAP CLI provides specific commands for managing FlexVol volumes. Depending on what you need to do, you can use the following commands to manage FlexVol volumes:

If you want to…​ Use this command…​

Bring a volume online

volume online

Change the size of a volume

volume size

Determine the associated aggregate of a volume

volume show

Determine the associated aggregate for all volumes on a storage virtual machine (SVM)

volume show -vserver -fields aggregate

Determine the format of a volume

volume show -fields block-type

Mount a volume onto another volume using a junction

volume mount

Put a volume into the restricted state

volume restrict

Rename a volume

volume rename

Take a volume offline

volume offline

See the man page for each command for more information.