The NetApp Community is moving to a new platform and is in Read-Only mode. Click to learn more.
Stay connected during the transition - Join our Discord community today.

ONTAP Rest API Discussions

Api to move a volume from 1 aggregate to another

kbhonagiri
4,643 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
4,560 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
4,552 Views

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

ddegraaf
4,549 Views

kbhonagiri
4,548 Views

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

ddegraaf
4,544 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
2,836 Views

This document has a detailed description of vol move start    

volume move start

Public