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 am trying to set up a failover secondary MySQL server that is a mirror of my primary MySQL server using DRBD. The problem is that I am on a rackspace cloud server and I need a second partition on both the primary and secondary servers that I will replicate with DRBD. Rackspace does not allow me to create a second partition. I am left with the default single partition. How can I mirror using DRBD?

share|improve this question
drbd works great but use multimaster replication with haproxy in front for load balance/failover. – Shaggy63 Jan 28 '11 at 7:31

Coincidently there is a blog post related to doing this by a Rackspace employee:

share|improve this answer
wow. thanks. that's hardcore. I will look into it. – Richard Castle Jan 4 '11 at 19:35

You cannot if you can't make add another partition or change a currently mounted partition..

My not look into mysql replication?

share|improve this answer
Because this is a wordpress install and all that is needed is failover. This is a very large install and didn't want to get into hyperDB because it is not compatible with w3 total cache. . .Has anyone had experience with MySQL proxy to separate read and write ? This would allow me to stay away from installation which I wasn't involved with from beginning. – Richard Castle Jan 4 '11 at 19:31

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.