Advice on data partition

Leon Kolchinsky lkolchin at univ.haifa.ac.il
Tue Jul 4 07:58:40 EDT 2006


Hello,

I see that there was no answer/advice here.

Does it mean that I should probably make a mirror raid (raid1) for " partition-default"?

Best Regards,
Leon

-----Original Message-----
From: info-cyrus-bounces at lists.andrew.cmu.edu [mailto:info-cyrus-bounces at lists.andrew.cmu.edu] On Behalf Of Leon Kolchinsky
Sent: Monday, July 03, 2006 12:19 PM
To: info-cyrus at lists.andrew.cmu.edu
Subject: Advice on data partition

Hello All,

My "partition-default: /var/spool/imap" was mounted on RAID5 ACCUSYS hardware raid.
It's very untrusted raid solution IMHO.

A couple of days ago one of the disks on this raid died and for some reason this freezed my system completely.

I've copied the /var/spool/imap data to my system disk.
Reconstructed all mailboxes "/usr/lib/cyrus/bin/reconstruct -rf user/*" and now mail-server seems to run normally.

Instead of this faulty raid, I've added 2 separate disks (each of 160GB).

My question is:

Should I configure these 2 disks in Raid1 (Mirror) and mount it as "/var/spool/imap" and move all mailboxes to it?

Or may be there is a better solution? May be to use one disk as "/var/spool/imap" and other for some kind of replication?
So in case of disaster it won't be needed to shut down the server, replace faulty disk and rebuild the raid, but only to switch to another disk? 


Any thoughts/suggestions/ideas and howto's are welcome.


Best Regards,
Leon Kolchinsky



----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


More information about the Info-cyrus mailing list