DTrace (or other monitor) access to LBA of a block device

Mateusz Marzantowicz mmarzantowicz at gmail.com
Fri Dec 3 07:00:32 UTC 2010


On Thu, Dec 2, 2010 at 10:33 PM, Thomas Zander <
thomas.e.zander at googlemail.com> wrote:

> Hi,
>
> do we have any way to monitor which LBAs of which block device are
> read/written at a given time?
>
> I stumbled upon this,
> http://southbrain.com/south/2008/02/fun-with-dtrace-and-zfs-mirror.html
>
> which is pretty intriguing. Unfortunately on FreeBSD we do not have
> the DTrace io provider, so his dtrace script would not work.
> Do we have another option to monitor block device access in a similar
> fashion?
>
> Regards,
> Riggs
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>


I'm happy FreeBSD user and not a developer but as far as I know (see:
http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html)
there is no such thing like block device in FreeBSD. It might be possible to
do what you want in other way or with different type of device.

Regards,
Mateusz Marzantowicz


More information about the freebsd-stable mailing list