Skip to contentSkip to conversation

Questions about creating virtual disks with qemu/kvm

DISCUSSION carlopmart 2 participants 2 messages Aug 30, 2009 – Aug 31, 2009 KVM

lore
Share & tools
lore

carlopmart

author
#0 lore raw

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.

Signature · 2 lines
CL Martinez
carlopmart {at} gmail {d0t} com
#1 lore raw
Quoted 7 lines · carlopmart

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.

Quoted 3 lines

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.

Signature · 1 line
error compiling committee.c: too many arguments to function