Disk layout

From Halon, SMTP software for hosting providers
Revision as of 10:03, 14 June 2017 by Fredrik (talk | contribs) (Growing storage disk)
Jump to: navigation, search

In order to provide reliable updates and simple maintenance, each Halon platform node consists of four partitions, listed in the table below.

  1. The recovery OS takes care of the actual software update procedure (overwriting the system partition). It is always read-only, and never updated in itself.
  2. The system partition (mounted read-only during normal operation) contains the actual Halon software, which is a complete software distribution (operating system, based on FreeBSD). The system partition completely overwritten with each update.
  3. The configuration partition contains the revision-managed configuration file. This partition is, of course, not touched during updates. Because the system (first three partitions) can reside on a SLC or MLC flash memory (such as a CompactFlash card or USB stick), writes to this partition are as infrequent as possible.
  4. The storage partition is used for all large files and heavy write operations, such as mail queue, swap, virus definitions, logs, and much more. If the system is booted on for example a USB stick, this partition should be on a separate disk.
Partition # Partition label Mount Function Read/write Size
1 halonrecovery Recovery OS Always read-only 20 MB
2 halonsystem / System Read-only 250 MB (approx.)
3 halonconfig /cfg Configuration Infrequent writes 20 MB
4 /storage Storage and swap Heavy IO Configurable, can also be on a separate disk

Growing storage disk

If you're running on a hypervisor, you can grow the storage disk under "Hosts -> System -> Disks".