openzfs / zfs

OpenZFS on Linux and FreeBSD
https://openzfs.github.io/openzfs-docs
Other
10.44k stars 1.73k forks source link

zpool iostat ZIL values #12330

Closed zheliazkov closed 3 years ago

zheliazkov commented 3 years ago

Discussed in https://github.com/openzfs/zfs/discussions/12316

Originally posted by **zheliazkov** July 2, 2021 Hello, I'm looking at the `zpool iostat -v` and I'm seeing that my log device doesn't get writes and reads and it is empty. Do somebody know what can be the reason? Thanks in advance. BR, Plamen
zheliazkov commented 3 years ago

It's due to async mode of the zfs. It should be sync to use the write cache.