Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2025 12:03:59 +0100 (CET)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        andy thomas <andy@time-domain.co.uk>
Cc:        freebsd-fs@freebsd.org, heasley <heas@shrubbery.net>
Subject:   Re: How can I tell when ZFS has finished creating a snapshot?
Message-ID:  <856588185.13572.1736593439701@localhost>
In-Reply-To: <alpine.BSF.2.22.395.2501111029130.63713@mail0.time-domain.net>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_13571_438639477.1736593439698
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

For example:
After creating a snapshot you delete a file in the original file system. Th=
e 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 =E2=80=98old=E2=80=99 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?

>=20
>=20
> But what could be increasing the size of the snapshot after it was create=
d? Right now, yesterday's snapshot made at 14:45 UTC (nearly 22 hours ago) =
has grown to 468MB:
>=20
>     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  -
>=20
> 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!
>=20
> Andy
>=20
> On Fri, 10 Jan 2025, heasley wrote:
>=20
> > 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.
> >
> >
>=20
>=20
> -----------------------------
> Andy Thomas,
> Time Domain Systems
>=20
> Tel: +44 (0)7815 060872
> https://www.time-domain.co.uk
>=20
>=20
>=20
>=20
>=20
------=_Part_13571_438639477.1736593439698
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body>For example:<br class=3D"rw_extra"><br>After creat=
ing a snapshot you delete a file in the original file system. The file is s=
till in the snapshot. So the size of the file will be accounted to the snap=
shot.<br class=3D"rw_extra"><br>Modifying a file will give similar effect. =
The =E2=80=98old=E2=80=99 parts of the file are only available via the snap=
shot so will be accounted to the snapshot.<br class=3D"rw_extra"><br>Regard=
s,<br class=3D"rw_extra">Ronald.<br class=3D"rw_extra"><br><p><small><stron=
g>Van:</strong> andy thomas &lt;andy@time-domain.co.uk&gt;<br><strong>Datum=
:</strong> 11 januari 2025 11:40<br><strong>Aan:</strong> heasley &lt;heas@=
shrubbery.net&gt;<br><strong>CC:</strong> freebsd-fs@freebsd.org<br><strong=
>Onderwerp:</strong> Re: How can I tell when ZFS has finished creating a sn=
apshot?<br></small></p><blockquote style=3D"margin-left: 5px; border-left: =
3px solid #ccc; margin-right: 0px; padding-left: 5px;"><div class=3D"Messag=
eRFC822Viewer" id=3D"P"><!-- P -->
<!-- processMimeMessage --><div class=3D"TextPlainViewer" id=3D"P.P"><!-- P=
.P -->But what could be increasing the size of the snapshot after it was cr=
eated? Right now, yesterday's snapshot made at 14:45 UTC (nearly 22 hours a=
go) has grown to 468MB:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;root@clustor2:~ # date<br>
&nbsp;&nbsp;&nbsp;&nbsp;Sat Jan 11 10:31:05 GMT 2025<br>
&nbsp;&nbsp;&nbsp;&nbsp;root@clustor2:~ # zfs list -t snapshot<br>
&nbsp;&nbsp;&nbsp;&nbsp;NAME &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;USED &nbsp;AVAIL &nbsp=
;REFER &nbsp;MOUNTPOINT<br>
&nbsp;&nbsp;&nbsp;&nbsp;clustor2/ma@2025-01-10_14.45.00 &nbsp;&nbsp;468M &n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;- &nbsp;3.09T &nbsp;-<br>
<br>
It's true the size this file system reported by 'zfs list' has increasesd f=
rom 3.09TB yesterday to 3.10TB now (it's used for storing user data in an H=
PC that currently has about 700 jobs running on it) but it's very strange t=
hat a snapshot supposedly "set in stone" at the time it is created should c=
ontinue to grow afterwards!<br>
<br>
Andy<br>
<br>
On Fri, 10 Jan 2025, heasley wrote:<br>
<br>
&gt; Fri, Jan 10, 2025 at 06:52:43PM +0000, andy thomas:<br>
&gt;&gt; Is there a way to find out the status of a snapshot creation?<br>
&gt;<br>
&gt; it should be near-instantaneous. &nbsp;"USED" would only change if fil=
es in<br>
&gt; the snapshot are deleted or overwritten.<br>
&gt;<br>
&gt;<br>
<br>
<br>
-----------------------------<br>
Andy Thomas,<br>
Time Domain Systems<br>
<br>
Tel: +44 (0)7815 060872<br>
<a href=3D"https://www.time-domain.co.uk">https://www.time-domain.co.uk</a>=
<br>
<br>
</div><!-- TextPlainViewer -->
<hr>
</div><!-- MessageRFC822Viewer -->
</blockquote><br><br><br></body></html>
------=_Part_13571_438639477.1736593439698--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?856588185.13572.1736593439701>