NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

How to setting the aggregate snapshot

AllenChang
4,877 Views

I have two question about aggregate snapshot

1.How to use power shell to setting aggregate snapshot schedule?

2.how to delete aggregate snapshot by powershell ?

 

Thanks

1 ACCEPTED SOLUTION

Ontapforrum
4,831 Views

This kb has commands: (Not Poweshell)
https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_disable_aggregate_snapshots_in_Clustered_Data_ONTAP_8

 

You can try these commands for 'aggr0':
From node level:
node> snap sched -A aggr0 0 0 0
node> snap delete -A -a -f aggr0
node> aggr options aggr0 snapshot_autodelete on

 

On the side note: You can consider taking a snapshot of the working Simulator VM if you want to avoid simulator crashing or running into panic mode due to low rootvol size.

View solution in original post

4 REPLIES 4

tahmad
4,860 Views

chamfer
4,845 Views

Hi @AllenChang can I ask what you are using aggregate snapshots for and is it for an old array?

 

NetApp advise "Aggregate Snapshot copies are used only to support the SyncMirror and MetroCluster technologies; they should not be used for data protection purposes."

 

AFAIK it deprecated "Starting in Data ONTAP 8.3.1, you can no longer create aggregate Snapshot copies using the Data ONTAP command-line interface (CLI). "

AllenChang
4,836 Views

Because I use the simulator not a physical hardware,

To avoid the root volume full,

I want maximum the available capacity to root volume,

so I need to reclaim all the available space in aggregate

Ontapforrum
4,832 Views

This kb has commands: (Not Poweshell)
https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_disable_aggregate_snapshots_in_Clustered_Data_ONTAP_8

 

You can try these commands for 'aggr0':
From node level:
node> snap sched -A aggr0 0 0 0
node> snap delete -A -a -f aggr0
node> aggr options aggr0 snapshot_autodelete on

 

On the side note: You can consider taking a snapshot of the working Simulator VM if you want to avoid simulator crashing or running into panic mode due to low rootvol size.

Public