Quantcast
Channel: All Data Protection posts
Viewing all articles
Browse latest Browse all 3468

Re: Question of auto delete snapshot

$
0
0

hi Harry

 

In NetApp, snapshot scheduling and management can be a bit nuanced. Here’s how it generally works in relation to your question about snapshot reserves and auto-deletion:

 

1. **Snapshot Reserve**:

This is the percentage of the volume space that is set aside explicitly for storing snapshots. If the amount of space used by snapshots exceeds this reserve, NetApp will start to automatically delete older snapshots to free up space.

 

2. **Maximum Copies**:

This is the maximum number of snapshots you want to keep for a volume. For example, if you have a daily snapshot schedule with a maximum of 5 copies, you should expect to retain up to 5 snapshots at any given time.

 

3. **Auto Delete Trigger**:

The auto delete feature will trigger if the snapshot space usage exceeds the configured snapshot reserve, regardless of whether or not you've reached the maximum number of snapshots.

 

So in your example, if on the third day the size of the snapshots exceeds the snapshot reserve, the system will initiate the auto-deletion process even if there are fewer than 5 snapshots present. It will prioritize deleting the oldest snapshots first until the snapshot space is back within the limits of the snapshot reserve.

 

Summary:
- Auto deletion is based on exceeding the snapshot reserve.
- The number of snapshots can be less than the maximum allowed, but if the usage exceeds the snapshot reserve, older snapshots will still be deleted.

 

In my opinion

Increasing the snapshot reserve capacity can help ensure that your snapshots have enough space to be retained without causing the volume to run out of space. However, this is not the only solution. I usually choose the following methods

 

1. **Increase Snapshot Reserve**:

Yes, increasing the snapshot reserve can allow more snapshots to be held without triggering alerts. This helps in managing automatic deletions effectively.


2. **Modify Snapshot Schedule**:
Adjust the frequency of snapshots taken. Reducing the number of snapshots created can help manage space better.


3. **Delete Unused Snapshots**:

Manually delete any old or unnecessary snapshots if they are not needed for recovery purposes.

 

By combining these strategies, you can better manage your volume's space and ensure the snapshot deletion process works effectively.


Viewing all articles
Browse latest Browse all 3468

Trending Articles