From owner-freebsd-stable@FreeBSD.ORG Fri Dec 3 07:00:32 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69CDB1065675 for ; Fri, 3 Dec 2010 07:00:32 +0000 (UTC) (envelope-from mmarzantowicz@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id EEC5A8FC13 for ; Fri, 3 Dec 2010 07:00:31 +0000 (UTC) Received: by wyf19 with SMTP id 19so9093720wyf.13 for ; Thu, 02 Dec 2010 23:00:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=85QozpULv+TLarUDBJsILg/JvzuJFr1zYLaC083IwaU=; b=YgmQgBsGzW79eB5gQZGoFbr4ZdavfEnKhXLsCsqJY5KFuyjwgWXXhgCVQLGdU5QsN1 LhwbVSFhwaWIrXpFdUtBS+WjMaeMbEtkNe8j0Kfj01FjqVRf53xcheR59iPyD6tNpL95 H9io/FrqdCu5wJg6EcsdkTrAKnRN6UIlJxk1o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Pkcc7PHUg4Kfyrt0jBGCKprfSvwB8cjVj8frJnFSxrFQimgFuhlOLciPYr22cCcp76 h4zj+ffdg9P5HKroNtTzdbQOCmsZWPel+taOjA62w0NYdUm3mCbdjAte17c4hB+DkSBt OD6K3P+KblDhokP1wTK9/w5FrAE7PKBTa58Yc= MIME-Version: 1.0 Received: by 10.227.154.143 with SMTP id o15mr1395560wbw.8.1291357784437; Thu, 02 Dec 2010 22:29:44 -0800 (PST) Received: by 10.227.62.205 with HTTP; Thu, 2 Dec 2010 22:29:44 -0800 (PST) In-Reply-To: References: Date: Fri, 3 Dec 2010 07:29:44 +0100 Message-ID: From: Mateusz Marzantowicz To: freebsd-stable Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: DTrace (or other monitor) access to LBA of a block device X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2010 07:00:32 -0000 On Thu, Dec 2, 2010 at 10:33 PM, Thomas Zander < thomas.e.zander@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@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