#Skip volume recovery queue on Remove-NcVol
1 messages · Page 1 of 1 (latest)
It's in the REST API at least but unsure why PSTK does not allow it...
https://docs.netapp.com/us-en/ontap-restapi/ontap/delete-storage-volumes-.html#parameters
You could try Invoke-NcSystemApi but that's ZAPI
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 🐛 🎉
Try and figure out what Otv does. Maybe it’s a combination effort
- Delete volume
- Lookup new name (should have some numbers tacked on and is type DEL)
- Remove the volume from the recovery queue
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
I don't think OTV is using PSTK but might be. Guess it's simply using the REST API manually.