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

Re: [Xen-devel] lvm

On Jul 14, 2004, at 1:13 PM, Ian Pratt wrote:

disk = [ 'phy:/dev/vg_pool/lv_vm0%d_swap,hda1,w' % (vmid),
          'phy:/dev/vg_pool/lv_vm0%d_root,hda2,w' % (vmid) ]

That's exactly what I'd do, and would expect it to work, though
haven't tested it.

At least I'm not totally off-track...

What do you get if you do 'sfdisk -s /dev/vg_pool/lv_vm01_root' ?

# sfdisk -s /dev/vg_pool/lv_vm01_root

it's a 2G LV.

xend should print out a line something like the following,
providing the debug hasn't been quietened down too much:

blkif_dev_create> 35 2049 w {'device': 774, 'type': 'Disk', 'start_sector': 0L, 'nr_sectors': 37881206L}

Please can you post me this output and I'll take a look. I don't
really want to have to install lvm myself to debug this...

no problem:

blkif_dev_create> 35 769 w {'device': 65024, 'type': 'Disk', 'start_sector': 0L, 'nr_sectors': 204800L} blkif_dev_create> 35 770 w {'device': 65025, 'type': 'Disk', 'start_sector': 0L, 'nr_sectors': 4194304L}

If there's anything else you'd like me to do to test this is fine; this is a purely dev box I can do anything to.

"We all enter this world in the    | Support Electronic Freedom
same way: naked; screaming; soaked |        http://www.eff.org/
in blood. But if you live your     |  http://www.anti-dmca.org/
life right, that kind of thing     |---------------------------
doesn't have to stop there." -- Dana Gould

This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
Xen-devel mailing list



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