From nobody Sat Apr 22 10:37:15 2023 X-Original-To: questions@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 4Q3SWh3cPGz46Y8F for ; Sat, 22 Apr 2023 10:37:20 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q3SWh2nmgz3jmr for ; Sat, 22 Apr 2023 10:37:20 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682159840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ft8omUp9g6nhZ18bMnAGpm/3dDJ8j/QZvKI/f8IW9Ew=; b=kjl2Fms4EI6GRZkaxUFDeQu4mx2g9CU9YSOxt97JCatfPsEwkxNxR9xFyd4tQ8l4XSe042 sOadtTiRR1eOnq2y418C4YxRoE4nhDhfGbnlTgaAtKlFQwTpe6PqFOoNyj8Ojd93O+F5Cy z4pkbfKfu90ARayVxpt4DzMGe4zVtmh43phbUyR1ZUhrqu2PF+Uc0drMRly5EnpYbTMNnS 73QRGvfdRGoD2hGWRfHDta0Z4Y4gmjv6wF0FEHfLHxKc51u+QGyrtVhgSilc0qvbXOvqoO F8C5dTlIb/01wUUoCH17TtP9eaYlxyWhvwLDWDGA4wz2lYNOZ+VMokUsOAeDaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682159840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ft8omUp9g6nhZ18bMnAGpm/3dDJ8j/QZvKI/f8IW9Ew=; b=En/HujCzJeAB3KnewTo8NuIZu9AOPpeZ2ScV36tLJQEERgKaEu5oBd+Bi6JrGqiAd53vF8 3we9GCvGV8lyyY7GPhhbNd4wt8Az5WEJ0FqUhYk5PF/YzUn4I75EWR/6EcgKSpM8MW2Ni0 ypMFZpzUb3D3a//Ahar5GEhR07TeFidFdI+nqmMW5wJ3EIZbCVf3j6rMNe70HsYSVJR3cD SGS8jZbspMFFt7xbGG9eUypcmKYNPl7LlbpodaQxioXaIRepf/gzGn82h7IafxWEHjsMoB Qrk/s14L0jQBcV4vheSEK1iTHetqjYKcERQb0pSlxQ8NINvfTNHKy3geUhwzIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682159840; a=rsa-sha256; cv=none; b=aGftqHRG4wCyU3wZJFw2YYE3yxhYFDcgQw5omBdV0jjEXLjhs2F3GwnR1L0pjYRynpU238 wu9jA/UBIPhNYZeUwSLFhk/AjwyOadkBwVK0m3hnPqTdxB1DYk7WzD5evD1sDPF2Kx3yRU HfkFD0aRhK7+/2QKy84jAIcU5UVKyavH1z/K6o893lHG9Nj6wDsav/S6b0HfUTU7AMQNAx 6Z6jeVRV4X6WA93QoeHHrS/qTZcs0VLtGlftaza3/SXbZIFhODVOZ2sdyPgaen19cH+9AU H31bHgB8utyUTJdYJIkbTNFq06YyjQ/4GjvcPcRxy1LNHVC2lKtnwvVtGpU1lg== Received: from [192.168.1.10] (host-2-100-161-236.as13285.net [2.100.161.236]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: grahamperrin) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Q3SWh0Vt7zf5Q for ; Sat, 22 Apr 2023 10:37:19 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Message-ID: <97880aee-4149-d54e-5ec6-13b03d66f8d1@freebsd.org> Date: Sat, 22 Apr 2023 11:37:15 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: zfs dataset seems empty (while it is not) after reboot? (Solved) To: questions@freebsd.org References: <3cedae21-fdb0-e1a7-0316-9d9c860d159c@vernuftiger.nl> <97666cb3-74d6-c1c1-5583-8e124cdff5ef@vernuftiger.nl> Content-Language: en-US From: Graham Perrin Organization: FreeBSD In-Reply-To: <97666cb3-74d6-c1c1-5583-8e124cdff5ef@vernuftiger.nl> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------SMhgptwYQNpOhycusafHsvL0" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------SMhgptwYQNpOhycusafHsvL0 Content-Type: multipart/mixed; boundary="------------FYRbYfAhJ5N2ZlSMjI8yHj4Q"; protected-headers="v1" From: Graham Perrin To: questions@freebsd.org Message-ID: <97880aee-4149-d54e-5ec6-13b03d66f8d1@freebsd.org> Subject: Re: zfs dataset seems empty (while it is not) after reboot? (Solved) References: <3cedae21-fdb0-e1a7-0316-9d9c860d159c@vernuftiger.nl> <97666cb3-74d6-c1c1-5583-8e124cdff5ef@vernuftiger.nl> In-Reply-To: <97666cb3-74d6-c1c1-5583-8e124cdff5ef@vernuftiger.nl> --------------FYRbYfAhJ5N2ZlSMjI8yHj4Q Content-Type: multipart/alternative; boundary="------------y0vSCptMWG2LDBJT05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A0KPGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9y Zy9ENjc5Mz4NCg0K --------------y0vSCptMWG2LDBJT05TLNe5F Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 17/04/2023 14:50, ICT builder wrote= :
On= 17-04-2023 12:31, ICT builder wrote:
=E2=80=A6

# zfs list /usr/ports
NAME=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 USED=C2=A0 AVAIL=C2=A0=C2=A0=C2=A0=C2=A0= REFER=C2=A0 MOUNTPOINT
zroot/ROOT/default=C2=A0 1.49G=C2=A0=C2=A0 202G=C2=A0=C2=A0=C2=A0= =C2=A0 1.49G=C2=A0 /

=E2=80=A6


my= /etc/rc.conf was lacking:
zfs_enable=3D"YES"

Oops, sorry for unneeded noise ...


It's OK, the noise is pleasantly thought-provoking.

Comparing an effect of zfs-list(8) with an effect of zpool-list(8):

FreeBSD bug 270789 =E2=80=93 zpool list loads zfs.ko, even on systems that don't use= zfs

Also, maybe of interest:

=E2=9A=99 D6793 Enab= le ZFSd if the installation is done on ZFS

--------------y0vSCptMWG2LDBJT05TLNe5F-- --------------FYRbYfAhJ5N2ZlSMjI8yHj4Q-- --------------SMhgptwYQNpOhycusafHsvL0 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsFAmRDuNwFAwAAAAAACgkQt2dIb0oY1Av9 whAAnCFrpSdDd1Wx5crxD0xnLLhh1/GTpC2fIOSj+b0LS7tU7nCpUtYSdC5c40UIKB9OmRbCs+Kp /J+9PRsUjxouSy9eOpMqV1Q7FhE2JWD39qR+5t6ovqYPM8YRoEIjZArlJrmz+ihbO9ViDMAGGKAF eGCPfJsumj0h1ZHq3wLfYhGFHBPea4QJG2bDi+hsMbnmhKRKezJ8kWGpEa1N9Mz7TOKpzFLWDT9D jgYhKmRk2p0O3RIc7Qni1xihzeaX8Zp/djFacawiWWcnAdKul5gccnXIBTsuY65YUEPGmzFgcYTG PVIvXs39S+HUny74m66uJJ0bFtzO+aIwbCSSAP2XEGlAz4mHnP8gD6h/mknt+ztabAMbMCgfEBaT LTC3wqxdkCNu2gkSDIUJ2WRbhmBiAWs/BAkk/stY2Dk8CHQYIBvux1EHVd0hIUjnmSl8rL9qDBwZ e4CeWY/sIptdojndzG7G0GnSlVYQWfYbzzNy1m4CiwxaKcjp39Sdo9mBWgAVhxEohEyLFPJOgvIC QzXcRYoYgJCF6ev2kXIf+FzUWC/u/BVK878uDqThhoMCiBBd8IT9D3v0EjKJIywvbLYIKaDVzFhP mOtWGbG1nVbIcgiRai8xezHRQM5znD+2JqlQHUff1iPA5wqAv29x8Q81zsmUXRYED6qeBLYwNWa8 kyQ= =5Xlx -----END PGP SIGNATURE----- --------------SMhgptwYQNpOhycusafHsvL0--