Forum Discussion

daniel_swindle2's avatar
2 years ago

HI all, new to the channel but have a question.

I'm trying to copy a snapshot to an existing vvol using the command "Copy-PfaSnapshotToExistingVvolvmdk". It works great 95% of the time. However we replicate data from one array to another, and I'm trying to do this on the secondary. 5% of the time the command fails with an error indicating that it can't do it because all of the data is not available yet. The worst part is that my entire PowerShell script stops executing when that happens, even when I wrap it in a Try/Catch block. My question is, does anyone know how to verify that a snapshot is 100% ready to use before I attempt to do the Copy-PfaSnapshotToExistingVvolvmdk command?

17 Replies