Hello, I have been trying to find a way to test if a clone split is complete. I know Get-NcCloneSplitStatus gives me information but throws an error after the clone is complete. I looked at the volume fields on the cli and there is field called clone-volume, but could not find the corresponding PS attribute. I ended up doing something like below but wanted to know if there is a better way code wise to test to see if the clone split was done.
$snap_busy = (Get-NcVol -Vserver $svm -name $org_vol | Get-NcSnapshot -SnapName $org_snap).Dependency
while($snap_busy)
{
Write-Host "Wakeup in 30 seconds...."
Start-Sleep 30
$snap_busy = (Get-NcVol -Vserver $svm -name $org_vol | Get-NcSnapshot -SnapName $org_snap).Dependency
}