Date: Fri, 15 Jul 2022 06:59:06 -0600 From: Alan Somers <asomers@freebsd.org> To: "Zane C. B-H" <v.velox@vvelox.net> Cc: freebsd-fs <fs@freebsd.org> Subject: Re: ZFS dataset stats Message-ID: <CAOtMX2gT041Wp9Vm_Mm=KTEAn=RFta5vpDPpFEUTYNaRXpdu3w@mail.gmail.com> In-Reply-To: <42b403fd492b631ad14e97b7e8a9778f@vvelox.net> References: <42b403fd492b631ad14e97b7e8a9778f@vvelox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
You didn't say how you were accessing that dataset, or what FreeBSD version you're using. The dataset stats to update as expected in response to normal user I/O, but not zfs send/recv. Maybe there is another path that bypasses them too. How are you accessing them? BTW, sysutils/ztop from ports displays real-time measurements based on these stats. -Alan On Thu, Jul 14, 2022 at 11:05 PM Zane C. B-H <v.velox@vvelox.net> wrote: > > So was just looking and for some reason nread etc for the ZFS storage > stats. > > Below is a example of a ZFS dataset being used by CBSD to store a raw > disk image, > one that is running currently, but for some reasonn the R/W stats don't > seem actually update. > > kstat.zfs.storage.dataset.objset-0x1d41.nread: 0 > kstat.zfs.storage.dataset.objset-0x1d41.reads: 0 > kstat.zfs.storage.dataset.objset-0x1d41.nwritten: 0 > kstat.zfs.storage.dataset.objset-0x1d41.writes: 0 > kstat.zfs.storage.dataset.objset-0x1d41.dataset_name: > storage/debian10_test/dsk1.vhd > > Is there any way to get ZFS to actually keep these up to date for use > cases > like this? >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2gT041Wp9Vm_Mm=KTEAn=RFta5vpDPpFEUTYNaRXpdu3w>