Microsoft Virtualization Discussions

How to setting the aggregate snapshot

AllenChang
2,097 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
2,051 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
2,080 Views

chamfer
2,065 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
2,056 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
2,052 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