[OmniOS-discuss] arcstat ZFS question

Dan McDonald danmcd at omniti.com
Fri Mar 17 12:41:14 UTC 2017


> On Mar 17, 2017, at 4:12 AM, Richard Skelton <skeltonr at btconnect.com> wrote:
> 
> Why does du generate writes?
> Is this normal?

If you've L2ARC, it'd make sense that du (a program that traverses tons of directories if not more to find out how many blocks and/or bytes each file holds) would change the usage patterns AND that it would get cached in your L2ARC device.  Caches are written when usage patterns change.

So yes, it's expected behavior:  caches change based on usage patterns, and "du -sh *" changes your usage to "read every directory".

Hope this helps,
Dan



More information about the OmniOS-discuss mailing list