raid¶
delete¶
Delete a RAID with the given id on a machine with the given system_id.
maas $PROFILE raid delete [--help] [-d] [-k] system_id id
Positional arguments¶
Argument |
Effect |
|---|---|
system_id |
The system ID of the machine/device (e.g., |
id |
The ID of the resource (e.g., |
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¶
Read RAID with the given id on a machine with the given system_id.
maas $PROFILE raid read [--help] [-d] [-k] system_id id
Positional arguments¶
Argument |
Effect |
|---|---|
system_id |
The system ID of the machine/device (e.g., |
id |
The ID of the resource (e.g., |
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¶
Update a RAID with the given id on a machine with the given system_id.
maas $PROFILE raid update [--help] [-d] [-k] system_id id [data ...]
Positional arguments¶
Argument |
Effect |
|---|---|
system_id |
The system ID of the machine/device (e.g., |
id |
The ID of the resource (e.g., |
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. |
Keywords¶
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.
Note: This command accepts JSON.
raids create¶
Set up a RAID on a machine with the given system_id.
maas $PROFILE raids create [--help] [-d] [-k] system_id [data ...]
Positional arguments¶
Argument |
Effect |
|---|---|
system_id |
The system ID of the machine/device (e.g., |
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. |
Keywords¶
Keyword “name”¶
Optional String. Name of the RAID.
Keyword “uuid”¶
Optional String. UUID of the RAID.
Keyword “level”¶
Optional 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.
Note: This command accepts JSON.
raids read¶
List all RAIDs belonging to a machine with the given system_id.
maas $PROFILE raids read [--help] [-d] [-k] system_id
Positional arguments¶
Argument |
Effect |
|---|---|
system_id |
The system ID of the machine/device (e.g., |
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. |