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

bcache-cache-set

Enter keyword arguments in the form key=value.

Delete a bcache set

maas $PROFILE bcache-cache-set delete [--help] [-d] [-k] system_id id [data ...]

Positional arguments

  • system_id
  • id

Delete bcache cache set on a machine.

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 bcache cache set

maas $PROFILE bcache-cache-set read [--help] [-d] [-k] system_id id [data ...]

Positional arguments

  • system_id
  • id

Read bcache cache set on a machine.

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 bcache set

maas $PROFILE bcache-cache-set update [--help] [-d] [-k] system_id id [data ...]

Positional arguments

  • system_id
  • id

Update bcache cache set on a machine.

Note: specifying both a cache_device and a cache_partition is not allowed.

Keyword “cache_device”

Optional String. Cache block device to replace current one.

Keyword “cache_partition”

Optional String. Cache partition to replace current one.

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

Creates a bcache cache set

maas $PROFILE bcache-cache-sets create [--help] [-d] [-k] system_id [data ...]

Positional arguments

  • system_id

Creates a bcache cache set.

Note: specifying both a cache_device and a cache_partition is not allowed.

Keyword “cache_device”

Optional String. Cache block device.

Keyword “cache_partition”

Optional String. Cache partition.

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 bcache sets

maas $PROFILE bcache-cache-sets read [--help] [-d] [-k] system_id [data ...]

Positional arguments

  • system_id

List all bcache cache sets belonging to a machine.

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.