SoftwareRaidArray
Software RAID configuration.
The RAID array will be created using the mdadm
package. During a clean install, all the existing RAID arrays that are on disks defined in the Host Configuration will be unmounted, and then stopped.
The RAID arrays that are defined in the Host Configuration will be created, and mounted if requested in the storage.filesystems
config.
To learn more about RAID, please refer to the RAID wiki.
To learn more about mdadm
, please refer to the mdadm guide.
Characteristic | Value |
---|---|
Type | object |
Properties
devices
(required)
Devices that will be used for the RAID array.
See the reference links for picking the right number of devices. Devices are partition IDs from the disks
section.
Characteristic | Value |
---|---|
Type | array |
-
Items of the array must have the type:
Characteristic Value Type string
Format Block Device ID
id
(required)
A unique identifier for the RAID array.
This is a user-defined string that links the RAID array to the filesystems
config in the configuration. The identifier must be unique across devices of all types in the Host Configuration.
Characteristic | Value |
---|---|
Type | string |
Format | Block Device ID |
level
(required)
RAID level.
raid1
is supported and tested.
Other possible values yet to be tested are: raid0
, raid5
, raid6
, raid10
.
Characteristic | Value |
---|---|
Type | RaidLevel |
Link | RaidLevel |
name
(required)
Name of the RAID array.
This is used to reference the RAID array on the system. For example, some-raid
will result in /dev/md/some-raid
on the system.
Characteristic | Value |
---|---|
Type | string |