ZFS on root with atime=off

Jeremy Chadwick koitsu at FreeBSD.org
Fri Oct 3 08:39:11 UTC 2008


On Fri, Oct 03, 2008 at 11:26:52AM +0300, Artis Caune wrote:
> Hi everyone,
> 
> I install ZFS on root just like in Andrew ZFSOnRoot wiki page.
> I don't use legacy mount points.
> 
> I also set "atime=off" on tank and all partitions inherit it from tank.
> When I reboot after install, root file system is mounted with atime option:
> # zfs get atime tank
> NAME  PROPERTY  VALUE  SOURCE
> tank  atime     on     temporary
> 
> I can fix this with creating entry in fstab for root fs with noatime,
> but maybe there is some way how to pass options to vfs.root.mountfrom?

This question should be going to freebsd-fs, not freebsd-questions.
Please re-post it there, and CC pjd at freebsd.org (ZFS maintainer).

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-questions mailing list