kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Questions about creating virtual disks with qemu/kvm
@ 2009-08-30  7:58 carlopmart
  2009-08-31  9:42 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: carlopmart @ 2009-08-30  7:58 UTC (permalink / raw)
  To: kvm

Hi all,

  I hava some doubts about creating virtual disks under qemu/kvm:

  a) is it possible to share disks between virtual guests like vmware 
server, esx and xen does?? for example to setup a virtual cluster with 
two or more nodes using Red Hat Cluster Suite.

  b) Can I split virtual disks with some determined length? For example 
create an 8 GB virtual disk split on 2GB files with or without 
allocating all disk space ...

  Many thanks.

-- 
CL Martinez
carlopmart {at} gmail {d0t} com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Questions about creating virtual disks with qemu/kvm
  2009-08-30  7:58 Questions about creating virtual disks with qemu/kvm carlopmart
@ 2009-08-31  9:42 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2009-08-31  9:42 UTC (permalink / raw)
  To: carlopmart; +Cc: kvm

On 08/30/2009 10:58 AM, carlopmart wrote:
> Hi all,
>
>  I hava some doubts about creating virtual disks under qemu/kvm:
>
>  a) is it possible to share disks between virtual guests like vmware 
> server, esx and xen does?? for example to setup a virtual cluster with 
> two or more nodes using Red Hat Cluster Suite.
>

Yes.  Be sure to use raw files with cache=none.

>  b) Can I split virtual disks with some determined length? For example 
> create an 8 GB virtual disk split on 2GB files with or without 
> allocating all disk space ...
>

It's possible with device-mapper and loopback but I wouldn't recommend it.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-31  9:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-30  7:58 Questions about creating virtual disks with qemu/kvm carlopmart
2009-08-31  9:42 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).