Subscribe

How to retrieve and modify root volume options using api

I am trying to retrieve root volume (vol0) details using the api "volume-get-iter" and trying to set the snap reserve using the api "snapshot-set-reserve" but i am getting the below error. I am connected to the node vserver through tunneling.

 

Executing api call volume-get-iter tag  failed: "Unable to find API: volume-get-iter on node vserver

 

"Unable to find API: snapshot-set-reserve"

 

Am i doing anything wrong?

Re: How to retrieve and modify root volume options using api

Hello,

 

Have you tried on Zedi?

 

Try calling

 

 

system-api-list

 

Then check to see if the API you'd like to use is found.