Cleaning up snapshot is scale 23.10.2

I know, it had been discussed before, but I can not find the right solution …
Running out of disk space on one of the pools and it seems like from snapshots:

zfs list -o space -r pool        
NAME                                                                                         AVAIL   USED  USEDSNAP  USEDDS  USEDREFRESERV  USEDCHILD
pool                                                                                          355G  3.17T      136K    122M             0B      3.16T
pool/dockerstore                                                                              355G  46.8M       16K   46.7M             0B         0B
pool/download                                                                                 355G  2.04T     1.55T    154G             0B       346G

There is 1.55TB of snapshots there and I do not see them from GUI in order to delete them. How would I approach this

  1. What creates them?
  2. Can I just delete tehm if I will figure out where they are?
root@freenas[/mnt/pool/download/.zfs/snapshot]# ls -l
total 0
drwxrwxrwx 1 root root 0 Nov  1  2022 auto-2022-11-01_10-21
drwxrwxrwx 1 root root 0 Jun 27 00:00 auto-2024-06-27_00-00
drwxrwxrwx 1 root root 0 Jun 28 00:00 auto-2024-06-28_00-00
drwxrwxrwx 1 root root 0 Jun 29 00:00 auto-2024-06-29_00-00
drwxrwxrwx 1 root root 0 Jun 30 00:00 auto-2024-06-30_00-00
drwxrwxrwx 1 root root 0 Jul  1 00:00 auto-2024-07-01_00-00
drwxrwxrwx 1 root root 0 Jul  2 00:00 auto-2024-07-02_00-00
drwxrwxrwx 1 root root 0 Jul  3 00:00 auto-2024-07-03_00-00
drwxrwxrwx 1 root root 0 Jul  4 00:00 auto-2024-07-04_00-00
drwxrwxrwx 1 root root 0 Jul  5 00:00 auto-2024-07-05_00-00
drwxrwxrwx 1 root root 0 Jul  6 00:00 auto-2024-07-06_00-00
drwxrwxrwx 1 root root 0 Jul  7 00:00 auto-2024-07-07_00-00
drwxrwxrwx 1 root root 0 Jul  8 00:00 auto-2024-07-08_00-00
drwxrwxrwx 1 root root 0 Jul  9 00:00 auto-2024-07-09_00-00
drwxrwxrwx 1 root root 0 Jul 10 00:00 auto-2024-07-10_00-00

Should auto snapshots delete themselves after a set time?

Can you not just click on the download dataset in the gui and then “manage snapshots”?

1 Like

Simplest solution - thank you. That had confirmed that there are just crazy high number of snapshots there. Changed retention for this pool from 2 weeks to 2 days and it cleaned itself nicely. The question remains - why it created so many snapshots, but that is battle for different day.

In this video, I go into setting up a tiered snapshot policy with various levels of retention to avoid having too many snapshots, while still having your desired level of rentention