ONTAP Discussions

redeem snapvault snapshot

ol15
4,776 Views

hi all,

 

i create a snapvault relationship and i want to redeem the snapshot (353GB) without destroy the relationship.

 

 

see below the configuration from the filer source:

 

source> df -g /vol/vol_test/
Filesystem               total       used      avail capacity  Mounted on
/vol/vol_test/     1110GB     1071GB       38GB      97%  /vol/vol_test/
/vol/vol_test/.snapshot        0GB      353GB        0GB       0%  /vol/vol_test/.snapshot


source> snapvault status
Snapvault is ON.
Source                       Destination                        State          Lag        Status
source:/vol/vol_test/qt1     dest:/vol/source_vol_test/qt1     Source         197:48:19  Idle

 

thanlks for your help

1 ACCEPTED SOLUTION

naren_s
4,699 Views

Yes, snapvault update will create a new snapshot on source. Then you can delete that 353GB old snapshot as the new snapshot will be the base.

You must wait for completion of the snapvault update.

Make sure that snapshot retention is more on destination.

 

Note: You must always calculate the rate of change of data at volume level before configuring snapvault.

View solution in original post

6 REPLIES 6

raj_shrivastava11
4,754 Views

Hi,

 

(353GB) is a total Snapshot used size on Source Volume.

 

If you list the snapshot list via (snap list vol_test) it will tell which snapshot is utilizing more and which one is connected to snapvault relationship.

 

Do you want to remove the heavy snapshot to reclaim the space?

 

Send the snapshot list and we can suggest further.

 

BR

Raj

ol15
4,736 Views

hello

 

thanks for you reply here is the result of snap list:

 

> snap list vol_test
Volume vol_test
working...

  %/used       %/total  date          name
----------  ----------  ------------  --------
 34% (34%)   32% (32%)  Feb 09 10:23  dest_filer(XXXXXXXX)_source_filer_vol_test_qt1-src.0 (snapvault)

 

which command and from where (source or destination filer) i should use to redeem those used snapshot.

 

regards

raj_shrivastava11
4,723 Views

Hi,

 

Can you give output of below command? It seems there is only 1 snapshot and which is Base Snapshot of Snapvault relation.

 

source> snapvault status -l /vol/vol_test/qt1

 

BR

Raj

ol15
4,721 Views

hello raj_shrivastava11,

 

 

yes it 's the only one snapshot of this volume see below the result :

 

source> snapvault status -l /vol/vol_test/qt1
Snapvault is ON.

Source:                 source:/vol/vol_test/qt1
Destination:            filer_dest:/vol/source_vol_test/qt1
Status:                 Idle
Progress:               -
State:                  Source
Lag:                    220:55:58
Mirror Timestamp:       Tue Feb  9 10:23:52 CET 2016
Base Snapshot:          filer_dest(XXXXXXXXX)_source_vol_test_qt1-src.0
Current Transfer Type:  -
Current Transfer Error: -
Contents:               -
Last Transfer Type:     -
Last Transfer Size:     728888932 KB
Last Transfer Duration: 03:30:06
Last Transfer From:     -
source>

 

if i want to freeing space on this volume

i have to delete the relation snapvault and recreate it ?

 

regards

raj_shrivastava11
4,711 Views

Hi,

 

I am afraid Yes. What R u running out of space on Netapp?

 

Any data deletion happened which filled up this base snapshot?

 

Do u run snapvault update on daily or hourly basis? 1 thing u can try is running a snapvault update, this will force a creation of new base snapshot and i guess after that u can clean this heavy snapshot without destroying the snapvault relation.

 

BR

Raj

naren_s
4,700 Views

Yes, snapvault update will create a new snapshot on source. Then you can delete that 353GB old snapshot as the new snapshot will be the base.

You must wait for completion of the snapvault update.

Make sure that snapshot retention is more on destination.

 

Note: You must always calculate the rate of change of data at volume level before configuring snapvault.

Public