Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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.