Tip

This is the documentation for the 24.06 version. Looking for the documentation of the latest version? Have a look here.

Installing TNSR Using Software RAID

This document describes the process of configuring the TNSR installer to use multiple disks via Linux software RAID. Ubuntu implements Linux Software RAID devices through the md (Multiple Devices) device driver.

  1. Follow the Installation Process until the Configure Storage step

  2. Select Custom Storage Layout

    ../_images/raid01.png

    Custom Storage Layout

  3. Select the first disk and Use As Boot Device

    ../_images/raid02.png

    Use As Boot Device

  4. Select the first disk and Add GPT Partition

    ../_images/raid03.png

    Add GPT Partition

  5. Create a new unformatted partition

    • Leave Size blank to use the full disk

    • Set Format to Leave Unformatted

    • Select Create

    ../_images/raid04.png

    Create Unformatted Partition

  6. Repeat the previous three steps for the second disk (use as boot device, add GPT partition, create a new unformatted partition)

    At this point the disks will each have a new partition and either an EFI partition or a BIOS grub spacer:

    ../_images/raid05.png

    Basic Partition Layout

  7. Select Create software raid (md)

    • Set RAID Level to 1 (mirrored)

    • Select partition 2 on each disk

    • Select Create

    ../_images/raid06.png

    RAID (MD) Disk Configuration

    The result will look like RAID Device, Ready for Use:

    ../_images/raid07.png

    RAID Device, Ready for Use

  8. Create a swap partition

    • Select md0 and Add GPT Partition

      ../_images/raid08.png

      Add GPT Partition on md0

    • Set Size to the desired size for a swap partition (e.g. 2G, 4G, etc, based on RAM size and available disk space)

    • Set Format to Swap

    • Click Create

    ../_images/raid09.png

    Create Swap Partition

  9. Create root partition

    • Select md0 and Add GPT Partition

    • Leave Size blank to use all remaining disk space

    • Set Format to an appropriate filesystem type (e.g. ext4)

    • Set Mount to /

    • Select Create

    ../_images/raid10.png

    Create Root Partition

    The final disk layout will look like Final Disk Layout:

    ../_images/raid11.png

    Final Disk Layout

  10. Select Done

  11. Select Continue to format and install

    ../_images/raid12.png

    Confirm Installation

Return to Installation Process and continue following the remaining installation instructions.