From nobody Sat Jan 11 10:39:50 2025 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YVZlt0fNWz5k2lM for ; Sat, 11 Jan 2025 10:39:54 +0000 (UTC) (envelope-from andy@time-domain.co.uk) Received: from mail0.time-domain.net (mail0.time-domain.net [62.3.122.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4YVZls4jzqz4D5D for ; Sat, 11 Jan 2025 10:39:53 +0000 (UTC) (envelope-from andy@time-domain.co.uk) Authentication-Results: mx1.freebsd.org; none Received: from mail0.time-domain.net (localhost [127.0.0.1]) by mail0.time-domain.net (8.15.2/8.15.2) with ESMTP id 50BAdpHQ063992; Sat, 11 Jan 2025 10:39:51 GMT (envelope-from andy@time-domain.co.uk) Received: from localhost (andy-tds@localhost) by mail0.time-domain.net (8.15.2/8.15.2/Submit) with ESMTP id 50BAdoP5063989; Sat, 11 Jan 2025 10:39:51 GMT (envelope-from andy@time-domain.co.uk) X-Authentication-Warning: mail0.time-domain.net: andy-tds owned process doing -bs Date: Sat, 11 Jan 2025 10:39:50 +0000 (GMT) From: andy thomas X-X-Sender: andy-tds@mail0.time-domain.net To: heasley cc: freebsd-fs@freebsd.org Subject: Re: How can I tell when ZFS has finished creating a snapshot? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.22 (BSF 395 2020-01-19) List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4YVZls4jzqz4D5D X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:13037, ipnet:62.3.64.0/18, country:GB] 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