Subscribe

Snapshot overflow

[ Edited ]

Below are the snapmirror details for my volume. We are snapmirror going to a different filer for this volume and that is the only reason I enabled the snapshots. We need the snapshots since we already have the data at othere volumes, this is just a staging area. My question can I delete these snapshots and if yes which ones should I delete first?

 


> snap reserve test_1
Volume test_1: current snapshot reserve is 5% or 147639500 k-bytes.

 

> snap sched test_1
Volume test_1: 13 5 5@8,12,16,20

 

> snap list test_1
Volume test_1
working...

%/used %/total date name
---------- ---------- ------------ --------
75% (75%) 25% (25%) Mar 12 20:00 hourly.1
92% (89%) 91% (67%) Mar 12 16:00 hourly.2
92% ( 0%) 91% ( 0%) Mar 12 12:00 hourly.3
92% ( 0%) 91% ( 0%) Mar 12 08:00 hourly.4
92% ( 0%) 91% ( 0%) Mar 12 00:00 nightly.2
92% ( 9%) 92% ( 1%) Mar 11 00:00 nightly.3
92% ( 0%) 92% ( 0%) Mar 10 00:00 nightly.4


Filesystem total used avail capacity Mounted on
/vol/test_1/ 2675GB 2675GB 0GB 100% /vol/test_1/
/vol/test_1/.snapshot 140GB 2588GB 0GB 1838% /vol/test_1/.snapshot

Re: Snapshot overflow

You did not show any information related to snap mirror, so I am afraid I do not understand your question. You have automatic scheduled snapshots; old snapshots will be deleted according to retention policy in your schedule.

Re: Snapshot overflow

Hello Thanks for the input. 

 

This is just a temp staging volume and does not relly need to have snapshots so i deleted snapshots to free up the space. My concern was If i delete all snapshots will I be able to snapmirro the volume to a different filers

Re: Snapshot overflow

Snap mirror creates snapshots by itself, it does not rely on scheduled snapshots. If you delete snap mirror base snapshot, next update will fail indeed and you will need to rebaseline (you may be able to resync if some other common snapshot is still available).

Re: Snapshot overflow

Here is the snap list for my destination SM volume. Which one is the baseline SM? Interestingly all %used and %total are 0%. I did an update to SM after baseline SM completed. the sourec volume is unexported so the user would not change data is it 0% because there is no change in source data? filer1 is the destination filer.

 

> snap list test_SM
Volume test_SM
working...

%/used %/total date name
---------- ---------- ------------ --------
0% ( 0%) 0% ( 0%) Mar 15 09:03 filer1(0536910972)_ test_SM.2
0% ( 0%) 0% ( 0%) Mar 15 08:00 hourly.0
0% ( 0%) 0% ( 0%) Mar 15 00:00 nightly.0
0% ( 0%) 0% ( 0%) Mar 14 20:00 hourly.1
0% ( 0%) 0% ( 0%) Mar 14 16:00 hourly.2
0% ( 0%) 0% ( 0%) Mar 14 12:00 hourly.3
0% ( 0%) 0% ( 0%) Mar 14 00:00 nightly.1
0% ( 0%) 0% ( 0%) Mar 13 00:00 nightly.2
0% ( 0%) 0% ( 0%) Mar 11 17:41 filer1(0536910972)_ test_SM.1

 

 

Re: Snapshot overflow

The first snapshot is baseline; the last snapshot is previous baseline (most likely already deleted on source). Last snap mirror transfer was delta between previous and current baseline snapshots.

Re: Snapshot overflow

[ Edited ]

Your snapmirror relation is already gone. You can check it from either source or destination (it will also give lag time) using the command: snapmirror status

You can delete any number of snapshots now on source if you do not need any data from previous snapshots for recovery.

If you want to establish SM again, you must initialize it (start the sync again from beginning).

Please read some documents on snapmirror before working on it.

 

https://library.netapp.com/ecmdocs/ECMP1196991/html/GUID-BA1081BE-B2BB-4C6E-8A82-FB0F87AC514E.html