[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xen vbd: better.




On Fri, 22 Oct 2004, Keir Fraser wrote:

> > translated, it is 0x6e4f02 of capacity, 0x301 device (hda1! yay!), flags 
> > e0 (DISK, VIRTUAL, READONLY) (all of which I understand save VIRTUAL -- I 
> > guess that means a partition, not the whole disk).
> > 
> > 0x6e4f02 is in decimal 7229186. That number makes no sense. It's not the 
> > number of blocks, or the number of bytes per unit, or ... 
> > 
> > Can somebody clear me up on this simple algebra problem?
> 
> It is the capacity in 512-byte sectors.

yes, but it's wrong, which is where I'm stuck. 
7229186 512 * p
3701343232

it's a 10G partition, not an 3.7G partition. Any other ideas as to what 
could be happening here. 

ron


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.