Software RAID in FreeBSD

Introduction

FreeBSD provides a helpful tool to manage software RAID with ATA deivces. This tool provides features such as hot swapping ATA RAID devices, which was previously unheard of. This functionality and features will be elaborated here, but caution should be taken as software RAID IS NOT an adequate replacement for hardware RAID. Continue reading Software RAID in FreeBSD

How to restore a corrupt mailboxes.db file for Cyrus IMAP

Introduction

Every once in a while, Cyrus IMAP will die due to a failure in the mailboxes.db file database data. This problem is typically cause by a read/write failure to the mailboxes.db file, which can occur from situations like a power outage during a write to the file. This can lead to corrupt database indexing data in the file. The solution is to process the file as a flat file and extract the valuable data. Since we are aware of the cyrus IMAP mailboxes.db database schema, we can achieve this goal through a script. The following lists the necessary steps to take to extract and rebuild your mailboxes.db file. Continue reading How to restore a corrupt mailboxes.db file for Cyrus IMAP