ONTAP Rest API Discussions

Api to move a volume from 1 aggregate to another

kbhonagiri
1,281 Views

Hi Everyone,

 

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

5 REPLIES 5

ddegraaf
1,198 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,190 Views

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

ddegraaf
1,187 Views

kbhonagiri
1,186 Views

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

ddegraaf
1,182 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"

Public