From nobody Tue Jan 2 08:34:38 2024 X-Original-To: freebsd-current@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 4T45lW2qyrz56bsT for ; Tue, 2 Jan 2024 08:35:35 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (P-256)) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T45lV5NXnz3g1r; Tue, 2 Jan 2024 08:35:34 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; none List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1704184528; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xqEUhApMs4Wc6/4jrW9oERP+dtmQ8mN03vlFsq0/gUY=; b=BKotRwNnwg4tXQEqXXwK4xCFV0tJhZ1F9AzCRCVxgfn4lYFfG3Ab6Hp8A3WJ4dCelicyFc nkNCdLyBLVE+LXlCfGzVadJKMnkgg9VHFFRDLEu3MUVG5/Zk6N+fqNwFpz2Yj37Db6J/1P g84TqUHCkIDC46CnvJEOseK4InnIbW+YzQjHrrCcsuw8huNdZvt7p0nJ9GUVBvwG7Qp+X5 Ycu9AdPwe0CcQvdSdc935ynsvg3zGNMaKeXogfrCnkHmj6PwN+udXxUlIwzui7MAc0OYpg OTKsaVzNnBZswK41n0BBSsALPdZr9pcH0s9qJrquAJiVdTRtdzW4QaK8jmv2Sg== Date: Tue, 02 Jan 2024 09:34:38 +0100 From: Alexander Leidinger To: Kurt Jaeger Cc: freebsd-current@freebsd.org Subject: Re: ZFS problems since recently ? In-Reply-To: References: <5210dd54acbaa8d7705aa4f756e21d1a@Leidinger.net> Message-ID: Organization: No organization, this is a private message. Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_2cd57a592242f8fd641657a1aa46689f"; micalg=pgp-sha256 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:34240, ipnet:89.238.64.0/18, country:DE] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4T45lV5NXnz3g1r This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --=_2cd57a592242f8fd641657a1aa46689f Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Am 2024-01-02 08:22, schrieb Kurt Jaeger: > Hi! > >> The sysctl for block cloning is vfs.zfs.bclone_enabled. >> To check if a pool has made use of block cloning: >> zpool get all poolname | grep bclone > > One more thing: > > I have two pools on that box, and one of them has some bclone files: > > # zpool get all ref | grep bclone > ref bcloneused 21.8M - > ref bclonesaved 24.4M - > ref bcloneratio 2.12x - > # zpool get all pou | grep bclone > pou bcloneused 0 - > pou bclonesaved 0 - > pou bcloneratio 1.00x - > > The ref pool contains the system and some files. > The pou pool is for poudriere only. > > How do I find which files on ref are bcloned and how can I remove the > bcloning from them ? No idea about the detection (I don't expect an easy way), but the answer to the second part is to copy the files after disabling block cloning. As this is system stuff, I would expect it is not much data, and you could copy everything and then move back to the original place. I would also assume original log files are not affected, and only files which were copied (installworld or installkernel or backup files or manual copies or port install (not sure about pkg install)) are possible targets. Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_2cd57a592242f8fd641657a1aa46689f Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc; size=833 Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmWTyq4ACgkQEg2wmwP4 2IY/iRAAgRgMdp3gPHwUrHvaoaeXJfHokjhaFMmlcZi0QlyDo74PfikLWLIbIcE3 XXdHFb3UoiM29zPHT/PRf+EMUmZUiVl10FOhgAMLrJ4vhWvCTBMXDXyGuSNeWl5J mk40ELjL2CnE7vPvJ9e/8cwh8PVYm0hhmQ83OS9OfoI34Dm0hhsHZxHu4Yv2uJdP ojTypAKREhElW8qe04DQX8qDLOcyJFZvhqwUKqqS9laSQSWLL6SSjUw7Ap/4AUle AzX7jJFJcXZeTIPnkfR1XVvwZSrmCYGBfm2/HYSR0K4gbi0NdXB3KrF3qlkOoLFo 3VHqTaHGUGuCNvwtkKk07rhtM1pXFgDdIXGPUpekMKUMdKU5sbTNg/sYkrU/7ZYt lRyI7jgayDocigQ7x7ifjlpibXxML3Np8rEkYuWZ6SRY5iQU9IHddppUHiM8+4ZK 9wLheJQzb3rlWOrP1yytrkhMHiDd76OtEj2ykQE/LAmoMt7H6RnRdOE2mviVIvWY 2MmubYbKxP7/3iOtqu8eZY2xfWZoTw3Br73filgqLR55bH1pi6RVcAmir2ntW1pP p0TL5i8hr3xEEDqELsu2KlPenfiPeixuCTFrGK9klV9vdqPGlsVsB2fd8/iRxxng jEt6mzvmIZH6MdLndJxEJEAXFViYIhktVkaYeEBxLPKO0ltuDz8= =OHJH -----END PGP SIGNATURE----- --=_2cd57a592242f8fd641657a1aa46689f--