[Bug 231129] The ZFS installer sets atime=off by default
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 4 03:26:15 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231129
Allan Jude <allanjude at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |allanjude at FreeBSD.org
--- Comment #1 from Allan Jude <allanjude at FreeBSD.org> ---
There is infact a good reason to disable atime. ZFS is a CoW (Copy-on-Write)
filesystem, so when the atime property is set to on, all snapshots will grow as
the atime attribute of each object is modified. This causes what are supposed
to be zero-cost snapshots to resume space, and causes read-only workloads to
generate amplification as additional metadata must be read for it to be updated
to be written out with a modified atime and the checksum of the entire tree of
blocks to be updated.
The 'zfs auto' part of the installer sets atime on ZFS to disabled on purpose,
for all datasets other than /var/mail.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-standards
mailing list