Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2025 01:14:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        sysinstall@FreeBSD.org
Subject:   [Bug 249115] The zfs command in the installer fails to log a set command
Message-ID:  <bug-249115-8135-8wVHPH7Lzo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249115-8135@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249115-8135@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249115

--- Comment #8 from Dennis Clarke <dclarke@blastwave.org> ---

Due to the new and improved 15.0-CURRENT installer script we can
close as "no longer a problem". However I am not sure yet. The
new installer provides options for the ZPool creation stage wherein
a user may set "checksum=sha512" as well as other properties. 

If one uses a serial based install option ( that would be nice on
the menu ya know? ) then we eventually see :


 FreeBSD Installer
──────────────────────────────────────────────────────────────────────
           ┌──────────────────┤ZFS Configuration├──────────────────┐
           │ Configure Options:                                    │  
           │ ┌───────────────────────────────────────────────────┐ │  
           │ │ >>> Install         Proceed with Installation     │ │  
           │ │ T Pool Type/Disks:  stripe: 0 disks               │ │  
           │ │ - Rescan Devices    *                             │ │  
           │ │ - Disk Info         *                             │ │  
           │ │ N Pool Name         zroot                         │ │  
           │ │ 4 Force 4K Sectors? YES                           │ │  
           │ │ E Encrypt Disks?    NO                            │ │  
           │ │ P Partition Scheme  GPT (BIOS+UEFI)               │ │  
           │ │ S Swap Size         2g                            │ │  
           │ │ M Mirror Swap?      NO                            │ │  
           │ │ W Encrypt Swap?     NO                            │ │  
           │ │ O ZFS Pool Options  -O compress=lz4 -O atime=off  │ │  
           │ └───────────────────────────────────────────────────┘ │  
           ├───────────────────────────────────────────────────────┤  
           │                 [Select]     [Cancel]                 │  
           └──── Use alnum, arrows, punctuation, TAB or ENTER ─────┘  


However, now that I think about it, this is the ZPool creation stage and
not a property setting on a ZFS dataset after the fact. Therefore we need
to test and verify once again here in 2025.

I will change the ZPool options : 


 FreeBSD Installer
 ──────────────────────────────────────────────────────────────────────────────
 ┌────────────────────────────┤ZFS Configuration├───────────────────────────┐
 │ Configure Options:                                                       │  
 │ ┌──────────────────────────────────────────────────────────────────────┐ │  
 │ │  >>> Install         Proceed with Installation                       │ │  
 │ │  T Pool Type/Disks:  mirror: 2 disks                                 │ │  
 │ │  - Rescan Devices    *                                               │ │  
 │ │  - Disk Info         *                                               │ │  
 │ │  N Pool Name         zroot                                           │ │  
 │ │  4 Force 4K Sectors? YES                                             │ │  
 │ │  E Encrypt Disks?    NO                                              │ │  
 │ │  P Partition Scheme  GPT (BIOS+UEFI)                                 │ │  
 │ │  S Swap Size         2g                                              │ │  
 │ │  M Mirror Swap?      YES                                             │ │  
 │ │  W Encrypt Swap?     NO                                              │ │  
 │ │  O ZFS Pool Options  -O compress=zstd -O atime=on -O checksum=sha512 │ │  
 │ └──────────────────────────────────────────────────────────────────────┘ │  
 ├──────────────────────────────────────────────────────────────────────────┤  
 │                           [Select]     [Cancel]                          │  
 └────────────── Use alnum, arrows, punctuation, TAB or ENTER ──────────────┘  


So then I shall let that go forth with the install and then at the last moment
drop into a shell and we see : 


 FreeBSD Installer
 ──────────────────────────────────────────────────────────────────────────────
      ┌──────────────────────┤Final Configuration├──────────────────────┐
      │ Setup of your FreeBSD system is nearly complete. You can now    │  
      │ modify your configuration choices. After this screen, you will  │  
      │ have an opportunity to make more complex changes using a shell. │  
      │ ┌─────────────────────────────────────────────────────────────┐ │  
      │ │Finish           Apply configuration and exit installer      │ │  
      │ │Add User         Add a user to the system                    │ │  
      │ │Root Password    Change root password                        │ │  
      │ │Hostname         Set system hostname                         │ │  
      │ │Network          Networking configuration                    │ │  
      │ │Services         Set daemons to run on startup               │ │  
      │ │System Hardening Set security options                        │ │  
      │ │Time Zone        Set system timezone                         │ │  
      │ │Firmware         Install Firmware (requires network)         │ │  
      │ │Handbook         Install FreeBSD Handbook (requires network) │ │  
      │ └─────────────────────────────────────────────────────────────┘ │  
      ├─────────────────────────────────────────────────────────────────┤  
      │                            [Select]                             │  
      └─────────────────────────────────────────────────────────────────┘  




                 ┌──────────┤Manual Configuration├──────────┐
                 │ The installation is now finished. Before │  
                 │ exiting the installer, would you like to │  
                 │ open a shell in the new system to make   │  
                 │ any final manual modifications?          │  
                 ├──────────────────────────────────────────┤  
                 │           [ Yes  ]     [  No  ]          │  
                 └──────────────────────────────────────────┘  

This shell is operating in a chroot in the new system. When finished making
configuration changes, type "exit".
root@foo:/ # ed /boot/loader.conf
149
1i
comconsole_speed="9600"
console="comconsole"
.
,n
1       comconsole_speed="9600"
2       console="comconsole"
3       geom_mirror_load="YES"
4       security.bsd.allow_destructive_dtrace=0
5       kern.geom.label.disk_ident.enable="0"
6       kern.geom.label.gptid.enable="0"
7       zfs_load="YES"
w
194
q
root@foo:/ # zfs set checksum=sha256 zroot
root@foo:/ # zfs set atime=off zroot
cannot mount 'zroot': Invalid argument
property may be set but unable to remount filesystem
root@foo:/ # 

Looks like still a bug here in 2025. Even more strange is that this is
tied to the "atime" property. At the very least. I don't know if this
happens for other properties and here is a verbose demonstration : 

root@foo:/ # 
root@foo:/ # uname -apKU
FreeBSD foo 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n277883-e6928c33f60c: Thu
Jun 12 16:43:12 UTC 2025    
root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
amd64 1500046 1500046
root@foo:/ # 
root@foo:/ # zpool history 
History for 'zroot':
2025-06-18.00:42:08 zpool create -o altroot=/mnt -O compress=zstd -O atime=on
-O checksum=sha512 -m none -f zroot mirror da0p4 da1p4
2025-06-18.00:42:08 zfs create -o mountpoint=none zroot/ROOT
2025-06-18.00:42:08 zfs create -o mountpoint=/ zroot/ROOT/default
2025-06-18.00:42:08 zfs create -o mountpoint=/home zroot/home
2025-06-18.00:42:08 zfs create -o mountpoint=/tmp -o exec=on -o setuid=off
zroot/tmp
2025-06-18.00:42:08 zfs create -o mountpoint=/usr -o canmount=off zroot/usr
2025-06-18.00:42:08 zfs create -o setuid=off zroot/usr/ports
2025-06-18.00:42:09 zfs create zroot/usr/src
2025-06-18.00:42:09 zfs create -o mountpoint=/var -o canmount=off zroot/var
2025-06-18.00:42:09 zfs create -o exec=off -o setuid=off zroot/var/audit
2025-06-18.00:42:09 zfs create -o exec=off -o setuid=off zroot/var/crash
2025-06-18.00:42:09 zfs create -o exec=off -o setuid=off zroot/var/log
2025-06-18.00:42:09 zfs create -o atime=on zroot/var/mail
2025-06-18.00:42:09 zfs create -o setuid=off zroot/var/tmp
2025-06-18.00:42:09 zfs set mountpoint=/zroot zroot
2025-06-18.00:42:09 zpool set bootfs=zroot/ROOT/default zroot
2025-06-18.00:42:09 zpool set cachefile=/mnt/boot/zfs/zpool.cache zroot
2025-06-18.00:42:09 zfs set canmount=noauto zroot/ROOT/default
2025-06-18.00:51:52 zfs create -u zroot/home/admsys
2025-06-18.00:51:52 zfs set mountpoint=legacy zroot/home/admsys
2025-06-18.00:51:52 zfs allow admsys create,destroy,mount,snapshot
zroot/home/admsys
2025-06-18.00:51:52 zfs inherit mountpoint zroot/home/admsys
2025-06-18.00:54:13 zfs set checksum=sha256 zroot

root@foo:/ # zfs set checksum=sha512 zroot
root@foo:/ # zfs set atime=on zroot
cannot mount 'zroot': Invalid argument
property may be set but unable to remount filesystem
root@foo:/ # 
root@foo:/ # zpool history 
History for 'zroot':
2025-06-18.00:42:08 zpool create -o altroot=/mnt -O compress=zstd -O atime=on
-O checksum=sha512 -m none -f zroot mirror da0p4 da1p4
2025-06-18.00:42:08 zfs create -o mountpoint=none zroot/ROOT
2025-06-18.00:42:08 zfs create -o mountpoint=/ zroot/ROOT/default
2025-06-18.00:42:08 zfs create -o mountpoint=/home zroot/home
2025-06-18.00:42:08 zfs create -o mountpoint=/tmp -o exec=on -o setuid=off
zroot/tmp
2025-06-18.00:42:08 zfs create -o mountpoint=/usr -o canmount=off zroot/usr
2025-06-18.00:42:08 zfs create -o setuid=off zroot/usr/ports
2025-06-18.00:42:09 zfs create zroot/usr/src
2025-06-18.00:42:09 zfs create -o mountpoint=/var -o canmount=off zroot/var
2025-06-18.00:42:09 zfs create -o exec=off -o setuid=off zroot/var/audit
2025-06-18.00:42:09 zfs create -o exec=off -o setuid=off zroot/var/crash
2025-06-18.00:42:09 zfs create -o exec=off -o setuid=off zroot/var/log
2025-06-18.00:42:09 zfs create -o atime=on zroot/var/mail
2025-06-18.00:42:09 zfs create -o setuid=off zroot/var/tmp
2025-06-18.00:42:09 zfs set mountpoint=/zroot zroot
2025-06-18.00:42:09 zpool set bootfs=zroot/ROOT/default zroot
2025-06-18.00:42:09 zpool set cachefile=/mnt/boot/zfs/zpool.cache zroot
2025-06-18.00:42:09 zfs set canmount=noauto zroot/ROOT/default
2025-06-18.00:51:52 zfs create -u zroot/home/admsys
2025-06-18.00:51:52 zfs set mountpoint=legacy zroot/home/admsys
2025-06-18.00:51:52 zfs allow admsys create,destroy,mount,snapshot
zroot/home/admsys
2025-06-18.00:51:52 zfs inherit mountpoint zroot/home/admsys
2025-06-18.00:54:13 zfs set checksum=sha256 zroot
2025-06-18.00:55:57 zfs set checksum=sha512 zroot

root@foo:/ # 

Looks like the atime property never happened. Certainly was never logged into
the ZPool history.

I shall once again toggle the checksum and the atime property and see what
actually happens.  Here is the starting condition after the tests above :

root@foo:/ # zfs list -o name,atime,setuid,exec,checksum,mountpoint
NAME                ATIME  SETUID  EXEC  CHECKSUM   MOUNTPOINT
zroot               on     on      on    sha512     /mnt/zroot
zroot/ROOT          on     on      on    sha512     none
zroot/ROOT/default  on     on      on    sha512     /mnt
zroot/home          on     on      on    sha512     /mnt/home
zroot/home/admsys   on     on      on    sha512     /mnt/home/admsys
zroot/tmp           on     off     on    sha512     /mnt/tmp
zroot/usr           on     on      on    sha512     /mnt/usr
zroot/usr/ports     on     off     on    sha512     /mnt/usr/ports
zroot/usr/src       on     on      on    sha512     /mnt/usr/src
zroot/var           on     on      on    sha512     /mnt/var
zroot/var/audit     on     off     off   sha512     /mnt/var/audit
zroot/var/crash     on     off     off   sha512     /mnt/var/crash
zroot/var/log       on     off     off   sha512     /mnt/var/log
zroot/var/mail      on     on      on    sha512     /mnt/var/mail
zroot/var/tmp       on     off     on    sha512     /mnt/var/tmp
root@foo:/ # 
root@foo:/ # 

     * * *  toggle the checksum to SHA256 * * *

root@foo:/ # zfs set checksum=sha256 zroot
root@foo:/ # zpool history | tail -4
2025-06-18.00:54:13 zfs set checksum=sha256 zroot
2025-06-18.00:55:57 zfs set checksum=sha512 zroot
2025-06-18.01:00:02 zfs set checksum=sha256 zroot

root@foo:/ # zfs list -o name,atime,setuid,exec,checksum,mountpoint
NAME                ATIME  SETUID  EXEC  CHECKSUM   MOUNTPOINT
zroot               on     on      on    sha256     /mnt/zroot
zroot/ROOT          on     on      on    sha256     none
zroot/ROOT/default  on     on      on    sha256     /mnt
zroot/home          on     on      on    sha256     /mnt/home
zroot/home/admsys   on     on      on    sha256     /mnt/home/admsys
zroot/tmp           on     off     on    sha256     /mnt/tmp
zroot/usr           on     on      on    sha256     /mnt/usr
zroot/usr/ports     on     off     on    sha256     /mnt/usr/ports
zroot/usr/src       on     on      on    sha256     /mnt/usr/src
zroot/var           on     on      on    sha256     /mnt/var
zroot/var/audit     on     off     off   sha256     /mnt/var/audit
zroot/var/crash     on     off     off   sha256     /mnt/var/crash
zroot/var/log       on     off     off   sha256     /mnt/var/log
zroot/var/mail      on     on      on    sha256     /mnt/var/mail
zroot/var/tmp       on     off     on    sha256     /mnt/var/tmp
root@foo:/ # 


Works as expected and logged correctly.

    * * * Now toggle the atime property off * * *

root@foo:/ # 
root@foo:/ # zfs set atime=off zroot
cannot mount 'zroot': Invalid argument
property may be set but unable to remount filesystem
root@foo:/ # zpool history | tail -4
2025-06-18.00:54:13 zfs set checksum=sha256 zroot
2025-06-18.00:55:57 zfs set checksum=sha512 zroot
2025-06-18.01:00:02 zfs set checksum=sha256 zroot

root@foo:/ # zfs list -o name,atime,setuid,exec,checksum,mountpoint
NAME                ATIME  SETUID  EXEC  CHECKSUM   MOUNTPOINT
zroot               off    on      on    sha256     /mnt/zroot
zroot/ROOT          off    on      on    sha256     none
zroot/ROOT/default  on     on      on    sha256     /mnt
zroot/home          on     on      on    sha256     /mnt/home
zroot/home/admsys   on     on      on    sha256     /mnt/home/admsys
zroot/tmp           on     off     on    sha256     /mnt/tmp
zroot/usr           off    on      on    sha256     /mnt/usr
zroot/usr/ports     on     off     on    sha256     /mnt/usr/ports
zroot/usr/src       on     on      on    sha256     /mnt/usr/src
zroot/var           off    on      on    sha256     /mnt/var
zroot/var/audit     on     off     off   sha256     /mnt/var/audit
zroot/var/crash     on     off     off   sha256     /mnt/var/crash
zroot/var/log       on     off     off   sha256     /mnt/var/log
zroot/var/mail      on     on      on    sha256     /mnt/var/mail
zroot/var/tmp       on     off     on    sha256     /mnt/var/tmp
root@foo:/ # 

Seems to be a hit and miss type situation. Certainly nothing in the
ZPool history log.

This is only seen with the installer. 

We can toggle the atime on and off and on and off and in every case there
is nothing in the ZPool history regardless of the fact that ZFS datasets
are affected.

Once more with feeling : 

root@foo:/ # zfs set atime=on zroot
cannot mount 'zroot': Invalid argument
property may be set but unable to remount filesystem
root@foo:/ # zpool history | tail -4
2025-06-18.00:54:13 zfs set checksum=sha256 zroot
2025-06-18.00:55:57 zfs set checksum=sha512 zroot
2025-06-18.01:00:02 zfs set checksum=sha256 zroot

root@foo:/ # zfs list -o name,atime,setuid,exec,checksum,mountpoint
NAME                ATIME  SETUID  EXEC  CHECKSUM   MOUNTPOINT
zroot               on     on      on    sha256     /mnt/zroot
zroot/ROOT          on     on      on    sha256     none
zroot/ROOT/default  on     on      on    sha256     /mnt
zroot/home          on     on      on    sha256     /mnt/home
zroot/home/admsys   on     on      on    sha256     /mnt/home/admsys
zroot/tmp           on     off     on    sha256     /mnt/tmp
zroot/usr           on     on      on    sha256     /mnt/usr
zroot/usr/ports     on     off     on    sha256     /mnt/usr/ports
zroot/usr/src       on     on      on    sha256     /mnt/usr/src
zroot/var           on     on      on    sha256     /mnt/var
zroot/var/audit     on     off     off   sha256     /mnt/var/audit
zroot/var/crash     on     off     off   sha256     /mnt/var/crash
zroot/var/log       on     off     off   sha256     /mnt/var/log
zroot/var/mail      on     on      on    sha256     /mnt/var/mail
zroot/var/tmp       on     off     on    sha256     /mnt/var/tmp
root@foo:/ #

root@foo:/ # zfs set checksum=sha512 zroot
root@foo:/ # echo $?
0
root@foo:/ # zfs set atime=off zroot
cannot mount 'zroot': Invalid argument
property may be set but unable to remount filesystem
root@foo:/ # echo $?
255
root@foo:/ # zfs set atime=on zroot
cannot mount 'zroot': Invalid argument
property may be set but unable to remount filesystem
root@foo:/ # echo $?
255
root@foo:/ # 

root@foo:/ # which zfs
/sbin/zfs
root@foo:/ # openssl dgst -sha256 -r /sbin/zfs
2a0b154f5bdf682677ebee076a9b2300997b1ed55c2b213bcbe31afb9ec28b70 */sbin/zfs
root@foo:/ # 

I must say this is _still_ a bug in the installer ZFS implementation.


                  ┌───────────────┤Complete├────────────────┐
                  │ Installation of FreeBSD complete! Would │  
                  │ you like to reboot into the installed   │  
                  │ system now?                             │  
                  ├─────────────────────────────────────────┤  
                  │[  Reboot   ] [ Shutdown  ] [Live System]│  
                  └─────────────────────────────────────────┘  


Loading kernel...seconds. [Space] to pause  
/boot/kernel/kernel text=0x18c5b8 text=0xe00ee8 text=0x49c786 data=0x180+0xe80
data=0x1aacb0+0x455350 0x8+0x1a7b10+0x8+0x1d40f3
Loading configured modules...
/boot/entropy size=0x1000
/boot/kernel/zfs.ko size 0x777728 at 0x237d000
/boot/kernel/geom_mirror.ko size 0x22c08 at 0x2af5000
can't find '/etc/hostid'
staging 0xb5a00000 (not copying) tramp 0xb5814000 PT4 0xb580b000
Start @ 0xffffffff8038d000 ...
Loading splash ok
EFI framebuffer information:
addr, size     0xf0000000, 0x300000
dimensions     1024 x 768
stride         1024
masks          0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
---<<BOOT>>---
Copyright (c) 1992-2025 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 15.0-CURRENT #0 main-n277883-e6928c33f60c: Thu Jun 12 16:43:12 UTC 2025
    root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git
llvmorg-19.1.7-0-gcd708029e0b2)
WARNING: WITNESS option enabled, expect reduced performance.
VT(efifb): resolution 1024x768
CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz (2394.45-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x306f2  Family=0x6  Model=0x3f  Stepping=2
 
Features=0xf83fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,SS>
 
Features2=0xfffa3203<SSE3,PCLMULQDQ,SSSE3,FMA,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND,HV>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x21<LAHF,ABM>
  Structured Extended
Features=0x27ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFPUSG>
  Structured Extended
Features3=0xbc000400<MD_CLEAR,IBPB,STIBP,L1DFL,ARCH_CAP,SSBD>
  XSAVE Features=0x1<XSAVEOPT>
  IA32_ARCH_CAPS=0xc<RSBA,SKIP_L1DFL_VME>
  TSC: P-state invariant
.
.
.


Starting sshd.
Starting cron.
Starting background file system checks in 60 seconds.

Wed Jun 18 01:08:59 UTC 2025

FreeBSD/amd64 (foo) (ttyu0)

login: root
Password:
Jun 18 01:09:13 foo login[1536]: ROOT LOGIN (root) ON ttyu0
FreeBSD 15.0-CURRENT (GENERIC) #0 main-n277883-e6928c33f60c: Thu Jun 12
16:43:12 UTC 2025

Welcome to FreeBSD!

Release Notes, Errata: https://www.FreeBSD.org/releases/
Security Advisories:   https://www.FreeBSD.org/security/
FreeBSD Handbook:      https://www.FreeBSD.org/handbook/
FreeBSD FAQ:           https://www.FreeBSD.org/faq/
Questions List:        https://www.FreeBSD.org/lists/questions/
FreeBSD Forums:        https://forums.FreeBSD.org/

Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with:  pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.

Show the version of FreeBSD installed:  freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages:  man man
FreeBSD directory layout:      man hier

To change this login announcement, see motd(5).
root@foo:~ # 
root@foo:~ # openssl dgst -sha256 -r /sbin/zfs
2a0b154f5bdf682677ebee076a9b2300997b1ed55c2b213bcbe31afb9ec28b70 */sbin/zfs
root@foo:~ # zfs list -o name,atime,setuid,exec,checksum,mountpoint
NAME                ATIME  SETUID  EXEC  CHECKSUM   MOUNTPOINT
zroot               on     on      on    sha512     /zroot
zroot/ROOT          on     on      on    sha512     none
zroot/ROOT/default  on     on      on    sha512     /
zroot/home          on     on      on    sha512     /home
zroot/home/admsys   on     on      on    sha512     /home/admsys
zroot/tmp           on     off     on    sha512     /tmp
zroot/usr           on     on      on    sha512     /usr
zroot/usr/ports     on     off     on    sha512     /usr/ports
zroot/usr/src       on     on      on    sha512     /usr/src
zroot/var           on     on      on    sha512     /var
zroot/var/audit     on     off     off   sha512     /var/audit
zroot/var/crash     on     off     off   sha512     /var/crash
zroot/var/log       on     off     off   sha512     /var/log
zroot/var/mail      on     on      on    sha512     /var/mail
zroot/var/tmp       on     off     on    sha512     /var/tmp
root@foo:~ # zfs set atime=off zroot
root@foo:~ # echo $?
0
root@foo:~ # zpool history | tail -4 
2025-06-18.01:00:02 zfs set checksum=sha256 zroot
2025-06-18.01:05:36 zfs set checksum=sha512 zroot
2025-06-18.01:09:54 zfs set atime=off zroot

root@foo:~ # zfs list -o name,atime,setuid,exec,checksum,mountpoint
NAME                ATIME  SETUID  EXEC  CHECKSUM   MOUNTPOINT
zroot               off    on      on    sha512     /zroot
zroot/ROOT          off    on      on    sha512     none
zroot/ROOT/default  on     on      on    sha512     /
zroot/home          on     on      on    sha512     /home
zroot/home/admsys   on     on      on    sha512     /home/admsys
zroot/tmp           on     off     on    sha512     /tmp
zroot/usr           off    on      on    sha512     /usr
zroot/usr/ports     on     off     on    sha512     /usr/ports
zroot/usr/src       on     on      on    sha512     /usr/src
zroot/var           off    on      on    sha512     /var
zroot/var/audit     on     off     off   sha512     /var/audit
zroot/var/crash     on     off     off   sha512     /var/crash
zroot/var/log       on     off     off   sha512     /var/log
zroot/var/mail      on     on      on    sha512     /var/mail
zroot/var/tmp       on     off     on    sha512     /var/tmp
root@foo:~ # 

root@foo:~ # 
root@foo:~ # zfs set atime=on zroot
root@foo:~ # zpool history | tail -4
2025-06-18.01:05:36 zfs set checksum=sha512 zroot
2025-06-18.01:09:54 zfs set atime=off zroot
2025-06-18.01:14:08 zfs set atime=on zroot

root@foo:~ # zfs list -o name,atime,setuid,exec,checksum,mountpoint
NAME                ATIME  SETUID  EXEC  CHECKSUM   MOUNTPOINT
zroot               on     on      on    sha512     /zroot
zroot/ROOT          on     on      on    sha512     none
zroot/ROOT/default  on     on      on    sha512     /
zroot/home          on     on      on    sha512     /home
zroot/home/admsys   on     on      on    sha512     /home/admsys
zroot/tmp           on     off     on    sha512     /tmp
zroot/usr           on     on      on    sha512     /usr
zroot/usr/ports     on     off     on    sha512     /usr/ports
zroot/usr/src       on     on      on    sha512     /usr/src
zroot/var           on     on      on    sha512     /var
zroot/var/audit     on     off     off   sha512     /var/audit
zroot/var/crash     on     off     off   sha512     /var/crash
zroot/var/log       on     off     off   sha512     /var/log
zroot/var/mail      on     on      on    sha512     /var/mail
zroot/var/tmp       on     off     on    sha512     /var/tmp
root@foo:~ # 

Bizarre.


-- 
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249115-8135-8wVHPH7Lzo>