Software Development Kit (SDK) and API Discussions

API Calls return "Volume is in use by other operations" and "The volume is not currently available "

MARTIN_NETAPP

We have some scripts that create clones of nfs volumes that have started to fail with:

 

Volume is in use by other operations (in response to the volume-offline API call)

The volume is not currently available (in response to the volume-clone-create API call)

 

Background: The volumes are VSM snapmirror destinations which are updated prior to the script running and we identify the current most recent nightly snapshot to create the clones on.

Filer is running ontap  7.3.6p5. Scipt runs on linux using the perl sdk V3.0r1.

 

Generally on rerun the scripts work, Has anyone got any idea why this occurs? We have come to the conclusion it is a timing issue and the script isnt waiting for "snap list" / "vol offline"

commands to complete (filer is a little slow to return msgs at very busy periods) and is therefore tripping itself up.

 

Anyone eslse experiencing similar issues.

0 REPLIES 0
Announcements
Register for Insight 2021 Digital

INSIGHT 2021 Digital: Meet the Specialists 2

On October 20-22, gear up for a fully digital, totally immersive virtual experience with a downright legendary lineup of world-renowned specialists. Tune in for visionary conversations, solution deep dives, technical sessions and more.

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public