Re: XEN: xen-create-image with more than one disk

2007-10-23 Thread Steve Kemp
On Tue Oct 23, 2007 at 15:55:57 +0200, Klaus R?del wrote:

> i'm a xen newby and want to create a xen image with more than one disk
> but i found nothing about this? is it actually possible?

  Yes, if you're using sid/lenny.  No if you're using Etch (unless
 you use the backported package at http://apt.steve.org.uk/ )

  Read the manpage and pay attention to the section entitled
 'PARTITIONING'.

> one my physical system i have two partitions on my hard disks, one has
> the file system type ext3 and the other xfs. Now i want to create a
> xen image where the system data is on the ext3 partition and a data
> partition is on the xfs partition.

  That isn't possible.  Mutiple disks are supported, as described
 above, but they are assumed to come from the same LVM group,
 EVSM group, or physical disk.  You could probably cheat and use
 symlinks though .

Steve
-- 
# Commercial Debian GNU/Linux Support
http://www.linux-administration.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XEN: xen-create-image with more than one disk

2007-10-23 Thread Martin Marcher
2007/10/23, Klaus Rödel <[EMAIL PROTECTED]>:
> Hello,
>
> i'm a xen newby and want to create a xen image with more than one disk
> but i found nothing about this? is it actually possible?

Here's an example config from a multi disk xen image with the
"partitions" coming from LVM:

--snip--
kernel = "/kernelImage"
memory = 512
name = "com.example.shares"
vif = ['mac=00:16:3e:01:00:17,bridge=lanbr0',
'mac=00:16:3e:01:00:18,bridge=xenbr0']
disk = ['phy:vg01/com.example.shares.root,sda1,w', \
'phy:vg01/com.example.shares.usr,sda2,w', \
'phy:vg01/com.example.shares.var,sda3,w', \
'phy:vg01/com.example.shares.home,sda4,w', \
'phy:vg01/com.example.shares.scratch,sda5,w', \
'phy:vg01/com.example.shares.backup,sda6,w', \
'phy:vg01/com.example.shares.data,sda7,w', \
'phy:vg01/com.example.shares.holdingdisk,sda8,w']
#'phy:vg01/com.example.shares.music,sda9,w']
root = "/dev/sda1 ro"
--snap--

so yes it can be done

-- 
http://noneisyours.marcher.name
http://feeds.feedburner.com/NoneIsYours


XEN: xen-create-image with more than one disk

2007-10-23 Thread Klaus Rödel

Hello,

i'm a xen newby and want to create a xen image with more than one disk
but i found nothing about this? is it actually possible?
Here my szenario:
one my physical system i have two partitions on my hard disks, one has
the file system type ext3 and the other xfs. Now i want to create a
xen image where the system data is on the ext3 partition and a data
partition is on the xfs partition.
so is it possible to create an image and say something like this:
image disk one (hda) = /mount/ext3/ext3disk and image disk two (hdb)
= /mount/xfs/xfsdisk?

greetz Klaus


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]