From nobody Mon Sep 15 04:23:21 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 4cQBjw1vFjz681qk for ; Mon, 15 Sep 2025 04:23:48 +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 4cQBjw0nszz49jy; Mon, 15 Sep 2025 04:23:48 +0000 (UTC) (envelope-from yasu@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757910228; 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=MqreLfrwRRFRhbbJVZkoM49kbhSPhKguRl8tCBczX4o=; b=UL57lbcuSJut8m89MaVy3bPt6NxdICAII8XKE0D9TqehHvN0MbvL8Zpr6J57kuM4MJDTRx FBUbytYcy8TkOHaP4Y+/0trj/N6897UwcA+7QR5PK04R9MTP/37wqtyAQtuuPcmyib3Ocl PowYmfCedpJ5Ln5188aL6x18tXMZcJWX99IvS2++31c4c1ZbMM6bNhB5aTj7+tSK2OwACy z8ybbE1Xa8NQ+DB9k6TlloVv1IuXAs0e3cBqtsJuUgkZY8f9FstWw7c60YfzEeH98ZZ4yC x3af+a+OqsXUk9itRPFvVQka0X5MsfZ+JDfCUMD6Ewmm/+BkmUGUrWGE+Xinyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757910228; 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=MqreLfrwRRFRhbbJVZkoM49kbhSPhKguRl8tCBczX4o=; b=rguxYP9mYPcdmnTJd0Vp2RrOiFH9dZ5FFFif26beAN44QLtAOUJV85ZGtbnzeQdgu5s3In zHyLLT9+IIzrvEUmffRQCm/zmzy+V76gt+47wCrkasTGDWczfnEt5OY1sQtcPolU4YsZow oYL9TOhMjO5caKSNcenPV4xlITpguwWGyobEDQP3mBlzY9AS0iyOUoDNswde7AQ0TEn9ae kln4MEsoDcWjU+nMZfWUvdu8P8k9uwSKXwM+5yWH8Xchnb4SKwwWjqf04jHjV7dUj6uyaA oUnXlv8kdJWNXIQ0qxOMYXFb6EGFMgneA2w3mIJincmpqeGaMvbnGrA4WXxWPw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757910228; a=rsa-sha256; cv=none; b=UkCXErnJvgm4s/lNbM6yXUpUY/3LoPsQwbuc+rI3ZMAuas6GUvZ452c8eOkdej4viGqFwQ BHFfRabyjPECenEY/Jvhig/jkg1oal2jeWKtNbmF0GJtV4+rOd7skmCCDjcCs9OE3fwJ3q +WzZ3HXXTrF2k7QIrDNdCCDIaub0GWgBBVokqGM/36FbX6lgILksPDIvXHFvl1hvmSTf6+ VCtLu4tkoCx2gZqIXydYAGtM1U5HnW8Adg1Fb81Xney3HwdId+GURifV4Cfe9fzc+XgcO6 EdUF96R67o3CMQ4CY46SGPtl3q+TWMohBmRELSf4jsZEBhffSLmhEXoYswwWlQ== 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) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: yasu/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4cQBjv3YTWzvBv; Mon, 15 Sep 2025 04:23:47 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Date: Mon, 15 Sep 2025 13:23:21 +0900 (JST) Message-Id: <20250915.132321.1712366218813599243.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.071815.1993055480348452973.yasu@FreeBSD.org> References: <20250915.071815.1993055480348452973.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: sysctl: unknown oid 'vfs.zfs.min_auto_ashift' Date: Mon, 15 Sep 2025 07:18:15 +0900 (JST) > 16.0-CURRENT main-n280279-b0e7b55a0e90 amd64. > > There is following line in /etc/sysctl.conf (IIUC bsdinstall adds it > at install time if system is zfs-root). > > vfs.zfs.min_auto_ashift=12 > > Today I noticed following error message is displayed when system is > booted. > > sysctl: unknown oid 'vfs.zfs.min_auto_ashift' at line 9 > > And I get same error if I execute `sysctl vfs.zfs.min_auto_ashift` > from command line. > > Does this mean vfs.zfs.min_auto_ashift is removed? 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. --- Yasuhiro Kimura