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

Re: [Xen-users] xl cfg disk option for lvm and cdrom

Thanks for the help, guys. For the record my disk config worked as:
  disk = [ 'phy:/dev/guestsVG/xpVol,hda,w','phy:/dev/sr0,xvdc:cdrom,r' ]
"Worked" as in the domain was created but I couldn't connect to it.
But I'll start a new thread for that problem.

On Mon, Sep 24, 2012 at 4:38 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> On Fri, 2012-09-21 at 19:35 +0100, Skippy VonDrake wrote:
>> I configured an LogicalVolume of 15G to install an XP hvm on.
>> But I don't know how to define the 'disk' configuration for the config
>> script for "xl create".
>> I also don't know the format for the cdrom disk entry.
> The xl.cfg(5) man pages references docs/misc/xl-disk-configuration.txt
> which defines the syntax. You can find this in the Xen source tree or
> online at http://xenbits.xen.org/docs/4.2-testing/ (or .../unstable/).
> One helpful tip for debugging this sort of thing is to do
>         xl -N block-attach 0 <disk-spec>
> This will print out the result of parsing disk-spec (-N == dry-run) so
> you can see if it looks like what you were trying to say.
> Ian.

Xen-users mailing list



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