Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

An error occurred while submitting your form. Please try again or file a bug report. Close

raid

Enter keyword arguments in the form key=value.

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

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

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

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

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

Last updated 3 months ago. Help improve this document in the forum.