#Skip volume recovery queue on Remove-NcVol

1 messages · Page 1 of 1 (latest)

light axle
#

Anyone know how I can force-delete a volume without it entering the recovery queue?
If I try Remove-NcVol -force $true it still only moves the volume into the recovery queue. And I cannot purge the recovery queue easily either
Has anyone ever solved that problem?

elder goblet
#

You could try Invoke-NcSystemApi but that's ZAPI

elder goblet
#

But the vol will still go to recovery queue even with -ZapiCall or -ONTAPI added... (you also need to offline the vol first)

#

Guess it's a bug 🐛 🎉

elfin dirge
#

Try and figure out what Otv does. Maybe it’s a combination effort

  1. Delete volume
  2. Lookup new name (should have some numbers tacked on and is type DEL)
  3. Remove the volume from the recovery queue
light axle
#

the issue is that the recovery queue is not exposed to the PowerShell API, and it always runs in the background, so while I can trigger a recovery-queue purge command via CLI passthrough, I cannot wait until it's done

elder goblet
#

I don't think OTV is using PSTK but might be. Guess it's simply using the REST API manually.