---
title: raid
description: Canonical makes open source secure, reliable and easy to use, providing
  support for Ubuntu and a portfolio of enterprise-grade technologies. Founded in
  2004, Canonical operates globally with team members in over 80 countries.
url: https://canonical-com-2934.demos.haus/maas/docs/raid?format=md
---

*Submit*

# raid

Enter keyword arguments in the form `key=value`.

## [Delete a RAID](https://canonical-com-2934.demos.haus/maas/docs/raid?format=md#p-23249-delete-a-raid)

```
maas $PROFILE raid delete [--help] [-d] [-k] system_id id [data ...]
```

#### Positional arguments

* system\_id
* id

Delete a RAID with the given id on a machine with the given system\_id.

#### Command-line options

| Option | Effect |
| --- | --- |
| –help, -h | Show this help message and exit. |
| -d, --debug | Display more information about API responses. |
| -k, --insecure | Disable SSL certificate check |

## [Read a RAID](https://canonical-com-2934.demos.haus/maas/docs/raid?format=md#p-23249-read-a-raid)

```
maas $PROFILE raid read [--help] [-d] [-k] system_id id [data ...]
```

#### Positional arguments

* system\_id
* id

Read RAID with the given id on a machine with the given system\_id.

#### Command-line options

| Option | Effect |
| --- | --- |
| –help, -h | Show this help message and exit. |
| -d, --debug | Display more information about API responses. |
| -k, --insecure | Disable SSL certificate check |

## [Update a RAID](https://canonical-com-2934.demos.haus/maas/docs/raid?format=md#p-23249-update-a-raid)

```
maas $PROFILE raid update [--help] [-d] [-k] system_id id [data ...]
```

#### Positional arguments

* system\_id
* id

Update a RAID with the given id on a machine with the given system\_id.

#### Keyword “name”

Optional String. Name of the RAID.

#### Keyword “uuid”

Optional String. UUID of the RAID.

#### Keyword “add\_block\_devices”

Optional String. Block devices to add to the RAID.

#### Keyword “remove\_block\_devices”

Optional String. Block devices to remove from the RAID.

#### Keyword “add\_spare\_devices”

Optional String. Spare block devices to add to the RAID.

#### Keyword “remove\_spare\_devices”

Optional String. Spare block devices to remove from the RAID.

#### Keyword “add\_partitions”

Optional String. Partitions to add to the RAID.

#### Keyword “remove\_partitions”

Optional String. Partitions to remove from the RAID.

#### Keyword “add\_spare\_partitions”

Optional String. Spare partitions to add to the RAID.

#### Keyword “remove\_spare\_partitions”

Optional String. Spare partitions to remove from the RAID.

#### Command-line options

| Option | Effect |
| --- | --- |
| –help, -h | Show this help message and exit. |
| -d, --debug | Display more information about API responses. |
| -k, --insecure | Disable SSL certificate check |

## [Set up a RAID](https://canonical-com-2934.demos.haus/maas/docs/raid?format=md#p-23249-set-up-a-raid)

```
maas $PROFILE raids create [--help] [-d] [-k] system_id [data ...]
```

#### Positional arguments

* system\_id

Set up a RAID on a machine with the given system\_id.

#### Keyword “name”

Optional String. Name of the RAID.

#### Keyword “uuid”

Optional String. UUID of the RAID.

#### Keyword “level”

Required Int. RAID level.

#### Keyword “block\_devices”

Optional String. Block devices to add to the RAID.

#### Keyword “spare\_devices”

Optional String. Spare block devices to add to the RAID.

#### Keyword “partitions”

Optional String. Partitions to add to the RAID.

#### Keyword “spare\_partitions”

Optional String. Spare partitions to add to the RAID.

#### Command-line options

| Option | Effect |
| --- | --- |
| –help, -h | Show this help message and exit. |
| -d, --debug | Display more information about API responses. |
| -k, --insecure | Disable SSL certificate check |

## [List all RAIDs](https://canonical-com-2934.demos.haus/maas/docs/raid?format=md#p-23249-list-all-raids)

```
maas $PROFILE raids read [--help] [-d] [-k] system_id [data ...]
```

#### Positional arguments

* system\_id

List all RAIDs belonging to a machine with the given system\_id.

#### Command-line options

| Option | Effect |
| --- | --- |
| –help, -h | Show this help message and exit. |
| -d, --debug | Display more information about API responses. |
| -k, --insecure | Disable SSL certificate check |

---

[Previous

rack-controller](https://canonical-com-2934.demos.haus/maas/docs/cli-rack-controller)
[Next

refresh](https://canonical-com-2934.demos.haus/maas/docs/refresh)

Last updated 1 year, 5 months ago. [Help improve this document in the forum](https://discourse.maas.io/t/raid/11369).
