
Availability
Custom disk layouts require a server with at least two disks and an operating system that supports software RAID. They are not available for iPXE installs or instant deployments. Use the /plans endpoint to check compatibility.| RAID 0 | RAID 1 | |
|---|---|---|
| Disks required | 2+ | 2+ |
| Operating Systems supported | - Ubuntu 16.04 LTS or newer - CentOS 7.4 or newer - RedHat Enterprise Linux 8.4 | - Ubuntu 16.04 LTS or newer - CentOS 7.4 or newer - RedHat Enterprise Linux 8.4 |
| RAID Type | Software | Software |
| What it does | Combines two or more disks by striping data across them. Read more | Mirrors data between two or more disks. Read more |
Custom disk layout
Enable Custom disk layout to split your server’s disks into up to three groups, each with its own role:| Group | Purpose | What you can set |
|---|---|---|
| OS | The boot and root volume where the operating system is installed. | Number of disks, RAID level |
| Storage | An additional data volume, formatted and mounted at a path you choose. | Number of disks, RAID level, mount point |
| Raw | Unformatted disks left untouched for you to partition yourself after provisioning. | Number of disks |
- Each group’s RAID level can be No RAID, RAID 0, or RAID 1. RAID 0 and RAID 1 require at least two disks within that group.
- The Storage group is formatted with the filesystem
ext4and mounted at the mount point you choose, which defaults to/data. - Use Quick apply to fill the entire layout with a sensible default at a single RAID level (see Default configuration).
disk_layout array to the create server and reinstall endpoints. Each entry sets a role (os, storage, or raw), a disk count, and — where applicable — a raid_level and mount_point.
For infrastructure-as-code workflows, the Latitude.sh Terraform provider supports custom disk layouts through the disk_layout attribute on a latitudesh_server resource. Each disk group accepts the same fields as the API — a role, a disk count, and, where applicable, a raid_level and mount_point. The disk_layout attribute is mutually exclusive with the simpler raid attribute, and changing it triggers a reinstall, so the server must allow reinstalls. See the provider documentation for the full attribute schema.
Default configuration
When you apply a simple RAID level — either with Quick apply in the custom disk layout editor, or by deploying without customizing the layout — disks are grouped automatically based on how many the server has:| # of disks | No RAID | RAID-1 | RAID-0 |
|---|---|---|---|
| 1 | No raid | No raid | No raid |
| 2 | No raid | RAID-1 on the two disks | RAID-0 on the two disks |
| 3 | No raid | RAID-1 on the three disks | RAID-0 on the three disks |
| 4 or More | RAID-1 on smaller disks, no raid on the larger disks | RAID-1 on the two smaller disks, and RAID-1 on the larger disks | RAID-1 on the two smaller disks, and RAID-0 on the larger disks |