---
title: vmfs-datastore
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-2934.demos.haus/maas/docs/vmfs-datastores?format=md
---

*Submit*

# vmfs-datastore

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

## [Delete the specified VMFS datastore.](https://canonical-com-2934.demos.haus/maas/docs/vmfs-datastores?format=md#p-1563-delete-the-specified-vmfs-datastore)

```
maas $PROFILE vmfs-datastore delete [--help] [-d] [-k] system_id id [data ...]
```

#### Positional arguments

* system\_id
* id

Delete a VMFS datastore with the given id from the 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 VMFS datastore.](https://canonical-com-2934.demos.haus/maas/docs/vmfs-datastores?format=md#p-1563-read-a-vmfs-datastore)

```
maas $PROFILE vmfs-datastore read [--help] [-d] [-k] system_id id [data ...]
```

#### Positional arguments

* system\_id
* id

Read a VMFS datastore with the given id on the 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 VMFS datastore.](https://canonical-com-2934.demos.haus/maas/docs/vmfs-datastores?format=md#p-1563-update-a-vmfs-datastore)

```
maas $PROFILE vmfs-datastore update [--help] [-d] [-k] system_id id [data ...]
```

#### Positional arguments

* system\_id
* id

Update a VMFS datastore with the given id on the machine with the given system\_id.

#### Keyword “name”

Optional String. Name of the VMFS datastore.

#### Keyword “uuid”

Optional String. UUID of the VMFS datastore.

#### Keyword “add\_block\_devices”

Optional String. Block devices to add to the VMFS datastore.

#### Keyword “add\_partitions”

Optional String. Partitions to add to the VMFS datastore.

#### Keyword “remove\_partitions”

Optional String. Partitions to remove from the VMFS datastore.

#### 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 |

## [Create a VMFS datastore.](https://canonical-com-2934.demos.haus/maas/docs/vmfs-datastores?format=md#p-1563-create-a-vmfs-datastore)

```
maas $PROFILE vmfs-datastores create [--help] [-d] [-k] system_id [data ...]
```

#### Positional arguments

* system\_id

Create a VMFS datastore belonging to a machine with the given system\_id.

Note that at least one valid block device or partition is required.

#### Keyword “name”

Required String. Name of the VMFS datastore.

#### Keyword “uuid”

Optional String. (optional) UUID of the VMFS group.

#### Keyword “block\_devices”

Optional String. Block devices to add to the VMFS datastore.

#### Keyword “partitions”

Optional String. Partitions to add to the VMFS datastore.

#### 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 VMFS datastores.](https://canonical-com-2934.demos.haus/maas/docs/vmfs-datastores?format=md#p-1563-list-all-vmfs-datastores)

```
maas $PROFILE vmfs-datastores read [--help] [-d] [-k] system_id [data ...]
```

#### Positional arguments

* system\_id

List all VMFS datastores 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 |

---

[Previous

vm-cluster](https://canonical-com-2934.demos.haus/maas/docs/vm-cluster)
[Next

vm-host](https://canonical-com-2934.demos.haus/maas/docs/vm-host)

Last updated 1 year, 4 months ago. [Help improve this document in the forum](https://discourse.maas.io/t/vmfs-datastore/780).
