Re: [Xen-API] look into VHD VDI from Control Domain in XCP 1.6

2013-01-09 Thread Alexandre Kouznetsov
Hello. El 08/01/13 12:40, Joseph Hom escribió: Sorry I mistyped the path. The device path listed in the vbd is what you should be using kpartx on e.g. kpartx -av /dev/sm/backend/55ea20d2-8611-1121-9e9e-c26b35ac1852/5e2c31a5-1d1b-4abe-9892-1fa3bc47b532 This will expose the partitions which y

Re: [Xen-API] look into VHD VDI from Control Domain in XCP 1.6

2013-01-08 Thread Joseph Hom
Message- From: George Shuklin [mailto:george.shuk...@gmail.com] Sent: Tuesday, January 08, 2013 12:35 PM To: Joseph Hom Cc: xen-api@lists.xen.org Subject: Re: [Xen-API] look into VHD VDI from Control Domain in XCP 1.6 Yep, but what the uuid is that '55ea...'? I xee it nowhere in relat

Re: [Xen-API] look into VHD VDI from Control Domain in XCP 1.6

2013-01-08 Thread George Shuklin
: [Xen-API] look into VHD VDI from Control Domain in XCP 1.6 Ok, here important stuff. When VBD is plugged to dom0, it plugging not as 'normal' device (with udev attention), but as device in /dev/sm/backend. Here sample log (change uuids on you taste): xe vbd-create vm-uuid=53c

Re: [Xen-API] look into VHD VDI from Control Domain in XCP 1.6

2013-01-08 Thread Joseph Hom
] look into VHD VDI from Control Domain in XCP 1.6 Ok, here important stuff. When VBD is plugged to dom0, it plugging not as 'normal' device (with udev attention), but as device in /dev/sm/backend. Here sample log (change uuids on you taste): xe vbd-create vm-uuid=53c3d878-b60b-48ec-aaac-73

Re: [Xen-API] look into VHD VDI from Control Domain in XCP 1.6

2013-01-08 Thread George Shuklin
Ok, here important stuff. When VBD is plugged to dom0, it plugging not as 'normal' device (with udev attention), but as device in /dev/sm/backend. Here sample log (change uuids on you taste): xe vbd-create vm-uuid=53c3d878-b60b-48ec-aaac-73f7adf9ab3d vdi-uuid=5e2c31a5-1d1b-4abe-9892-1fa3bc47b5

Re: [Xen-API] look into VHD VDI from Control Domain in XCP 1.6

2013-01-04 Thread Alexandre Kouznetsov
Hello. El 04/01/13 23:14, George Shuklin escribió: Use xe vbd-create between vdi and dom0 (which is normal VM mostly), and xe vbd-plug. Yes, that's what I have done following the example from Citrix forum. In case of a normal DomU: I create VBD linking the VM with VDI, I issue vbd-plug, the bl

Re: [Xen-API] look into VHD VDI from Control Domain in XCP 1.6

2013-01-04 Thread George Shuklin
You doing it wrong. Use xe vbd-create between vdi and dom0 (which is normal VM mostly), and xe vbd-plug. You can see some sample usage in 'xe-edit-bootloader' command (somewhere in /opt/xensource/) 05.01.2013 04:57, Alexandre Kouznetsov пишет: Hello. I'm trying to mount VM's disk within C

[Xen-API] look into VHD VDI from Control Domain in XCP 1.6

2013-01-04 Thread Alexandre Kouznetsov
Hello. I'm trying to mount VM's disk within Control Domain, as part of my pre-production tests. My XCP 1.6 installation uses a LVM based local storage after a default install. The VM's disks are in VHD format. In my previous Xen experience, with "raw" volumes as virtual hard disks, I have su