Re: How can I tell when ZFS has finished creating a snapshot?

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Sat, 11 Jan 2025 11:03:59 UTC
For example:
After creating a snapshot you delete a file in the original file system. The file is still in the snapshot. So the size of the file will be accounted to the snapshot.
Modifying a file will give similar effect. The ‘old’ parts of the file are only available via the snapshot so will be accounted to the snapshot.
Regards,Ronald.

Van: andy thomas <andy@time-domain.co.uk>
Datum: 11 januari 2025 11:40
Aan: heasley <heas@shrubbery.net>
CC: freebsd-fs@freebsd.org
Onderwerp: Re: How can I tell when ZFS has finished creating a snapshot?

> 
> 
> But what could be increasing the size of the snapshot after it was created? Right now, yesterday's snapshot made at 14:45 UTC (nearly 22 hours ago) has grown to 468MB:
> 
>     root@clustor2:~ # date
>     Sat Jan 11 10:31:05 GMT 2025
>     root@clustor2:~ # zfs list -t snapshot
>     NAME                              USED  AVAIL  REFER  MOUNTPOINT
>     clustor2/ma@2025-01-10_14.45.00   468M      -  3.09T  -
> 
> It's true the size this file system reported by 'zfs list' has increasesd from 3.09TB yesterday to 3.10TB now (it's used for storing user data in an HPC that currently has about 700 jobs running on it) but it's very strange that a snapshot supposedly "set in stone" at the time it is created should continue to grow afterwards!
> 
> Andy
> 
> On Fri, 10 Jan 2025, heasley wrote:
> 
> > Fri, Jan 10, 2025 at 06:52:43PM +0000, andy thomas:
> >> Is there a way to find out the status of a snapshot creation?
> >
> > it should be near-instantaneous.  "USED" would only change if files in
> > the snapshot are deleted or overwritten.
> >
> >
> 
> 
> -----------------------------
> Andy Thomas,
> Time Domain Systems
> 
> Tel: +44 (0)7815 060872
> https://www.time-domain.co.uk
> 
> 
> 
> 
>