bcache¶
delete¶
Delete bcache on a machine.
maas $PROFILE bcache 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 bcache device on a machine.
maas $PROFILE bcache 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 bcache on a machine. Specifying both a device and a partition for a given role (cache or backing) is not allowed.
maas $PROFILE bcache 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 Bcache.
Keyword “uuid”¶
Optional String. UUID of the Bcache.
Keyword “cache_set”¶
Optional String. Cache set to replace current one.
Keyword “backing_device”¶
Optional String. Backing block device to replace current one.
Keyword “backing_partition”¶
Optional String. Backing partition to replace current one.
Keyword “cache_mode”¶
Optional String. Cache mode: WRITEBACK, WRITETHROUGH, WRITEAROUND.
Note: This command accepts JSON.
bcaches create¶
Creates a bcache. Specifying both a device and a partition for a given role (cache or backing) is not allowed.
maas $PROFILE bcaches 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 Bcache.
Keyword “uuid”¶
Optional String. UUID of the Bcache.
Keyword “cache_set”¶
Optional String. Cache set.
Keyword “backing_device”¶
Optional String. Backing block device.
Keyword “backing_partition”¶
Optional String. Backing partition.
Keyword “cache_mode”¶
Optional String. Cache mode: WRITEBACK, WRITETHROUGH, WRITEAROUND.
Note: This command accepts JSON.
bcaches read¶
List all bcache devices belonging to a machine.
maas $PROFILE bcaches 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. |