From nobody Thu Nov 24 15:17:57 2022 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 4NJ1pJ23KFz4hQRV for ; Thu, 24 Nov 2022 15:18:00 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NJ1pH4kdzz3Bpg; Thu, 24 Nov 2022 15:17:59 +0000 (UTC) (envelope-from nvass@gmx.com) Authentication-Results: mx1.freebsd.org; none Received: from [5.203.237.3] ([5.203.237.3]) by web-mail.gmx.net (3c-app-mailcom-bs05.server.lan [172.19.170.173]) (via HTTP); Thu, 24 Nov 2022 16:17:57 +0100 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 Message-ID: From: Nikos Vassiliadis To: Alan Somers Cc: freebsd-fs@freebsd.org Subject: Re: filesystem created but no event in history Content-Type: text/plain; charset=UTF-8 Date: Thu, 24 Nov 2022 16:17:57 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:RNjMQRXHiAlynpf5z7LVw9QvqBO+w9kRRWx49424ZArVOBl8WGdZYz7qvqaoMic2RxYQh jfEtDmS/lMQ6bjU0pDIsrvg8LwcPryZQc8xUsEOxaketVmcoK7IGfKEdHUZFZAmEafLX1Rfr7BdY HtTYXXuKD8FJFIugSH/NcFr+uAVTIu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ar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > Sent: Thursday, November 24, 2022 at 3:52 PM > From: "Alan Somers" > To: "Nikos Vassiliadis" > Cc: freebsd-fs@freebsd.org > Subject: Re: filesystem created but no event in history > > On Thu, Nov 24, 2022 at 4:00 AM Nikos Vassiliadis wrote: > > > > Hi, > > > > There was a new fs (danae/ROOT/12.4-RC2_2022-11-24_105735) created by freebsd-update > > > > > > root@danae:~ # zfs list -t all -r -o name,type,creation,origin danae | sed -n '1p; /105735/p' > > NAME TYPE CREATION ORIGIN > > danae/ROOT/12.4-RC2_2022-11-24_105735 filesystem Thu Nov 24 10:57 2022 danae/ROOT/default@2022-11-24-10:57:35-0 > > danae/ROOT/12.4-RC2_2022-11-24_105735@2022-11-24_11.10.48--1d snapshot Thu Nov 24 11:10 2022 - > > danae/ROOT/12.4-RC2_2022-11-24_105735@2022-11-24_11.10.52--1d snapshot Thu Nov 24 11:10 2022 - > > root@danae:~ # zfs list danae/ROOT/default@2022-11-24-10:57:35-0 > > NAME USED AVAIL REFER MOUNTPOINT > > danae/ROOT/default@2022-11-24-10:57:35-0 2.82M - 4.97G - > > root@danae:~ # > > > > > > I would expect that this event would be recorded in the pool's history but there is nothing there: > > root@danae:~ # zpool history danae | tail -20 > > 2022-11-24.00:00:05 zfs snapshot -r danae@2022-11-24_00.00.00--1m > > 2022-11-24.00:01:00 zfs destroy danae/ROOT/default@2022-10-24_00.00.00--1m > > 2022-11-24.00:01:00 zfs destroy danae/ROOT@2022-10-24_00.00.00--1m > > 2022-11-24.00:01:01 zfs destroy danae/tmp@2022-10-24_00.00.00--1m > > 2022-11-24.00:01:01 zfs destroy danae/usr/home@2022-10-24_00.00.00--1m > > 2022-11-24.00:01:01 zfs destroy danae/usr/ports@2022-10-24_00.00.00--1m > > 2022-11-24.00:01:01 zfs destroy danae/usr/src@2022-10-24_00.00.00--1m > > 2022-11-24.00:01:01 zfs destroy danae/usr@2022-10-24_00.00.00--1m > > 2022-11-24.00:01:01 zfs destroy danae/var/audit@2022-10-24_00.00.00--1m > > 2022-11-24.00:01:01 zfs destroy danae/var/crash@2022-10-24_00.00.00--1m > > 2022-11-24.00:01:01 zfs destroy danae/var/log@2022-10-24_00.00.00--1m > > 2022-11-24.00:01:01 zfs destroy danae/var/mail@2022-10-24_00.00.00--1m > > 2022-11-24.00:01:01 zfs destroy danae/var/tmp@2022-10-24_00.00.00--1m > > 2022-11-24.00:01:01 zfs destroy danae/var@2022-10-24_00.00.00--1m > > 2022-11-24.00:01:06 zfs destroy danae@2022-10-24_00.00.00--1m > > 2022-11-24.11:10:52 zfs snapshot -r danae@2022-11-24_11.10.48--1d > > 2022-11-24.11:10:56 zfs snapshot -r danae@2022-11-24_11.10.52--1d > > 2022-11-24.12:41:55 zfs create danae/nikos000 > > 2022-11-24.12:42:17 zfs rename danae/nikos000 danae/nikos001 > > > > I thought that the pool's history contains everything. > > Really confused, thanks in advance for your help > > Nikos > > Try "zpool history -i". > > Thanks a lot Alan! So bectl creates a snapshot and clones it to a new fs but these actions are considered internal. What do we really mean internal?