Ran with a single XFS-encrypted cache disk for a while, then moved to a 3-disk BTRFS-encrypted cache pool.
Since that change, I've noticed a constant write IO on the cache disks of about 2-3MB/s (per the Main page). IOStat on the unraid host confirms the IO is happening. No other tool can give me any idea on what is doing the writing (eg: iotop points at shfs).
I have 3 VMs with disks on the cache pool (that were there prior to the change). Monitoring on the VMs, iostat says there is maybe 10kB/s average write IO on each. I NFS-mount in a bunch of stuff, but monitoring nfsiostat tells me that there's not much going on there, and mostly read traffic.
Since Btrfs is copy-on-write, I checked, and made sure that the VM disks, libvirt, docker, and other random-write stuff is COW-disabled (chattr +C, and verify with lsattr).
With no IO coming from SMB clients, an only minor IO coming from VMs and NFS mounts, and COW disabled... how can I tell where all the extra IO is coming from? (I can account for, say, 100kB/s, but I'm seeing 3MB/s (1.5MB/s when you account for btrfs writing redundant blocks).