ONTAP Rest API Discussions

Api to move a volume from 1 aggregate to another

kbhonagiri
1,828 Views

Hi Everyone,

 

I couldn't find an API to move a volume from one aggregate to another. Can someone please post an example.

6 REPLIES 6

ddegraaf
1,745 Views

Hello,

NetApp currently doesn't offer an endpoint that allows you to move a volume from one aggregate to another. However, you can use the CLI passthrough. You can find more about that here under "Using the private CLI passthrough with the ONTAP REST API".

You can use the private CLI passthrough along with the volume move command.

kbhonagiri
1,737 Views

Thanks for your response. The link you mentioned for private CLI says "File Not Found / Unauthorized Access"

ddegraaf
1,734 Views

kbhonagiri
1,733 Views

Hi, The doc shows about file move "volume file move start" but we are looking "volume move start" 

ddegraaf
1,729 Views

Which doc are you referring to?
This (https://library.netapp.com/ecmdocs/ECMLP2885799/html/index.html) doc talks about the private cli passthrough.

This (https://docs.netapp.com/us-en/ontap/volumes/commands-move-volumes-reference.html?q=rest) doc talks about "volume file move"

liu
21 Views

This document has a detailed description of vol move start    

volume move start

Public