WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] why sector number not match block number?

To: Sucan Zhang <bitzsk@xxxxxxxxx>
Subject: Re: [Xen-devel] why sector number not match block number?
From: John Haxby <john.haxby@xxxxxxxxxx>
Date: Tue, 09 Jun 2009 09:49:23 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 09 Jun 2009 01:49:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <a160a7d60906090137s606f51e4vfeb0474f9d1b1229@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <a160a7d60906090137s606f51e4vfeb0474f9d1b1229@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>