Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've setup a drbd replication between two machines and used a drbd block device as storage for a kvm machine. Everything is running well. However I'm in doubt if this setup is ok to use. From what I've read so far on the internet, people tend to use drbd->ocfs2->qcow2_file as storage for their virtual machines.

share|improve this question
How do you mean you've set up the storage? A single kvm machine, how does it connect to the storage device? If it's only connecting to one of the drbd nodes and the other one is for failover or DR then there's no problem... – Oskar Duveborn Apr 23 '10 at 11:12

We use DRBD in production with KVM, works like a charm. We also use it without a filesystem, so the setup is very similar.

share|improve this answer

No reason to use qcow2 unless you're taking snapshots, the raw format is faster.
DRBD is not something I'd trust in production. If you have a centralised storage, NFS should be enough, or if you prefer block storage - use LVM and switch a host access rights with lvchange

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.