---
title: bcache-cache-set
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-2950.demos.haus/maas/docs/bcache-cache-set?format=md
---

*Submit*

# bcache-cache-set

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

## [Delete a bcache set](https://canonical-com-2950.demos.haus/maas/docs/bcache-cache-set?format=md#p-23298-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](https://canonical-com-2950.demos.haus/maas/docs/bcache-cache-set?format=md#p-23298-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](https://canonical-com-2950.demos.haus/maas/docs/bcache-cache-set?format=md#p-23298-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](https://canonical-com-2950.demos.haus/maas/docs/bcache-cache-set?format=md#p-23298-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](https://canonical-com-2950.demos.haus/maas/docs/bcache-cache-set?format=md#p-23298-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 |

---

[Previous

bcache](https://canonical-com-2950.demos.haus/maas/docs/bcache)
[Next

block-device](https://canonical-com-2950.demos.haus/maas/docs/block-device)

Last updated 1 year, 6 months ago. [Help improve this document in the forum](https://discourse.maas.io/t/bcache-cache-set/11401).
