AII version 2 and complex block device schemas
Version 2 of the Automated Installation Infrastructure (AII) component of Quattor, enables to configure and install hosts with complex block device schemas. Complex block device schemas may consist of combinations of for example multiple disks, (software) RAID devices and Logical Volumes. This section describes a concrete example of such a setup.
Desired Setup
The concrete example we consider is a generic server with 2 identical 500 GB SCSI disks. These disks will be operated in a software RAID-1 setup, where every partition will be mirrored on the both disks.
The server will have file systems /boot, /, /tmp, a swap partition, and a logical volume group for future file systems.
This setup is organized as follows. On every disk, there will be 4 partitions: sda1-sda4 and sdb1-sdb4. The partitions are combined in software RAID1 devices md0-md3. The /boot, / and swap file systems are placed directly on the RAID1 devices md0-md2. Device md3 will host a logical volume group called 'dom0', in which a logical volume /tmp will be created.
md0 (sda1+sdb1) /boot 256 MB md1 (sda2+sdb2) / 8 GB md2 (sda3+sdb3) swap 4 GB md3 (sda4+sdb4) LVG dom0 rest
dom0 /tmp 4 GB