From nobody Mon Sep 15 04:55:17 2025 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 4cQCW506Txz683Qr for ; Mon, 15 Sep 2025 04:59:29 +0000 (UTC) (envelope-from yasu@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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cQCW46W6Lz3HCC; Mon, 15 Sep 2025 04:59:28 +0000 (UTC) (envelope-from yasu@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757912368; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0WO5t++68B+OtiHcnR15TxYBnkhbcwgfGxdCvcQ2gEQ=; b=J0KsCny0rRyahhp/UHl9OhSSlTLus9dcBssDoxd2tVNuZx8y91/RQBsPGNh7dVfQwJ0nl5 mniu5uyp+ZaLaYPulR4lsjRYBDeR5Jnm+YdLKNLNNyCYfJfQkUf/GTTwWTEOgoiKvwDcR5 1ZPFlEAt1ICkxz34Zc3k597mnWXgL3tHYzZRrjR9LroZ22YakXiOEx5yPq/x6Xo8VNuTBN VcljkhjCJLkEiDmsAdMUzxk9aGUFm/KeggPsbbjVe1Gu/bsolU/Bh2CC3s54kXVXuYQx3u qy1T8mAJDOAialBI2nAk4swSNJVNyo/EXmZ8oMkyD9JVI7UeDTbKukvb1ckfEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757912368; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0WO5t++68B+OtiHcnR15TxYBnkhbcwgfGxdCvcQ2gEQ=; b=sD0Wd/wZ/fKSfa13hcen9WSUMnAGVegFIRtB5O1yaO1nCC0w/AoS+2RqNRM6VJB3y2HHtu BS47E6H0Q8+CBG3uOiJzfFuN10AiqRT1FuDwJBteF8z4mVcfFjyy569RWairFcHA+unLpW xkAXc0QCKz27Lwt5ASE005NjUa+VNuOnR1yihdS1L70JtqXwZsr0o53noZoITDMpNiMcBR 7FiHeSbguTbsr3EwzB5lZTQqVqWH+LbI1lOUFhRUbOPzREIyEHWUZ4xAsLXVRP3eg2f9AE pzfHTW2Fy3/4WXIHuLo+jv7UJ/JzmtqbtFV+7QND7Mz5TK+3cD1IvOVEcqxMDw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757912368; a=rsa-sha256; cv=none; b=qIs3zRuR4SEI4m7cVaXftmuk6dtS9qCpu3CxmiDJ3EhmWZ86svJt2x5Gy5P7hnhdgn/5Du tbXXxr4fTs6YV+c3trdk/f/VexYgxAM83Q2jF2+lnNBPsuQI6X7TKvgic+arhy3T/4oPN+ c1BbdnOzMZyo6kRoNo9rZb47Tp0bqBtW+Yn7wPEcMPDMO1azdY3bNdC2KRIGj5JYT2mPYY va0SNofs5zHAaetnX15wVwXUiwivyJe9knRbZqLWmDAW3WyfSAYCosuXlWrTxFz75kGDzi YQYC4uqFmMMmxqAqVVS+bLATLOR6hbKKKZlr/4cWK69VpFACmrBH9BvZeMOVXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from localhost (unknown [IPv6:240b:11:220:fe00::174:11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) (Authenticated sender: yasu/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4cQCW41xDpztv5; Mon, 15 Sep 2025 04:59:28 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Date: Mon, 15 Sep 2025 13:55:17 +0900 (JST) Message-Id: <20250915.135517.1454746127766103134.yasu@FreeBSD.org> To: freebsd-current@freebsd.org Subject: Re: sysctl: unknown oid 'vfs.zfs.min_auto_ashift' From: Yasuhiro Kimura In-Reply-To: <20250915.132321.1712366218813599243.yasu@FreeBSD.org> References: <20250915.071815.1993055480348452973.yasu@FreeBSD.org> <20250915.132321.1712366218813599243.yasu@FreeBSD.org> X-Mailer: Mew version 6.10 on Emacs 31.0.50 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 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Yasuhiro Kimura Subject: Re: sysctl: unknown oid 'vfs.zfs.min_auto_ashift' Date: Mon, 15 Sep 2025 13:23:21 +0900 (JST) > I found following commit log. > > commit 70999532eea5 > Merge: 5f9a05e57405 7939bad5e792 > Author: Martin Matuska > AuthorDate: Wed Sep 10 17:28:34 2025 +0200 > Commit: Martin Matuska > CommitDate: Wed Sep 10 17:28:34 2025 +0200 > > zfs: merge openzfs/zfs@7939bad5e > > Notable upstream pull request merges: > #15869 ee7c36264 Add description of default sorting behavior to zfs_list.8 > #17375 ced72fdd6 tunables: remove legacy FreeBSD aliases > #17600 1da2c30be Update pam_zfs_key.c default path for FreeBSD > #17632 b6bd3228b Synchronize the update of feature refcount > #17645 59f8f5dfe zfs_vnops_os.c: Add support for the _PC_CLONE_BLKSIZE name > #17665 0d54ae288 zdb: Fix format strings on 32-bit systems > #17673 976f76534 Update compatibility.d files > #17699 e3c3e86c0 Fix wrong dedup_table_size for legacy dedup > #17704 e29bfa5bd Fix warnings about sha2_is_supported on FreeBSD/i386 > #17706 a2424312c Fix the build on 32-bit FreeBSD with GCC > > Obtained from: OpenZFS > OpenZFS commit: 7939bad5e79225288a2580e8ea217f5c6f616db2 > > And commit ced72fdd6 actually removes vfs.zfs.min_auto_ashift. > > From: Mark Millard > Subject: sysctl: unknown oid 'vfs.zfs.min_auto_ashift' [legacy dropped; only vfs.zfs.vdev.min_auto_ashift now] > Date: Sun, 14 Sep 2025 16:49:16 -0700 > >> # uname -apKU >> FreeBSD 7950X3D-ZFS 16.0-CURRENT FreeBSD 16.0-CURRENT main-n280292-3c60ea77649d GENERIC-NODEBUG amd64 amd64 1600000 1600000 >> >> It is a boot-from-ZFS-based-root context as well. >> >> # sysctl -a | grep _ashift >> vfs.zfs.vdev.max_auto_ashift: 14 >> vfs.zfs.vdev.min_auto_ashift: 12 >> vfs.zfs.vdev.file.physical_ashift: 9 >> vfs.zfs.vdev.file.logical_ashift: 9 >> >> >> So now there is just: vfs.zfs.vdev.min_auto_ashift > > Thanks. I changed original line to 'vfs.zfs.vdev.min_auto_ashift=12', > rebooted system and now error message isn't displayed. I created patch to change bsdinstall so it uses vfs.zfs.vdev.min_auto_ashift instead of vfs.zfs.min_auto_ashift, and submitted as following bug report. Bug 289615 bsdinstall/scripts/zfsboot: Use vfs.zfs.vdev.min_auto_ashift to force 4K sectors https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289615 So would someone please handle it? Best Regards, --- Yasuhiro Kimura