ONTAP Discussions

Calculate snapshot occupied space in snap reserve

gaurav_verma
3,684 Views

Hello People

I am looking for formula or tool to calculate snapshot size by single snapshot in the snap reserve area.

For example

In volume dfs1, 3621 MB is occupied by snapshots in total 50GB snap reserve.

filer01> df -h dfs1

Filesystem               total       used      avail capacity  Mounted on

/vol/dfs1/               200GB      143GB       56GB      72%  /vol/dfs1/

/vol/dfs1/.snapshot       50GB     3621MB       46GB       7%  /vol/dfs1/.snapshot

filer01c> snap list dfs1

Volume dfs1

working...

  %/used   %/total  date      name

----------  ----------  ------------  --------

  0% ( 0%)0% ( 0%)  Jan 08 00:00  nightly.0
  0% ( 0%)0% ( 0%)  Jan 07 20:01  hourly.0
  0% ( 0%)0% ( 0%)  Jan 07 16:01  hourly.1
  0% ( 0%)0% ( 0%)  Jan 07 12:00  hourly.2
  0% ( 0%)0% ( 0%)  Jan 07 08:00  hourly.3
  0% ( 0%)0% ( 0%)  Jan 07 00:00  nightly.1
  0% ( 0%)0% ( 0%)  Jan 06 20:01  hourly.4
  0% ( 0%)0% ( 0%)  Jan 06 16:00  hourly.5
  0% ( 0%)0% ( 0%)  Dec 17 00:00  filer03a(0151742962)_vfiler04a_dfs1_ccbudemo-src.1623 (snapmirror)
  2% ( 2%)1% ( 1%)  Nov 27 07:55  filer01c(0101189678)_dfs1_FAST-AMS-dst.5964
  2% ( 0%)1% ( 0%)  Nov 27 07:55  filer01c(0101189678)_dfs1_ccbudemo-dst.6404

Snapshot "filer01c(0101189678)_dfs1_FAST-AMS-dst.5964" is occupying some space out of 3621 MB but how much? I remember there used to be a formula to calculate space used by a snapshot based upon 2% and 1% and total volume capacity (or total snap reserve) but I can not recollect it now.

I am not looking for snap delta calculation but the actual space occupied by snapshot.

Thanks

Gaurav

1 ACCEPTED SOLUTION

aborzenkov
3,684 Views

Closest to "space occupied by snapshot" is "snap reclaimable".

View solution in original post

1 REPLY 1

aborzenkov
3,685 Views

Closest to "space occupied by snapshot" is "snap reclaimable".

Public