How to create a consistency based snapshot of multiple volumes in NetApp cDot, then flexclones

  1. Identify the volumes to be part of the consistency group snapshot.
  2. You can create a new snapshot policy or an existing.
  3. Assign the policy to the volumes in question.
  4. Go to Schedules and create a new schedule or modify the existing to start at the desired time
  5. Once the snapshots have been created you can create the flexclone volumes.

Working with Netapp snapshots via PowerShell, cluster mode

Connect-NcController anystor

Get-Ncvol -Vserver anysrv -Name anyvol | Get-NcSnapshot | Format-Table -Wrap -AutoSize

$DateToCompare = (Get-date).AddDays(-2)

Get-Ncvol -Vserver anyvsrv -Name anyvol | Get-NcSnapshot | Where-Object {$_.created -lt $DateToCompare -and $_.Name -Notlike “*snapmirror*”}  | remove-ncsnapshot -WhatIf | Format-Table -Wrap -AutoSize