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

This question already has an answer here:

We recently had a harddisk failure on our mail server (debian/postfix/courier) so I'm researching a way to build redundancy.

The first way I found was to setup multiple mx Records in the DNS Server so that the second Mailserver jumps in when the first fails. While this is easy to build it's not what I have in mind for redundancy.

The second one is to use a third box which provides a NFS share where the Mailboxes are stored. This isn't really an option, because it provides a single point of failure like a standalone Mailserver.

I would like to have a way to synchronize the two servers, so that, if the first Mailserver fails, the enduser doesn't notice there had been a failure. (Mails still in the IMAP Mailbox etc.)

Any chance?

share|improve this question

marked as duplicate by masegaloeh, Ward, Katherine Villyard, TheCleaner, Andrew Schulman Jan 19 '15 at 17:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 1 down vote accepted

You should setup a disk redundancy system. You have two immediate solutions :

  1. You use RAID 1 or RAID 10 to mirror your disks
  2. You have now multiple mail server so you can use DRBD to synchronize the disks over the network. ->
share|improve this answer
Thank you for your reply. The failing Mailserver had a RAID 1 configuration. Strangely the S-ATA controller seemed to fail. It only recovered after a complete power down (reset didn't help). I will definitely look into the DRBD solution. – Christoph Winkler Aug 29 '11 at 7:09
Expect to run into problems trying to use DRBD for replication - particularly for anything other than maildir/mailbox storage. – symcbean Aug 29 '11 at 11:36
I indeed start from the postulate that he will not try to sync the operating system but just the storage partition ! – DrGkill Aug 29 '11 at 15:22

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