From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Haxby Subject: Re: why sector number not match block number? Date: Tue, 09 Jun 2009 09:49:23 +0100 Message-ID: <4A2E2213.7000104@oracle.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Sucan Zhang Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Sucan Zhang wrote: > and then to show sector number i had written, i expect to see 78B51 or > 78B52 sector number. but none of then display, can you tell me why? I believe you need to add the offset of the partition in which the file is located. If you're using LVM then you'll also need to go through the physical extent mapping shown by lvdisplay -m. jch